ionic-vhframeworks 4.2.3 → 4.2.6
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 +17 -0
- package/package.json +1 -1
|
@@ -11019,6 +11019,23 @@ export declare class VhQuerySales {
|
|
|
11019
11019
|
getBill_details_byId_bill(id_bill: any): any;
|
|
11020
11020
|
getBill_detail(id_bill_detail: any): any;
|
|
11021
11021
|
private getBill_details;
|
|
11022
|
+
/**
|
|
11023
|
+
* @example:
|
|
11024
|
+
* let time = new Date();
|
|
11025
|
+
* time.setDate(time.getDate()-7);
|
|
11026
|
+
* this.vhQuerySales.getBill_details_byFields({bill_type:{$eq:1}}, {},{date:1},2)
|
|
11027
|
+
.then((bill_details)=>{
|
|
11028
|
+
console.log('getBills', bill_details);
|
|
11029
|
+
},(error:any)=>{
|
|
11030
|
+
console.log('error ', error);
|
|
11031
|
+
})
|
|
11032
|
+
* @param query
|
|
11033
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
11034
|
+
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
11035
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
11036
|
+
* @return — Array -> array = [{},{},...]
|
|
11037
|
+
*/
|
|
11038
|
+
private getBill_details_byFields;
|
|
11022
11039
|
/**
|
|
11023
11040
|
* @example:
|
|
11024
11041
|
* this.vhQuerySales.getBill('5fb67fda87c0f21d484cbdf3')
|