ionic-vhframeworks 4.4.1 → 4.4.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.
@@ -13141,7 +13141,7 @@ export declare class VhQuerySales {
13141
13141
  * Hàm này refresh giá trị mới nhất cho hàm getlocalPromotion(), getlocalPromotions() trong localstorage
13142
13142
  * @return Promise => null
13143
13143
  */
13144
- refreshLocalPromotions(date: any): any;
13144
+ private refreshLocalPromotions;
13145
13145
  /**
13146
13146
  * @example:
13147
13147
  * this.vhQuerySales.addPromotion({name:'Cuối tuần vui vẻ', type:2, active:true, date_start:new Date(), date_end: new Date()})
@@ -13232,11 +13232,19 @@ export declare class VhQuerySales {
13232
13232
  /**
13233
13233
  * Hàm này đổi mảng Bill_Details sang mảng Bill_Details có chương trình khuyến mãi (nếu có)
13234
13234
  * @example:
13235
- * let bill_details_display = this.vhQuerySales.changeBillDetails_toDisplay([{}, {}, {}])
13235
+ * let date = new Date();
13236
+ * this.vhQuerySales.changeBillDetails_toDisplay(bill_details, date)
13237
+ .then((bill_details_display)=>{
13238
+ console.log('bill_details_display', res);
13239
+ bill_details = [...bill_details_display];
13240
+ }, error=>{
13241
+ console.log('error', error);
13242
+ })
13236
13243
  * @param bill_details
13244
+ * @param date : thơi gian tạo hóa đơn
13237
13245
  * @return Array => array = [{},{},..]
13238
13246
  */
13239
- changeBillDetails_toDisplay(bill_details: any): any[];
13247
+ changeBillDetails_toDisplay(bill_details: any, date: any): Promise<unknown>;
13240
13248
  /**
13241
13249
  * @example:
13242
13250
  * this.vhQuerySales.addPromotion_detail({name:'promition 1'})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "4.4.1",
3
+ "version": "4.4.3",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"