ionic-vhframeworks 4.3.1 → 4.3.4
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 -14
- package/package.json +1 -1
|
@@ -7817,7 +7817,7 @@ export declare class VhQuerySales {
|
|
|
7817
7817
|
private spending_groups;
|
|
7818
7818
|
private branchs;
|
|
7819
7819
|
private promotions;
|
|
7820
|
-
private
|
|
7820
|
+
private print_pages;
|
|
7821
7821
|
private printers;
|
|
7822
7822
|
private hwinfo;
|
|
7823
7823
|
private appsettingstations;
|
|
@@ -10776,30 +10776,30 @@ export declare class VhQuerySales {
|
|
|
10776
10776
|
private refreshLocalPrintPages;
|
|
10777
10777
|
/**
|
|
10778
10778
|
* @example:
|
|
10779
|
-
* let
|
|
10780
|
-
* @param
|
|
10779
|
+
* let print_page = this.vhQuerySales.getLocalPrintPage('page_desktop_sales');
|
|
10780
|
+
* @param print_page_type
|
|
10781
10781
|
* @return Object => obj = {} or null
|
|
10782
10782
|
*/
|
|
10783
|
-
getLocalPrintPage(
|
|
10783
|
+
getLocalPrintPage(print_page_type: string): any;
|
|
10784
10784
|
/**
|
|
10785
10785
|
* @example:
|
|
10786
10786
|
* let pagesize = this.vhQuerySales.getLocalDefaultPageSize('page_desktop_sales');
|
|
10787
|
-
* @param
|
|
10787
|
+
* @param print_page_type
|
|
10788
10788
|
* @return Object => obj = {} or null
|
|
10789
10789
|
*/
|
|
10790
|
-
getLocalDefaultPageSize(
|
|
10790
|
+
getLocalDefaultPageSize(print_page_type: string): any;
|
|
10791
10791
|
/**
|
|
10792
10792
|
* @example:
|
|
10793
10793
|
* this.vhQuerySales.addPrintPage('page_desktop_sales', {name:'camera 2', quantity:20, price:200000})
|
|
10794
|
-
.then((
|
|
10795
|
-
console.log('addPrintPage',
|
|
10794
|
+
.then((print_page)=>{
|
|
10795
|
+
console.log('addPrintPage', print_page);
|
|
10796
10796
|
}, error=>{
|
|
10797
10797
|
console.log('error', error);
|
|
10798
10798
|
})
|
|
10799
10799
|
* @param data
|
|
10800
10800
|
* 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
10801
|
*/
|
|
10802
|
-
addPrintPage(
|
|
10802
|
+
addPrintPage(print_page_type: string, data: any): Promise<unknown>;
|
|
10803
10803
|
/**
|
|
10804
10804
|
* @example:
|
|
10805
10805
|
* this.vhQuerySales.updatePrintPage('5fb6780ca2148e09806c5b01', {quantity:400})
|
|
@@ -10808,20 +10808,30 @@ export declare class VhQuerySales {
|
|
|
10808
10808
|
}, error=>{
|
|
10809
10809
|
console.log('error', error);
|
|
10810
10810
|
})
|
|
10811
|
-
* @param
|
|
10811
|
+
* @param id_print_page
|
|
10812
10812
|
* @param data
|
|
10813
10813
|
* @return Promise => bool = true or false
|
|
10814
10814
|
*/
|
|
10815
|
-
updatePrintPage(
|
|
10815
|
+
updatePrintPage(id_print_page: string, data: object): Promise<unknown>;
|
|
10816
|
+
/**
|
|
10817
|
+
* @example:
|
|
10818
|
+
* this.vhQuerySales.deletePrintPage('5fb67fda87c0f21d484cbdf3')
|
|
10819
|
+
.then((bool)=>{
|
|
10820
|
+
console.log('deletePrintPage', bool);
|
|
10821
|
+
})
|
|
10822
|
+
* @param id_print_page
|
|
10823
|
+
* @return Promise => bool = true or false
|
|
10824
|
+
*/
|
|
10825
|
+
deletePrintPage(id_print_page: string): Promise<unknown>;
|
|
10816
10826
|
/**
|
|
10817
10827
|
* @example
|
|
10818
10828
|
* this.vhQuerySales.getPrintPages()
|
|
10819
|
-
.then((
|
|
10820
|
-
console.log('getPrintPages',
|
|
10829
|
+
.then((print_pages)=>{
|
|
10830
|
+
console.log('getPrintPages', print_pages);
|
|
10821
10831
|
})
|
|
10822
10832
|
* @return array(object) = [{},{},..]
|
|
10823
10833
|
*/
|
|
10824
|
-
|
|
10834
|
+
getPrintPages(): Promise<unknown>;
|
|
10825
10835
|
/**
|
|
10826
10836
|
* Hàm này dùng để thực hiện trừ hàng hóa trong nhiều Payment_Card
|
|
10827
10837
|
* 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
|