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.
@@ -7817,7 +7817,7 @@ export declare class VhQuerySales {
7817
7817
  private spending_groups;
7818
7818
  private branchs;
7819
7819
  private promotions;
7820
- private printpages;
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 printpage = this.vhQuerySales.getLocalPrintPage('page_desktop_sales');
10780
- * @param page_type
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(page_type: string): any;
10783
+ getLocalPrintPage(print_page_type: string): any;
10784
10784
  /**
10785
10785
  * @example:
10786
10786
  * let pagesize = this.vhQuerySales.getLocalDefaultPageSize('page_desktop_sales');
10787
- * @param page_type
10787
+ * @param print_page_type
10788
10788
  * @return Object => obj = {} or null
10789
10789
  */
10790
- getLocalDefaultPageSize(page_type: string): any;
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((printpage)=>{
10795
- console.log('addPrintPage', printpage);
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(page_type: string, data: any): Promise<unknown>;
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 id_printpage
10811
+ * @param id_print_page
10812
10812
  * @param data
10813
10813
  * @return Promise => bool = true or false
10814
10814
  */
10815
- updatePrintPage(id_printpage: string, data: object): Promise<unknown>;
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((printpages)=>{
10820
- console.log('getPrintPages', printpages);
10829
+ .then((print_pages)=>{
10830
+ console.log('getPrintPages', print_pages);
10821
10831
  })
10822
10832
  * @return array(object) = [{},{},..]
10823
10833
  */
10824
- private getPrintPages;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "4.3.1",
3
+ "version": "4.3.4",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"