ionic-vhframeworks 4.0.4 → 4.0.7
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 +46 -1
- package/package.json +1 -1
|
@@ -3354,7 +3354,7 @@ export declare class VhQueryCafe {
|
|
|
3354
3354
|
* @returns Observable => bill hoặc null;
|
|
3355
3355
|
* + trả về bill là hóa đơn đó đang được sử ở thiết bị khác;
|
|
3356
3356
|
* + trả về null là hóa đơn đó đã bị xóa hoặc đã chuyển sang trạng thái bill_type khác
|
|
3357
|
-
* @notice : nhớ đóng closeSyncOpeningBill() khi thoát trang hiện tại
|
|
3357
|
+
* @notice : nhớ đóng closeSyncOpeningBill() khi thoát trang hiện tại this.vhQueryCafe.closeSyncOpeningBill();
|
|
3358
3358
|
*/
|
|
3359
3359
|
observableSyncOpeningBill(id_bill: string, bill_type: number): Observable<unknown>;
|
|
3360
3360
|
/**
|
|
@@ -12617,6 +12617,21 @@ export declare class VhQuerySales {
|
|
|
12617
12617
|
* @return Promise => obj ={} or null
|
|
12618
12618
|
*/
|
|
12619
12619
|
getCouponCode(id_coupon_code: any): Promise<unknown>;
|
|
12620
|
+
/**
|
|
12621
|
+
* hàm này trả về coupon code đã phát hành theo trường _id của voucher code. dùng trong thanh toán bằng phiếu,
|
|
12622
|
+
* trả về có cả code, name_coupon, name_coupon_release
|
|
12623
|
+
* @example:
|
|
12624
|
+
*
|
|
12625
|
+
* this.vhQuerySales.getCoupon_Code_Name_Release('OUHEDW0512'})
|
|
12626
|
+
.then((res)=>{
|
|
12627
|
+
console.log('getCoupon_Code_Name_Release', res);
|
|
12628
|
+
}, error=>{
|
|
12629
|
+
console.log('error', error);
|
|
12630
|
+
})
|
|
12631
|
+
* @param id_coupon_code: cũng chính là code
|
|
12632
|
+
* @return Promise => obj ={} or null
|
|
12633
|
+
*/
|
|
12634
|
+
getCoupon_Code_Name_Release(id_coupon_code: any): Promise<unknown>;
|
|
12620
12635
|
/**
|
|
12621
12636
|
* hàm này để đổi phiếu từ điểm của khách hàng. Đổi thành công tự động tạo lịch sử đổi điểm của khách hàng
|
|
12622
12637
|
* @example:
|
|
@@ -12949,6 +12964,21 @@ export declare class VhQuerySales {
|
|
|
12949
12964
|
* @return Promise => obj ={} or null
|
|
12950
12965
|
*/
|
|
12951
12966
|
getVoucherCode(id_voucher_code: any): Promise<unknown>;
|
|
12967
|
+
/**
|
|
12968
|
+
* hàm này trả về voucher code đã phát hành theo trường _id của voucher code. dùng trong trang bán hàng để đổi phiếu,
|
|
12969
|
+
* trả về có cả code, name_voucher, name_voucher_release
|
|
12970
|
+
* @example:
|
|
12971
|
+
*
|
|
12972
|
+
* this.vhQuerySales.getVoucher_Code_Name_Release('OUHEDW0512'})
|
|
12973
|
+
.then((res)=>{
|
|
12974
|
+
console.log('getVoucher_Code_Name_Release', res);
|
|
12975
|
+
}, error=>{
|
|
12976
|
+
console.log('error', error);
|
|
12977
|
+
})
|
|
12978
|
+
* @param id_voucher_code: cũng chính là code
|
|
12979
|
+
* @return Promise => obj ={} or null
|
|
12980
|
+
*/
|
|
12981
|
+
getVoucher_Code_Name_Release(id_voucher_code: any): Promise<unknown>;
|
|
12952
12982
|
/** Hàm này để đổi voucher từ điểm của khách hàng. Đổi thành công tự động tạo lịch sử đổi điểm của khách hàng
|
|
12953
12983
|
* @example:
|
|
12954
12984
|
* let data = [id_voucher_code]
|
|
@@ -13293,6 +13323,21 @@ export declare class VhQuerySales {
|
|
|
13293
13323
|
* @return Promise => obj = {} or null
|
|
13294
13324
|
*/
|
|
13295
13325
|
getPaymentCardCode(id_payment_card_code: any): Promise<unknown>;
|
|
13326
|
+
/**
|
|
13327
|
+
* hàm này trả về payment_card code đã phát hành theo trường _id của payment_card code. dùng trong đưa thẻ mua trước lấy sản phẩm
|
|
13328
|
+
* trả về có cả code, name_payment_card, name_payment_card_release
|
|
13329
|
+
* @example:
|
|
13330
|
+
*
|
|
13331
|
+
* this.vhQuerySales.getPaymentCard_Code_Name_Release('OUHEDW0512'})
|
|
13332
|
+
.then((res)=>{
|
|
13333
|
+
console.log('getPaymentCard_Code_Name_Release', res);
|
|
13334
|
+
}, error=>{
|
|
13335
|
+
console.log('error', error);
|
|
13336
|
+
})
|
|
13337
|
+
* @param id_payment_card_code: cũng chính là code
|
|
13338
|
+
* @return Promise => obj ={} or null
|
|
13339
|
+
*/
|
|
13340
|
+
getPaymentCard_Code_Name_Release(id_payment_card_code: any): Promise<unknown>;
|
|
13296
13341
|
/**
|
|
13297
13342
|
* không cần hàm này vì khi tạo phiếu bill_type51 đã được cập nhật
|
|
13298
13343
|
* hàm này dùng để cập nhật số lượng sản phẩm trong Payment Card khi đổi thẻ
|