ionic-vhframeworks 10.9.2 → 10.9.4

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:
@@ -6159,6 +6160,7 @@ export declare class VhQueryCafe {
6159
6160
  * @return — Array -> array = [{},{},...]
6160
6161
  */
6161
6162
  private getBill_details_byFields;
6163
+ private getBill_details_byFields_fromCache;
6162
6164
  /**
6163
6165
  * VhQueryCafe:
6164
6166
  * @example
@@ -14478,6 +14480,7 @@ export declare class VhQuerySales {
14478
14480
  * @returns
14479
14481
  */
14480
14482
  private getLocalLiveIndexDB;
14483
+ private getLocalLiveIndexDB2;
14481
14484
  private checkExpireBranch_Sales;
14482
14485
  private checkExpireBranch_Sales365;
14483
14486
  private initSyncCollections;
@@ -15200,7 +15203,7 @@ export declare class VhQuerySales {
15200
15203
  })
15201
15204
  * @return Promise => array(object) = [{},{},..]
15202
15205
  */
15203
- getCustomers(): Promise<unknown>;
15206
+ private getCustomers;
15204
15207
  /**
15205
15208
  * Hàm này dùng để xóa hoặc đặt lại điểm mới cho khách hàng
15206
15209
  * @example:
@@ -17238,6 +17241,7 @@ export declare class VhQuerySales {
17238
17241
  * @return — Array -> array = [{},{},...]
17239
17242
  */
17240
17243
  private getBill_details_byFields;
17244
+ private getBill_details_byFields_fromCache;
17241
17245
  /**
17242
17246
  * Hàm này tạo bill_code theo số thứ tự (trong ngày) của từng loại bill_type
17243
17247
  * @example:
@@ -17273,6 +17277,7 @@ export declare class VhQuerySales {
17273
17277
  * @return — Array -> array = [{},{},...]
17274
17278
  */
17275
17279
  getBills_byFields(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
17280
+ getBills_byFields_fromCache(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
17276
17281
  /**
17277
17282
  * @example:
17278
17283
  * this.vhQuerySales.createBill({name:'Cuối tuần vui vẻ', type:2, active:true, date_start:new Date(), date_end: new Date()})
@@ -19074,6 +19079,7 @@ export declare class VhQuerySales {
19074
19079
  * @returns
19075
19080
  */
19076
19081
  private get1stDayOfMonthArray;
19082
+ private get1stDayOfMonthArray_new;
19077
19083
  /**
19078
19084
  * Hàm này kiểm tra ngày tạo bill, sửa bill đã chọn có hợp lệ không
19079
19085
  * Ngày hợp lệ phải thỏa mãn:
@@ -19164,6 +19170,8 @@ export declare class VhQuerySales {
19164
19170
  * Lưu ý: giá trị này trả về dạng array
19165
19171
  */
19166
19172
  getDebtCustomers(starttime: any, endtime: any, IDcustomer: string, IDbranch?: string): Promise<any>;
19173
+ private getDebtCustomers1;
19174
+ private syncDebtEveryDay_Debt1stDayOfMonth;
19167
19175
  /**
19168
19176
  * 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
19177
  * @example:
@@ -0,0 +1,3 @@
1
+ export declare function setMeta(key: string, value: any): Promise<any>;
2
+ export declare function getMeta(key: string): Promise<any>;
3
+ export declare function deleteMeta(key: string): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.9.2",
3
+ "version": "10.9.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"