ionic-vhframeworks 3.5.2 → 3.5.3
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 +67 -52
- package/package.json +1 -1
|
@@ -6677,6 +6677,21 @@ export declare class VhEcommerce {
|
|
|
6677
6677
|
* @returns Promise => obj ={} or null
|
|
6678
6678
|
*/
|
|
6679
6679
|
getSalesOrderDetailShopee(order_sn: string, access_token: string, id_shop: any): Promise<unknown>;
|
|
6680
|
+
/**
|
|
6681
|
+
* Hàm này lấy về tracking_number của một hóa đơn khi đơn chuyển sang trạng thái chờ lấy hàng
|
|
6682
|
+
* @example
|
|
6683
|
+
* this.vhEcommerce.getTrackingNumberShopee('14424213387', '403754acaafc4564a16c19faa32d73c8', 'gsdr3454u54w34tfq')
|
|
6684
|
+
.then((result)=>{
|
|
6685
|
+
console.log('getTrackingNumberShopee', result);
|
|
6686
|
+
},error=>{
|
|
6687
|
+
console.log('error', error);
|
|
6688
|
+
})
|
|
6689
|
+
* @param order_sn
|
|
6690
|
+
* @param access_token
|
|
6691
|
+
* @param id_shop
|
|
6692
|
+
* @returns Promise => obj ={}
|
|
6693
|
+
*/
|
|
6694
|
+
getTrackingNumberShopee(order_sn: string, access_token: string, id_shop: any): Promise<unknown>;
|
|
6680
6695
|
/**
|
|
6681
6696
|
* @example:
|
|
6682
6697
|
* let product = this.vhQuerySales.getlocalProduct(id_product);
|
|
@@ -10015,29 +10030,6 @@ export declare class VhQuerySales {
|
|
|
10015
10030
|
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10016
10031
|
*/
|
|
10017
10032
|
getReportInputOutputInventory_byTime_byIDProduct(starttime: any, endtime: any, IDproduct: any, IDbranch?: any): Promise<any>;
|
|
10018
|
-
/**
|
|
10019
|
-
* Hàm này dùng trong page LỢI NHUẬN HÀNG HÓA
|
|
10020
|
-
* @example:
|
|
10021
|
-
* this.vhQuerySales.getReportProfit_byTime_byIDProduct(starttime , endtime, 'all', 'tj1iYodbVoShwtEetACx')
|
|
10022
|
-
.then((json)=>{
|
|
10023
|
-
console.log('json', json);
|
|
10024
|
-
})
|
|
10025
|
-
* @param starttime
|
|
10026
|
-
* @param endtime
|
|
10027
|
-
* @param IDproduct: 'all' or id_product;
|
|
10028
|
-
* @param IDbranch: 'all' or id_branch;
|
|
10029
|
-
* @return Promise Array *
|
|
10030
|
-
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10031
|
-
*/
|
|
10032
|
-
getReportProfit_byTime_byIDProduct(starttime: any, endtime: any, IDproduct: any, IDbranch: any): Promise<any>;
|
|
10033
|
-
private getReportInputOutputInventory_byTime_byIDProduct1;
|
|
10034
|
-
syncInventoryEveryDay_StockBeginning(): Promise<any>;
|
|
10035
|
-
/**
|
|
10036
|
-
* vhQuerySales
|
|
10037
|
-
* @returns
|
|
10038
|
-
*/
|
|
10039
|
-
private syncInventoryEveryDay_Stock1stDayOfMonth;
|
|
10040
|
-
private syncInventoryEveryDay1;
|
|
10041
10033
|
/**
|
|
10042
10034
|
* Hàm này dùng trong page Tồn kho, giá trị tồn kho, doanh số, chi phí nhập hàng tại một thời điểm endtime nào đó
|
|
10043
10035
|
* @example:
|
|
@@ -10058,9 +10050,9 @@ export declare class VhQuerySales {
|
|
|
10058
10050
|
* Hàm này dùng trong page Tồn kho, giá trị tồn kho, doanh số, chi phí nhập hàng tại một thời điểm endtime nào đó -> chi tiết của một sản phẩm nào đó
|
|
10059
10051
|
* @example:
|
|
10060
10052
|
* this.vhQuerySales.getReportInputOutputInventory_Detail_byEndTime_byIDProduct(endtime, 'UTWXdaU3UDq3xq7aK77p')
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10053
|
+
.then((bill_details)=>{
|
|
10054
|
+
console.log('vhbill_details', bill_details);
|
|
10055
|
+
})
|
|
10064
10056
|
* @param starttime
|
|
10065
10057
|
* @param endtime
|
|
10066
10058
|
* @param id_product
|
|
@@ -10069,50 +10061,73 @@ export declare class VhQuerySales {
|
|
|
10069
10061
|
*/
|
|
10070
10062
|
getReportInputOutputInventory_Detail_byEndTime_byIDProduct(endtime: any, id_product: any, IDbranch?: string): Promise<any>;
|
|
10071
10063
|
/**
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10064
|
+
* Hàm này dùng trong page XUẤT-NHẬP-TỒN -> Xuất nhập tồn -> chi tiết
|
|
10065
|
+
* @example:
|
|
10066
|
+
* this.vhQuerySales.getReportInputOutputInventory_Detail_byTime_byIDProduct(starttime , endtime, 'UTWXdaU3UDq3xq7aK77p')
|
|
10075
10067
|
.then((bill_details)=>{
|
|
10076
10068
|
console.log('vhbill_details', bill_details);
|
|
10077
10069
|
})
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10070
|
+
* @param starttime
|
|
10071
|
+
* @param endtime
|
|
10072
|
+
* @param id_product
|
|
10073
|
+
* @param IDbranch
|
|
10074
|
+
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10075
|
+
*/
|
|
10084
10076
|
getReportInputOutputInventory_Detail_byTime_byIDProduct(starttime: any, endtime: any, id_product: string, IDbranch?: string): Promise<any>;
|
|
10085
10077
|
/**
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10078
|
+
* Hàm này dùng trong page XUẤT-NHẬP-TỒN -> Xuất nhập hàng
|
|
10079
|
+
* @example:
|
|
10080
|
+
* this.vhQuerySales.getReportInputOutput_byTime_byIDProduct(starttime , endtime, 'UTWXdaU3UDq3xq7aK77p')
|
|
10089
10081
|
.then((bill_details)=>{
|
|
10090
10082
|
console.log('vhbill_details', bill_details);
|
|
10091
10083
|
})
|
|
10092
|
-
|
|
10093
|
-
|
|
10094
|
-
|
|
10095
|
-
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
|
|
10099
|
-
|
|
10100
|
-
|
|
10084
|
+
* @param starttime
|
|
10085
|
+
* @param endtime
|
|
10086
|
+
* @param id_product
|
|
10087
|
+
* @param IDbranch
|
|
10088
|
+
* @return Promise Array
|
|
10089
|
+
* @Notice id_product = 'all' or id_product;
|
|
10090
|
+
* @Notice IDbranch = 'all' or id_branch;
|
|
10091
|
+
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10092
|
+
*/
|
|
10101
10093
|
getReportInputOutput_byTime_byIDProduct(starttime: any, endtime: any, IDproduct: string, IDbranch?: string): Promise<any>;
|
|
10102
10094
|
/**
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10095
|
+
* Hàm này dùng trong page XUẤT-NHẬP-TỒN -> Xuất nhập hàng -> chi tiết
|
|
10096
|
+
* @example:
|
|
10097
|
+
* this.vhQuerySales.getReportInputOutput_Detail_byTime_byIDProduct(starttime , endtime, 'UTWXdaU3UDq3xq7aK77p')
|
|
10106
10098
|
.then((bill_details)=>{
|
|
10107
10099
|
console.log('vhbill_details', bill_details);
|
|
10108
10100
|
})
|
|
10101
|
+
* @param starttime
|
|
10102
|
+
* @param endtime
|
|
10103
|
+
* @param id_product
|
|
10104
|
+
* @param IDbranch: 'all' or id_branch;
|
|
10105
|
+
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10106
|
+
*/
|
|
10107
|
+
getReportInputOutput_Detail_byTime_byIDProduct(starttime: any, endtime: any, id_product: string, IDbranch?: string): Promise<any>;
|
|
10108
|
+
/**
|
|
10109
|
+
* Hàm này dùng trong page LỢI NHUẬN HÀNG HÓA
|
|
10110
|
+
* @example:
|
|
10111
|
+
* this.vhQuerySales.getReportProfit_byTime_byIDProduct(starttime , endtime, 'all', 'tj1iYodbVoShwtEetACx')
|
|
10112
|
+
.then((json)=>{
|
|
10113
|
+
console.log('json', json);
|
|
10114
|
+
})
|
|
10109
10115
|
* @param starttime
|
|
10110
10116
|
* @param endtime
|
|
10111
|
-
* @param id_product
|
|
10117
|
+
* @param IDproduct: 'all' or id_product;
|
|
10112
10118
|
* @param IDbranch: 'all' or id_branch;
|
|
10119
|
+
* @return Promise Array *
|
|
10113
10120
|
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
10114
10121
|
*/
|
|
10115
|
-
|
|
10122
|
+
getReportProfit_byTime_byIDProduct(starttime: any, endtime: any, IDproduct: any, IDbranch: any): Promise<any>;
|
|
10123
|
+
private getReportInputOutputInventory_byTime_byIDProduct1;
|
|
10124
|
+
syncInventoryEveryDay_StockBeginning(): Promise<any>;
|
|
10125
|
+
/**
|
|
10126
|
+
* vhQuerySales
|
|
10127
|
+
* @returns
|
|
10128
|
+
*/
|
|
10129
|
+
private syncInventoryEveryDay_Stock1stDayOfMonth;
|
|
10130
|
+
private syncInventoryEveryDay1;
|
|
10116
10131
|
private makeCorrectQuantityProducts;
|
|
10117
10132
|
/**
|
|
10118
10133
|
* VhQuerySales
|