ionic-vhframeworks 3.7.4 → 3.7.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 +20 -16
- package/package.json +1 -1
|
@@ -1007,7 +1007,7 @@ export declare class VhQueryCafe {
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @Nghiệp vụ tạo (bill_type 5->1), hủy đơn hàng bán món ăn (dùng hàm)
|
|
1009
1009
|
* {createBill, getBill} -> {createBill_detail, updateBill_detail, deleteBill_detail} -> {saveBill_Billdetail, deleteBill_Billdetail}
|
|
1010
|
-
* @Nghiệp cập nhật hóa đơn bán hàng món ăn (dùng hàm)
|
|
1010
|
+
* @Nghiệp vụ cập nhật hóa đơn bán hàng món ăn (dùng hàm)
|
|
1011
1011
|
* {getBill, getBill_Billdetail} -> {updateBill_Billdetail}
|
|
1012
1012
|
* @Nghiệp vụ tạo, cập nhật, hủy đơn xuất nhập nguyên liệu (dùng hàm)
|
|
1013
1013
|
* {createBill_Billdetail} -> {updateBill_Billdetail, deleteBill_Billdetail}
|
|
@@ -2917,7 +2917,7 @@ export declare class VhQueryCafe {
|
|
|
2917
2917
|
/**
|
|
2918
2918
|
* hàm này chỉ dùng cho trường hợp bill đã lưu rồi mà muốn sửa
|
|
2919
2919
|
* @example
|
|
2920
|
-
this.vhQueryCafe.
|
|
2920
|
+
this.vhQueryCafe.updateBill_Billdetail('SzyEYNN39Mq90NkzUFpz',{},[{},{},...])
|
|
2921
2921
|
.then(()=>{
|
|
2922
2922
|
console.log("success");
|
|
2923
2923
|
})
|
|
@@ -6685,16 +6685,16 @@ export declare class VhEcommerce {
|
|
|
6685
6685
|
*/
|
|
6686
6686
|
signOutShopee(id_shop: string): Promise<unknown>;
|
|
6687
6687
|
/**
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
refreshLocalProductListShopee(id_branch: string): any;
|
|
6688
|
+
* @example:
|
|
6689
|
+
* let id_branch = this.vhQuerySales.getDefaultBranch()._id;
|
|
6690
|
+
* this.vhEcommerce.refreshLocalProductListShopee(id_branch)
|
|
6691
|
+
.then(()=>{
|
|
6692
|
+
do something.....
|
|
6693
|
+
})
|
|
6694
|
+
* Hàm này refresh giá trị mới nhất cho hàm getProductListSendo() trong localstorage
|
|
6695
|
+
* @return Promise => null
|
|
6696
|
+
*/
|
|
6697
|
+
refreshLocalProductListShopee(id_branch: string, shop_id?: string): any;
|
|
6698
6698
|
/**
|
|
6699
6699
|
* let localshoplistshopee = this.vhEcommerce.getlocalShopListShopee();
|
|
6700
6700
|
* @returns
|
|
@@ -6710,6 +6710,7 @@ export declare class VhEcommerce {
|
|
|
6710
6710
|
* @returns
|
|
6711
6711
|
*/
|
|
6712
6712
|
private getProductListShopee;
|
|
6713
|
+
private getProductListShopees;
|
|
6713
6714
|
/**
|
|
6714
6715
|
* @example:
|
|
6715
6716
|
* let productlistlazada = this.vhEcommerce.getlocalProductListShopee('ư0e4tuiwe98rhvqw9vtqw9t7rq987r9qvwn98et98');
|
|
@@ -7237,7 +7238,7 @@ export declare class VhQuerySales {
|
|
|
7237
7238
|
* Hàm này refresh giá trị mới nhất cho hàm getlocalProductListTiki() trong localstorage
|
|
7238
7239
|
* @return Promise => null
|
|
7239
7240
|
*/
|
|
7240
|
-
refreshLocalProductListTikis(): any;
|
|
7241
|
+
refreshLocalProductListTikis(shop_id?: string): any;
|
|
7241
7242
|
/**
|
|
7242
7243
|
* @example:
|
|
7243
7244
|
this.vhQuerySales.getProductListTikis().then((list)=>{
|
|
@@ -7245,6 +7246,7 @@ export declare class VhQuerySales {
|
|
|
7245
7246
|
})
|
|
7246
7247
|
* @returns Promise => array =[{},{},...]
|
|
7247
7248
|
*/
|
|
7249
|
+
private getProductListTiki;
|
|
7248
7250
|
private getProductListTikis;
|
|
7249
7251
|
/**
|
|
7250
7252
|
* @example:
|
|
@@ -7414,7 +7416,7 @@ export declare class VhQuerySales {
|
|
|
7414
7416
|
* Hàm này refresh giá trị mới nhất cho hàm getlocalProductListLazada() trong localstorage
|
|
7415
7417
|
* @return Promise => null
|
|
7416
7418
|
*/
|
|
7417
|
-
refreshLocalProductListLazadas(): any;
|
|
7419
|
+
refreshLocalProductListLazadas(shop_id?: string): any;
|
|
7418
7420
|
/**
|
|
7419
7421
|
* @example:
|
|
7420
7422
|
this.vhQuerySales.getProductListLazadas().then((list)=>{
|
|
@@ -7422,6 +7424,7 @@ export declare class VhQuerySales {
|
|
|
7422
7424
|
})
|
|
7423
7425
|
* @returns Promise => array =[{},{},...]
|
|
7424
7426
|
*/
|
|
7427
|
+
private getProductListLazada;
|
|
7425
7428
|
private getProductListLazadas;
|
|
7426
7429
|
/**
|
|
7427
7430
|
* @example:
|
|
@@ -7813,7 +7816,7 @@ export declare class VhQuerySales {
|
|
|
7813
7816
|
* Hàm này refresh giá trị mới nhất cho hàm getProductListSendo() trong localstorage
|
|
7814
7817
|
* @return Promise => null
|
|
7815
7818
|
*/
|
|
7816
|
-
refreshLocalProductListSendo(): any;
|
|
7819
|
+
refreshLocalProductListSendo(shop_id?: string): any;
|
|
7817
7820
|
/**
|
|
7818
7821
|
* @example:
|
|
7819
7822
|
* this.vhQuerySales.getProductListSendo().then(()=>{
|
|
@@ -7823,6 +7826,7 @@ export declare class VhQuerySales {
|
|
|
7823
7826
|
* @returns
|
|
7824
7827
|
*/
|
|
7825
7828
|
private getProductListSendo;
|
|
7829
|
+
private getProductListSendos;
|
|
7826
7830
|
/**
|
|
7827
7831
|
* @example:
|
|
7828
7832
|
* this.vhQuerySales.getProductDetailSendo(['13857630'], 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTdG9yZUlkIjoiNTczNjciLCJVc2VyTmFtZSI6IiIsIlN0b3JlU3RhdHVzIjoiMiIsIlNob3BUeXBlIjoiMCIsIlN0b3JlTGV2ZWwiOiIzIiwiZXhwIjoxNjMzNjU1ODMxLCJpc3MiOiI1NzM2NyIsImF1ZCI6IjU3MzY3In0.qM6gqpf3758JrSsTL2JlDOoD-TFS1VVaGkL6ixaI_lw', '403754acaafc4564a16c19faa32d73c8').then((productdetail)=>{
|
|
@@ -9783,7 +9787,7 @@ export declare class VhQuerySales {
|
|
|
9783
9787
|
/**
|
|
9784
9788
|
* hàm này chỉ dùng cho trường hợp bill đã lưu rồi mà muốn sửa
|
|
9785
9789
|
* @example
|
|
9786
|
-
this.vhQuerySales.
|
|
9790
|
+
this.vhQuerySales.updateBill_Billdetail('SzyEYNN39Mq90NkzUFpz',{},[{},{},...])
|
|
9787
9791
|
.then(()=>{
|
|
9788
9792
|
console.log("success");
|
|
9789
9793
|
})
|