ionic-vhframeworks 3.6.7 → 3.6.8
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.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 +31 -31
- package/package.json +1 -1
|
@@ -10131,39 +10131,39 @@ export declare class VhQuerySales {
|
|
|
10131
10131
|
*/
|
|
10132
10132
|
getReportDiscount_Customers(starttime: any, endtime: any, IDcustomer: any, IDbranch?: string): Promise<any>;
|
|
10133
10133
|
/**
|
|
10134
|
-
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
|
|
10139
|
-
|
|
10140
|
-
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
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
10150
|
getReportCommission_Employees(starttime: any, endtime: any, IDemployee: any, IDbranch?: string): Promise<any>;
|
|
10151
10151
|
/**
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
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
|
+
*/
|
|
10167
10167
|
getReportSales_Customers_byCustomers(starttime: any, endtime: any, IDcustomer: any, IDbranch?: string): Promise<any>;
|
|
10168
10168
|
/**
|
|
10169
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
|