ionic-vhframeworks 10.1.3 → 10.1.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.
@@ -20900,7 +20900,7 @@ export declare class VhEinvoice {
20900
20900
  /**
20901
20901
  * Hàm Thêm mới, sửa, xóa hóa đơn Chờ ký
20902
20902
  * @example
20903
- * this.vhEinvoice.createBill_noSign_byMinvoice(taxcode, token, editmode, data)
20903
+ * this.vhEinvoice.saveInvoice_noSign_byMinvoice(taxcode, token, editmode, data)
20904
20904
  .then((data)=>{
20905
20905
  //-----------your code here-----------
20906
20906
  },(error:any)=>{
@@ -20911,11 +20911,11 @@ export declare class VhEinvoice {
20911
20911
  * @param data
20912
20912
  * @returns Promise => {"code": "00", "message": null, "ok": true, "data": {}}
20913
20913
  */
20914
- createBill_noSign_byMinvoice(taxcode: string, token: string, editmode: string, data: any): Promise<any>;
20914
+ saveInvoice_noSign_byMinvoice(taxcode: string, token: string, editmode: number, data: any): Promise<any>;
20915
20915
  /**
20916
20916
  * Hàm Thêm mới, sửa, xóa hóa đơn Chờ ký
20917
20917
  * @example
20918
- * this.vhEinvoice.createBill_Sign_byMinvoice(taxcode, token, editmode, data)
20918
+ * this.vhEinvoice.saveInvoice_Sign_byMinvoice(taxcode, token, editmode, data)
20919
20919
  .then((data)=>{
20920
20920
  //-----------your code here-----------
20921
20921
  },(error:any)=>{
@@ -20927,11 +20927,11 @@ export declare class VhEinvoice {
20927
20927
  * @param data
20928
20928
  * @returns Promise => {"code": "00", "message": null, "ok": true, "data": {}}
20929
20929
  */
20930
- createBill_Sign_byMinvoice(taxcode: string, token: string, editmode: string, data: any): Promise<any>;
20930
+ saveInvoice_Sign_byMinvoice(taxcode: string, token: string, editmode: string, data: any): Promise<any>;
20931
20931
  /**
20932
20932
  * Hàm ký hóa đơn
20933
20933
  * @example
20934
- * this.vhEinvoice.createBill_Sign_byMinvoice(taxcode, token, editmode, data)
20934
+ * this.vhEinvoice.signInvoice_byMinvoice(taxcode, token, editmode, data)
20935
20935
  .then((data)=>{
20936
20936
  //-----------your code here-----------
20937
20937
  },(error:any)=>{
@@ -20942,11 +20942,11 @@ export declare class VhEinvoice {
20942
20942
  * @param hoadon68_id : "5fc578a6-1ca1-46f9-ab4f-6a0de4b54c32"
20943
20943
  * @returns Promise => {"code": "00", "message": null, "ok": true, "data": {}}
20944
20944
  */
20945
- signBill_byMinvoice(taxcode: string, token: string, hoadon68_id: string): Promise<any>;
20945
+ signInvoice_byMinvoice(taxcode: string, token: string, hoadon68_id: string): Promise<any>;
20946
20946
  /**
20947
20947
  * Hàm hủy hóa đơn
20948
20948
  * @example
20949
- * this.vhEinvoice.deleteBill_byMinvoice(taxcode, token, inv_InvoiceAuth_id, ngayvb, ghi_chu)
20949
+ * this.vhEinvoice.deleteInvoice_byMinvoice(taxcode, token, inv_InvoiceAuth_id, ngayvb, ghi_chu)
20950
20950
  .then((data)=>{
20951
20951
  //-----------your code here-----------
20952
20952
  },(error:any)=>{
@@ -20959,11 +20959,11 @@ export declare class VhEinvoice {
20959
20959
  * @param ghi_chu : "Sai thông tin tổng tiền hóa đơn, chưa gửi cho khách hàng"
20960
20960
  * @returns Promise => {"code": "00", "message": "Thành công"}
20961
20961
  */
20962
- deleteBill_byMinvoice(taxcode: string, token: string, inv_InvoiceAuth_id: string, ngayvb: string, ghi_chu: string): Promise<any>;
20962
+ deleteInvoice_byMinvoice(taxcode: string, token: string, inv_InvoiceAuth_id: string, ngayvb: string, ghi_chu: string): Promise<any>;
20963
20963
  /**
20964
20964
  * Hàm điều chỉnh hóa đơn
20965
20965
  * @example
20966
- * this.vhEinvoice.updateBill_byMinvoice(taxcode, token, inv_InvoiceAuth_id, inv_invoiceIssuedDate, data)
20966
+ * this.vhEinvoice.updateInvoice_byMinvoice(taxcode, token, inv_InvoiceAuth_id, inv_invoiceIssuedDate, data)
20967
20967
  .then((data)=>{
20968
20968
  //-----------your code here-----------
20969
20969
  },(error:any)=>{
@@ -20976,11 +20976,11 @@ export declare class VhEinvoice {
20976
20976
  * @param data
20977
20977
  * @returns Promise => {"code": "00", "message": "Thành công"}
20978
20978
  */
20979
- updateBill_byMinvoice(taxcode: string, token: string, inv_InvoiceAuth_id: string, inv_invoiceIssuedDate: string, data: any): Promise<any>;
20979
+ updateInvoice_byMinvoice(taxcode: string, token: string, inv_InvoiceAuth_id: string, inv_invoiceIssuedDate: string, data: any): Promise<any>;
20980
20980
  /**
20981
20981
  * Hàm điều chỉnh hóa đơn
20982
20982
  * @example
20983
- * this.vhEinvoice.replaceBill_byMinvoice(taxcode, token, data)
20983
+ * this.vhEinvoice.replaceInvoice_byMinvoice(taxcode, token, data)
20984
20984
  .then((data)=>{
20985
20985
  //-----------your code here-----------
20986
20986
  },(error:any)=>{
@@ -20991,7 +20991,7 @@ export declare class VhEinvoice {
20991
20991
  * @param data
20992
20992
  * @returns Promise => {"code": "00", "message": "Thành công"}
20993
20993
  */
20994
- replaceBill_byMinvoice(taxcode: string, token: string, data: any): Promise<any>;
20994
+ replaceInvoice_byMinvoice(taxcode: string, token: string, data: any): Promise<any>;
20995
20995
  static ɵfac: i0.ɵɵFactoryDeclaration<VhEinvoice, never>;
20996
20996
  static ɵprov: i0.ɵɵInjectableDeclaration<VhEinvoice>;
20997
20997
  }
@@ -22510,6 +22510,7 @@ export declare class VhDesignAutoWeb {
22510
22510
  static ɵprov: i0.ɵɵInjectableDeclaration<VhDesignAutoWeb>;
22511
22511
  }
22512
22512
  export declare class VhQuerySales {
22513
+ private vhEinvoice;
22513
22514
  private vhMGDB_auth;
22514
22515
  private vhMGDB_rootdatabase;
22515
22516
  private vhMGDB_database;
@@ -22581,7 +22582,7 @@ export declare class VhQuerySales {
22581
22582
  private callback1syncbilltype;
22582
22583
  private callback2syncbilltype;
22583
22584
  private sync_code;
22584
- 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);
22585
+ constructor(vhEinvoice: VhEinvoice, 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);
22585
22586
  fix_loi_kieu_du_lieu_barcode(): Promise<unknown>;
22586
22587
  /**
22587
22588
  * this.vhQuerySales.fix_mot_lan_duy_nhat_inventory_null()
@@ -26316,6 +26317,7 @@ export declare class VhQuerySales {
26316
26317
  * @return Promise => bool = true or false
26317
26318
  */
26318
26319
  changeStateWarranty_Bill_Billdetail(id_bill: any, bill_type: any): any;
26320
+ saveInvoice_noSign_byMinvoice1(id_bill: string, taxcode: string, token: string, invoiceSerie: string, editmode: number): Promise<unknown>;
26319
26321
  /**
26320
26322
  * hàm này chỉ dùng cho trường hợp bill_type 5->1, 29->3031, 36->1, 42->40, 43->41, 52->50, 53->51
26321
26323
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "10.1.3",
3
+ "version": "10.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"