ionic-vhframeworks 3.8.6 → 3.8.9
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.
- package/bundles/ionic-vhframeworks.umd.js +1 -1
- package/bundles/ionic-vhframeworks.umd.js.map +1 -1
- package/bundles/ionic-vhframeworks.umd.min.js +1 -1
- package/bundles/ionic-vhframeworks.umd.min.js.map +1 -1
- package/fesm2015/ionic-vhframeworks.js.map +1 -1
- package/ionic-vhframeworks.metadata.json +1 -1
- package/lib/ionic-vhframeworks.service.d.ts +24 -5
- package/package.json +1 -1
|
@@ -7232,6 +7232,7 @@ export declare class VhQuerySales {
|
|
|
7232
7232
|
private restriction_main_package;
|
|
7233
7233
|
private restriction_ecommerce_package;
|
|
7234
7234
|
private restriction_facebook_package;
|
|
7235
|
+
private restriction_warranty_package;
|
|
7235
7236
|
private productlistsendo;
|
|
7236
7237
|
private shoplistsendo;
|
|
7237
7238
|
private productlistlazada;
|
|
@@ -7281,7 +7282,7 @@ export declare class VhQuerySales {
|
|
|
7281
7282
|
.then((bool)=>{
|
|
7282
7283
|
console.log('bool', bool);
|
|
7283
7284
|
})
|
|
7284
|
-
* @return Promise => null
|
|
7285
|
+
* @return Promise => null/error
|
|
7285
7286
|
*/
|
|
7286
7287
|
private refreshRestrictionMainPackage;
|
|
7287
7288
|
/**
|
|
@@ -7298,7 +7299,7 @@ export declare class VhQuerySales {
|
|
|
7298
7299
|
.then((bool)=>{
|
|
7299
7300
|
console.log('bool', bool);
|
|
7300
7301
|
})
|
|
7301
|
-
* @return Promise => null
|
|
7302
|
+
* @return Promise => null/error
|
|
7302
7303
|
*/
|
|
7303
7304
|
private refreshRestrictionEcommercePackage;
|
|
7304
7305
|
/**
|
|
@@ -7326,6 +7327,23 @@ export declare class VhQuerySales {
|
|
|
7326
7327
|
*/
|
|
7327
7328
|
getLocalRestrictionFacebookPackage(): any;
|
|
7328
7329
|
/**
|
|
7330
|
+
* @description: hàm này lấy về những hạn chế của gói warranty_package (khách trả phí mua gói sử dụng warranty, mỗi gói sẽ có nhưng hạn chế khác nhau về show_report_duration)
|
|
7331
|
+
* @example
|
|
7332
|
+
* this.refreshRestrictionWarrantyPackage()
|
|
7333
|
+
.then((bool)=>{
|
|
7334
|
+
console.log('bool', bool);
|
|
7335
|
+
})
|
|
7336
|
+
* @return Promise => null
|
|
7337
|
+
*/
|
|
7338
|
+
private refreshRestrictionWarrantyPackage;
|
|
7339
|
+
/**
|
|
7340
|
+
* @description: hàm này lấy về những hạn chế của gói warranty_package trong localstorage
|
|
7341
|
+
* @example
|
|
7342
|
+
* let restriction_warranty_package = this.vhQuerySales.getLocalRestrictionWarrantyPackage();
|
|
7343
|
+
* @return Object => obj ={} or null
|
|
7344
|
+
*/
|
|
7345
|
+
getLocalRestrictionWarrantyPackage(): any;
|
|
7346
|
+
/**
|
|
7329
7347
|
* Hàm callback BÌNH LUẬN trên fanpage có id là id_fanpage
|
|
7330
7348
|
* @example:
|
|
7331
7349
|
* this.vhQuerySales.observableWebhookFeedFacebook('102622138931525').subscribe((entry:any) => {
|
|
@@ -10260,7 +10278,7 @@ export declare class VhQuerySales {
|
|
|
10260
10278
|
* @example:
|
|
10261
10279
|
* let time = new Date();
|
|
10262
10280
|
* time.setDate(time.getDate()-7);
|
|
10263
|
-
* this.vhQuerySales.getPayments({id_store:{$eq:
|
|
10281
|
+
* this.vhQuerySales.getPayments({id_store: {$eq: this.vhAuth.getUser()._id}, payment_type:{$eq:5}}, {},{},0)
|
|
10264
10282
|
.then((payments)=>{
|
|
10265
10283
|
console.log('getPayments', payments);
|
|
10266
10284
|
})
|
|
@@ -10367,8 +10385,8 @@ export declare class VhQuerySales {
|
|
|
10367
10385
|
/**
|
|
10368
10386
|
* @example:
|
|
10369
10387
|
* this.vhQuerySales.deletePayment_Detail('5fb67fda87c0f21d484cbdf3')
|
|
10370
|
-
.then((
|
|
10371
|
-
console.log('deletePayment_Detail',
|
|
10388
|
+
.then((response)=>{
|
|
10389
|
+
console.log('deletePayment_Detail', response);
|
|
10372
10390
|
},error=>{
|
|
10373
10391
|
reject(error);
|
|
10374
10392
|
})
|
|
@@ -10926,6 +10944,7 @@ export declare class VhQuerySales {
|
|
|
10926
10944
|
* @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, id_product, name, barcode, unit, img, id_customer, quantity, sales_btax, sales_atax}
|
|
10927
10945
|
*/
|
|
10928
10946
|
getReportSales_Customers_byProducts(starttime: any, endtime: any, id_customer: any, IDbranch?: string): Promise<any>;
|
|
10947
|
+
getReportSales_Customers_byProducts_Analytics(starttime: any, endtime: any, id_customer: any, IDbranch?: string): Promise<any>;
|
|
10929
10948
|
/**
|
|
10930
10949
|
* @Usage Hàm này dùng trong page DOANH SỐ KHÁCH HÀNG (layer 3) -> Chọn TẤT CẢ hoặc MỘT khách hàng -> Chọn một khách hàng trong list hiện ra -> Chọn một sản phẩm trong list tiếp theo hiện ra
|
|
10931
10950
|
* @example:
|