ionic-vhframeworks 3.8.9 → 3.9.0

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.
@@ -10944,7 +10944,25 @@ export declare class VhQuerySales {
10944
10944
  * @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, id_product, name, barcode, unit, img, id_customer, quantity, sales_btax, sales_atax}
10945
10945
  */
10946
10946
  getReportSales_Customers_byProducts(starttime: any, endtime: any, id_customer: any, IDbranch?: string): Promise<any>;
10947
- getReportSales_Customers_byProducts_Analytics(starttime: any, endtime: any, id_customer: any, IDbranch?: string): Promise<any>;
10947
+ /**
10948
+ * @Usage Hàm này dùng trong phân tích số liệu từ doanh số bán hàng trên mỗi sàn TMĐT 3 THÁNG, 3 TUẦN gần nhất
10949
+ * @example
10950
+ * let endtime = new Date();
10951
+ let starttime = new Date('2020-07-01T05:24:00');
10952
+ this.vhQuerySales.getReportSales_Customers_byProducts(starttime, endtime, '9879657432', 'shopee', '7YLcm0cFKLu2KaQQ8cyv')
10953
+ .then((reportsales)=>{
10954
+ console.log('reportsales', reportsales);
10955
+ console.log('reportsales.docs[0]', reportsales.docs[0]);
10956
+ })
10957
+ * @param starttime
10958
+ * @param endtime
10959
+ * @param id_customer
10960
+ * @param id_shop
10961
+ * @param ecommerce: 'shopee'/'lazada'/'tiki'/'sendo'
10962
+ * @param IDbranch : 'all' or id_branch
10963
+ * @return Promise JSON(array) => json.docs = [obj, obj, obj....]; obj ={index, id_product, name, barcode, unit, img, id_customer, quantity, sales_btax, sales_atax}
10964
+ */
10965
+ getReportSales_Customers_byProducts_Analytics(starttime: any, endtime: any, id_customer: string, id_shop: string, ecommerce: string, IDbranch: string): Promise<any>;
10948
10966
  /**
10949
10967
  * @Usage Hàm này dùng trong page DOANH SỐ KHÁCH HÀNG (layer 3) -> 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 -> Chọn một sản phẩm trong list tiếp theo hiện ra
10950
10968
  * @example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "3.8.9",
3
+ "version": "3.9.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"