ionic-vhframeworks 10.9.2 → 10.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3047,6 +3047,7 @@ export declare class VhQueryCafe {
|
|
|
3047
3047
|
* @returns
|
|
3048
3048
|
*/
|
|
3049
3049
|
private getLocalLiveIndexDB;
|
|
3050
|
+
private getLocalLiveIndexDB2;
|
|
3050
3051
|
private initSyncCollections;
|
|
3051
3052
|
/**
|
|
3052
3053
|
* @example:
|
|
@@ -14478,6 +14479,7 @@ export declare class VhQuerySales {
|
|
|
14478
14479
|
* @returns
|
|
14479
14480
|
*/
|
|
14480
14481
|
private getLocalLiveIndexDB;
|
|
14482
|
+
private getLocalLiveIndexDB2;
|
|
14481
14483
|
private checkExpireBranch_Sales;
|
|
14482
14484
|
private checkExpireBranch_Sales365;
|
|
14483
14485
|
private initSyncCollections;
|
|
@@ -15200,7 +15202,7 @@ export declare class VhQuerySales {
|
|
|
15200
15202
|
})
|
|
15201
15203
|
* @return Promise => array(object) = [{},{},..]
|
|
15202
15204
|
*/
|
|
15203
|
-
getCustomers
|
|
15205
|
+
private getCustomers;
|
|
15204
15206
|
/**
|
|
15205
15207
|
* Hàm này dùng để xóa hoặc đặt lại điểm mới cho khách hàng
|
|
15206
15208
|
* @example:
|
|
@@ -17273,6 +17275,7 @@ export declare class VhQuerySales {
|
|
|
17273
17275
|
* @return — Array -> array = [{},{},...]
|
|
17274
17276
|
*/
|
|
17275
17277
|
getBills_byFields(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
17278
|
+
getBills_byFields_fromCache(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
17276
17279
|
/**
|
|
17277
17280
|
* @example:
|
|
17278
17281
|
* this.vhQuerySales.createBill({name:'Cuối tuần vui vẻ', type:2, active:true, date_start:new Date(), date_end: new Date()})
|
|
@@ -19074,6 +19077,7 @@ export declare class VhQuerySales {
|
|
|
19074
19077
|
* @returns
|
|
19075
19078
|
*/
|
|
19076
19079
|
private get1stDayOfMonthArray;
|
|
19080
|
+
private get1stDayOfMonthArray_new;
|
|
19077
19081
|
/**
|
|
19078
19082
|
* Hàm này kiểm tra ngày tạo bill, sửa bill đã chọn có hợp lệ không
|
|
19079
19083
|
* Ngày hợp lệ phải thỏa mãn:
|
|
@@ -19163,7 +19167,9 @@ export declare class VhQuerySales {
|
|
|
19163
19167
|
* @return JSON(Array) => json.docs = [{id, name, index, debt, payment, rest,...},{},....]
|
|
19164
19168
|
* Lưu ý: giá trị này trả về dạng array
|
|
19165
19169
|
*/
|
|
19170
|
+
getDebtCustomers1(starttime: any, endtime: any, IDcustomer: string, IDbranch?: string): Promise<any>;
|
|
19166
19171
|
getDebtCustomers(starttime: any, endtime: any, IDcustomer: string, IDbranch?: string): Promise<any>;
|
|
19172
|
+
private syncDebtEveryDay_Debt1stDayOfMonth;
|
|
19167
19173
|
/**
|
|
19168
19174
|
* lấy về 1 bảng báo cáo kiểm kho (report) theo cấu trúc json ở dưới, nếu có cân bằng kho thì lấy về chung luôn
|
|
19169
19175
|
* @example:
|