ionic-vhframeworks 4.3.2 → 4.3.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.
- 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 +19 -6
- package/package.json +1 -1
|
@@ -8994,6 +8994,9 @@ export declare class VhQuerySales {
|
|
|
8994
8994
|
* @param message
|
|
8995
8995
|
*/
|
|
8996
8996
|
sendImageToAppCare(image: string): Promise<unknown>;
|
|
8997
|
+
/**
|
|
8998
|
+
* Hàm này chạy sau hàm đăng nhập hoặc xác thực đăng nhập vào phần mềm
|
|
8999
|
+
*/
|
|
8997
9000
|
startLocalStorage(): Promise<any>;
|
|
8998
9001
|
initPurchase(): void;
|
|
8999
9002
|
private initPaymentOnAPPStore;
|
|
@@ -10777,17 +10780,17 @@ export declare class VhQuerySales {
|
|
|
10777
10780
|
/**
|
|
10778
10781
|
* @example:
|
|
10779
10782
|
* let print_page = this.vhQuerySales.getLocalPrintPage('page_desktop_sales');
|
|
10780
|
-
* @param
|
|
10783
|
+
* @param print_page_type
|
|
10781
10784
|
* @return Object => obj = {} or null
|
|
10782
10785
|
*/
|
|
10783
|
-
getLocalPrintPage(
|
|
10786
|
+
getLocalPrintPage(print_page_type: string): any;
|
|
10784
10787
|
/**
|
|
10785
10788
|
* @example:
|
|
10786
10789
|
* let pagesize = this.vhQuerySales.getLocalDefaultPageSize('page_desktop_sales');
|
|
10787
|
-
* @param
|
|
10790
|
+
* @param print_page_type
|
|
10788
10791
|
* @return Object => obj = {} or null
|
|
10789
10792
|
*/
|
|
10790
|
-
getLocalDefaultPageSize(
|
|
10793
|
+
getLocalDefaultPageSize(print_page_type: string): any;
|
|
10791
10794
|
/**
|
|
10792
10795
|
* @example:
|
|
10793
10796
|
* this.vhQuerySales.addPrintPage('page_desktop_sales', {name:'camera 2', quantity:20, price:200000})
|
|
@@ -10799,7 +10802,7 @@ export declare class VhQuerySales {
|
|
|
10799
10802
|
* @param data
|
|
10800
10803
|
* Promise => object = {} Luu ý: chỉ có 2 trường hợp, hoặc là thêm thành công, hoặc là báo lỗi error
|
|
10801
10804
|
*/
|
|
10802
|
-
addPrintPage(
|
|
10805
|
+
addPrintPage(print_page_type: string, data: any): Promise<unknown>;
|
|
10803
10806
|
/**
|
|
10804
10807
|
* @example:
|
|
10805
10808
|
* this.vhQuerySales.updatePrintPage('5fb6780ca2148e09806c5b01', {quantity:400})
|
|
@@ -10813,6 +10816,16 @@ export declare class VhQuerySales {
|
|
|
10813
10816
|
* @return Promise => bool = true or false
|
|
10814
10817
|
*/
|
|
10815
10818
|
updatePrintPage(id_print_page: string, data: object): Promise<unknown>;
|
|
10819
|
+
/**
|
|
10820
|
+
* @example:
|
|
10821
|
+
* this.vhQuerySales.deletePrintPage('5fb67fda87c0f21d484cbdf3')
|
|
10822
|
+
.then((bool)=>{
|
|
10823
|
+
console.log('deletePrintPage', bool);
|
|
10824
|
+
})
|
|
10825
|
+
* @param id_print_page
|
|
10826
|
+
* @return Promise => bool = true or false
|
|
10827
|
+
*/
|
|
10828
|
+
deletePrintPage(id_print_page: string): Promise<unknown>;
|
|
10816
10829
|
/**
|
|
10817
10830
|
* @example
|
|
10818
10831
|
* this.vhQuerySales.getPrintPages()
|
|
@@ -10821,7 +10834,7 @@ export declare class VhQuerySales {
|
|
|
10821
10834
|
})
|
|
10822
10835
|
* @return array(object) = [{},{},..]
|
|
10823
10836
|
*/
|
|
10824
|
-
|
|
10837
|
+
getPrintPages(): Promise<unknown>;
|
|
10825
10838
|
/**
|
|
10826
10839
|
* Hàm này dùng để thực hiện trừ hàng hóa trong nhiều Payment_Card
|
|
10827
10840
|
* Hàm chạy ổn định anh sẽ thêm phần trừ số lượng hàng hóa đã sử dụng trong payment_card_code
|