ionic-vhframeworks 3.6.6 → 3.6.7
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 +51 -15
- package/package.json +1 -1
|
@@ -10113,21 +10113,57 @@ export declare class VhQuerySales {
|
|
|
10113
10113
|
*/
|
|
10114
10114
|
getReportSales_Products_byProduct(starttime: any, endtime: any, id_product: any, IDbranch?: string): Promise<any>;
|
|
10115
10115
|
/**
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10116
|
+
* @Usage :Hàm này dùng trong page CHIẾT KHẤU KHÁCH HÀNG -> Chọn TẤT CẢ hoặc MỘT khách hàng
|
|
10117
|
+
* @notice : Mỗi công thức chiết khấu có 5 mức (level1, level2, level3, level4, level5), giá trị doanh số (sales) level sau phải lơn hơn level trước
|
|
10118
|
+
* @example :
|
|
10119
|
+
* let endtime = new Date();
|
|
10120
|
+
let starttime = new Date('2020-07-01T05:24:00');
|
|
10121
|
+
this.vhQuerySales.getReportDiscount_Customers(starttime, endtime, '7YLcm0cFKLu2KaQQ8cyv')
|
|
10122
|
+
.then((discounts)=>{
|
|
10123
|
+
console.log('discounts', discounts);
|
|
10124
|
+
console.log('discounts.docs[0]', discounts.docs[0]);
|
|
10125
|
+
})
|
|
10126
|
+
* @param starttime
|
|
10127
|
+
* @param endtime
|
|
10128
|
+
* @param IDcustomer : 'all' or id_customer
|
|
10129
|
+
* @param IDbranch : 'all' or id_branch
|
|
10130
|
+
* @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, name, img, discount_name,sales_btax, discount_btax, sales_atax, discount_atax}
|
|
10131
|
+
*/
|
|
10132
|
+
getReportDiscount_Customers(starttime: any, endtime: any, IDcustomer: any, IDbranch?: string): Promise<any>;
|
|
10133
|
+
/**
|
|
10134
|
+
* @Usage :Hàm này dùng trong page HOA HỒNG NHÂN VIÊN -> Chọn TẤT CẢ hoặc MỘT nhân viên
|
|
10135
|
+
* @notice : Mỗi công thức chiết khấu có 5 mức (level1, level2, level3, level4, level5), giá trị doanh số (sales) level sau phải lơn hơn level trước
|
|
10136
|
+
* @example :
|
|
10137
|
+
* let endtime = new Date();
|
|
10138
|
+
let starttime = new Date('2020-07-01T05:24:00');
|
|
10139
|
+
this.vhQuerySales.getReportCommission_Employees(starttime, endtime, '7YLcm0cFKLu2KaQQ8cyv')
|
|
10140
|
+
.then((commissions)=>{
|
|
10141
|
+
console.log('commissions', commissions);
|
|
10142
|
+
console.log('commissions.docs[0]', commissions.docs[0]);
|
|
10143
|
+
})
|
|
10144
|
+
* @param starttime
|
|
10145
|
+
* @param endtime
|
|
10146
|
+
* @param IDemployee : 'all' or id_employee
|
|
10147
|
+
* @param IDbranch : 'all' or id_branch
|
|
10148
|
+
* @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, name, img, commission_name, sales_btax, commission_btax, sales_atax, commission_atax}
|
|
10149
|
+
*/
|
|
10150
|
+
getReportCommission_Employees(starttime: any, endtime: any, IDemployee: any, IDbranch?: string): Promise<any>;
|
|
10151
|
+
/**
|
|
10152
|
+
* @Usage Hàm này dùng trong page DOANH SỐ KHÁCH HÀNG (layer 1) -> Chọn TẤT CẢ hoặc MỘT khách hàng
|
|
10153
|
+
* @example
|
|
10154
|
+
* let endtime = new Date();
|
|
10155
|
+
let starttime = new Date('2020-07-01T05:24:00');
|
|
10156
|
+
this.vhQuerySales.getReportSales_Customers_byCustomers(starttime, endtime, '7YLcm0cFKLu2KaQQ8cyv')
|
|
10157
|
+
.then((reportsales)=>{
|
|
10158
|
+
console.log('reportsales', reportsales);
|
|
10159
|
+
console.log('reportsales.docs[0]', reportsales.docs[0]);
|
|
10160
|
+
})
|
|
10161
|
+
* @param starttime
|
|
10162
|
+
* @param endtime
|
|
10163
|
+
* @param IDcustomer : 'all' or id_customer
|
|
10164
|
+
* @param IDbranch : 'all' or id_branch
|
|
10165
|
+
* @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, name, img, id_customer, quantity, sales_btax, sales_atax}
|
|
10166
|
+
*/
|
|
10131
10167
|
getReportSales_Customers_byCustomers(starttime: any, endtime: any, IDcustomer: any, IDbranch?: string): Promise<any>;
|
|
10132
10168
|
/**
|
|
10133
10169
|
* @Usage Hàm này dùng trong page DOANH SỐ KHÁCH HÀNG (layer 2) -> Chọn TẤT CẢ hoặc MỘT khách hàng -> Chọn một khách hàng trong list hiện ra
|