ionic-vhframeworks 9.9.7 → 9.9.9

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.
@@ -2521,6 +2521,9 @@ export declare class VhQueryCafe {
2521
2521
  private subjectcustomer_classs;
2522
2522
  private callbackdispatcher;
2523
2523
  private callbacksyncopeningbill;
2524
+ private listbill_bybilltype;
2525
+ private callback1syncbilltype;
2526
+ private callback2syncbilltype;
2524
2527
  private sync_code;
2525
2528
  /**
2526
2529
  * @Nghiệp vụ tạo (bill_type 5->1), hủy đơn hàng bán món ăn (dùng hàm)
@@ -3826,6 +3829,7 @@ export declare class VhQueryCafe {
3826
3829
  * vcode = 1: 'This phone number is already in use with another supplier'
3827
3830
  */
3828
3831
  updateCustomer(id_customer: string, value: any): Promise<unknown>;
3832
+ private _updateCustomer;
3829
3833
  /**
3830
3834
  * @example:
3831
3835
  * this.vhQueryCafe.deleteCustomer('5fb67fda87c0f21d484cbdf3')
@@ -4017,6 +4021,7 @@ export declare class VhQueryCafe {
4017
4021
  * vcode = 1: 'This phone number is already in use with another supplier'
4018
4022
  */
4019
4023
  updateSupplier(id_supplier: string, value: any): Promise<unknown>;
4024
+ private _updateSupplier;
4020
4025
  /**
4021
4026
  * @example:
4022
4027
  * this.vhQueryCafe.deleteSupplier('5fb67fda87c0f21d484cbdf3')
@@ -5905,6 +5910,27 @@ export declare class VhQueryCafe {
5905
5910
  * @returns void
5906
5911
  */
5907
5912
  closeSyncOpeningBill(): void;
5913
+ /**
5914
+ * Hàm callback, mỗi lần callback trả về danh sách hóa đơn mới nhất
5915
+ * @example:
5916
+ * this.vhQueryCafe.observableSyncBillType('5fb6780ca2148e09806c5b01', 5)
5917
+ .subscribe((listbill_bybilltype)=> {
5918
+ console.log('observableSyncBillType', listbill_bybilltype);
5919
+ },(error:any) => {
5920
+ console.log(error);
5921
+ })
5922
+ * @param id_branch
5923
+ * @param bill_type
5924
+ * @returns Observable => array
5925
+ */
5926
+ observableSyncBillType(id_branch: string, bill_type: number): Observable<unknown>;
5927
+ /**
5928
+ * Hàm đóng Observable của observableSyncBillType(), mỗi lần thoát trang, thoát component nên gọi hàm này
5929
+ * @example:
5930
+ * this.vhQueryCafe.closeSyncBillType();
5931
+ * @returns void
5932
+ */
5933
+ closeSyncBillType(): void;
5908
5934
  /**
5909
5935
  * @example:
5910
5936
  * this.vhQueryCafe.createPaymentVnpay(10000, 'Thanh toan hoa don so A7TG2004, vao luc: 2021-11-19 13:11:27', 'o0wEpPDhR8QiGDkp2hLG', 'http://localhost:4200/')
@@ -22162,6 +22188,9 @@ export declare class VhQuerySales {
22162
22188
  private subjectdiscount_bills;
22163
22189
  private subjectcustomer_classs;
22164
22190
  private callbacksyncopeningbill;
22191
+ private listbill_bybilltype;
22192
+ private callback1syncbilltype;
22193
+ private callback2syncbilltype;
22165
22194
  private sync_code;
22166
22195
  constructor(vhMGDB_auth: VhMGDB_auth, vhMGDB_rootdatabase: VhMGDB_rootdatabase, vhMGDB_database: VhMGDB_database, vhMGDB_socketMongoDB: VhMGDB_socketMongoDB, vhMGDB_tiki: VhMGDB_tiki, vhMGDB_sendo: VhMGDB_sendo, vhMGDB_lazada: VhMGDB_lazada, vhMGDB_socketFacebook: VhMGDB_socketFacebook, vhMGDB_paymentVNPAY: VhMGDB_paymentVNPAY, vhQuery: VhQuery, vhAuth: VhAuth, vhAlgorithm: VhAlgorithm, vhDisplayLEDService: VhDisplayLEDService, iap2: InAppPurchase2, platform: Platform);
22167
22196
  fix_loi_kieu_du_lieu_barcode(): Promise<unknown>;
@@ -23993,6 +24022,7 @@ export declare class VhQuerySales {
23993
24022
  * vcode = 1: 'This phone number is already in use with another customer'
23994
24023
  */
23995
24024
  updateCustomer(id_customer: string, value: any): Promise<unknown>;
24025
+ private _updateCustomer;
23996
24026
  /**
23997
24027
  * @example:
23998
24028
  * this.vhQuerySales.deleteCustomer('5fb67fda87c0f21d484cbdf3')
@@ -24184,6 +24214,7 @@ export declare class VhQuerySales {
24184
24214
  * vcode = 1: 'This phone number is already in use with another supplier'
24185
24215
  */
24186
24216
  updateSupplier(id_supplier: string, value: any): Promise<unknown>;
24217
+ private _updateSupplier;
24187
24218
  /**
24188
24219
  * @example:
24189
24220
  * this.vhQuerySales.deleteSupplier('5fb67fda87c0f21d484cbdf3')
@@ -26129,6 +26160,27 @@ export declare class VhQuerySales {
26129
26160
  * @returns void
26130
26161
  */
26131
26162
  closeSyncOpeningBill(): void;
26163
+ /**
26164
+ * Hàm callback, mỗi lần callback trả về danh sách hóa đơn mới nhất
26165
+ * @example:
26166
+ * this.vhQuerySales.observableSyncBillType('5fb6780ca2148e09806c5b01', 5)
26167
+ .subscribe((listbill_bybilltype)=> {
26168
+ console.log('observableSyncBillType', listbill_bybilltype);
26169
+ },(error:any) => {
26170
+ console.log(error);
26171
+ })
26172
+ * @param id_branch
26173
+ * @param bill_type
26174
+ * @returns Observable => array
26175
+ */
26176
+ observableSyncBillType(id_branch: string, bill_type: number): Observable<unknown>;
26177
+ /**
26178
+ * Hàm đóng Observable của observableSyncBillType(), mỗi lần thoát trang, thoát component nên gọi hàm này
26179
+ * @example:
26180
+ * this.vhQuerySales.closeSyncBillType();
26181
+ * @returns void
26182
+ */
26183
+ closeSyncBillType(): void;
26132
26184
  /**
26133
26185
  * @example:
26134
26186
  * this.vhQuerySales.createPaymentVnpay(10000, 'Thanh toan hoa don so A7TG2004, vao luc: 2021-11-19 13:11:27', 'o0wEpPDhR8QiGDkp2hLG', 'http://localhost:4200/')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "9.9.7",
3
+ "version": "9.9.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"