ionic-vhframeworks 10.11.3 → 10.11.5
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.
|
@@ -3010,6 +3010,30 @@ export declare class VhQueryCafeMenu {
|
|
|
3010
3010
|
* vhQueryCafeMenu
|
|
3011
3011
|
*/
|
|
3012
3012
|
private syncRaw_Detail_ProductUpdate;
|
|
3013
|
+
/**
|
|
3014
|
+
* Hàm kiểm tra và đồng bộ các sản phẩm bị thiếu trong bill_details (chi tiết hóa đơn)
|
|
3015
|
+
* @example:
|
|
3016
|
+
* this.vhQueryCafeMenu.syncBillDetails_Products(array)
|
|
3017
|
+
.then(()=>{
|
|
3018
|
+
}, error=>{
|
|
3019
|
+
console.log('error', error);
|
|
3020
|
+
})
|
|
3021
|
+
* @param bill_details : Array
|
|
3022
|
+
* @return Promise => null
|
|
3023
|
+
* Luu ý: chỉ có 2 trường hợp, hoặc là sync thành công, hoặc là báo lỗi error
|
|
3024
|
+
*/
|
|
3025
|
+
syncBillDetails_Products(bill_details: any): Promise<any>;
|
|
3026
|
+
/**
|
|
3027
|
+
* Hàm lấy chi tiết sản phẩm dựa vào id sản phẩm hoặc id sản phẩm con
|
|
3028
|
+
* @example
|
|
3029
|
+
* this.vhQueryCafeMenu.getDetailProduct('5fb67fda87c0f21d484cbdf3')
|
|
3030
|
+
.then((product)=>{
|
|
3031
|
+
console.log('getDetailProduct', product);
|
|
3032
|
+
})
|
|
3033
|
+
* @param id_product
|
|
3034
|
+
* @return null or object
|
|
3035
|
+
*/
|
|
3036
|
+
private getDetailProduct;
|
|
3013
3037
|
/**
|
|
3014
3038
|
* Mỗi lần khách quét mã QR tại bàn để order món thì dùng hàm này để đăng nhập
|
|
3015
3039
|
* @example:
|
|
@@ -18144,6 +18168,12 @@ export declare class VhQuerySales {
|
|
|
18144
18168
|
* @return — Array -> array = [{},{},...]
|
|
18145
18169
|
*/
|
|
18146
18170
|
getLicenseKEYs(query: any, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
18171
|
+
/**
|
|
18172
|
+
* Hàm lấy webhook Url của phần mềm ViethasPOS, Sales365, XprinterPOS, ký sinh vào trang Casso
|
|
18173
|
+
* Dùng vào việc Phần mềm bán hàng tạo đơn -> khách quet mã QR thanh toán (ngân hàng mà Casso đã tích hợp) -> Casso và Phần mềm bán hàng sẽ đồng bộ và xác nhận thanh toán thành công
|
|
18174
|
+
* @returns
|
|
18175
|
+
*/
|
|
18176
|
+
getWebhookURL_Casso(): string;
|
|
18147
18177
|
/**
|
|
18148
18178
|
* Lấy về danh sách các ngân hàng (kèm logo) mà vietqr hỗ trợ tạo mã QR
|
|
18149
18179
|
* @example:
|