ionic-vhframeworks 3.8.5 → 3.8.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/lib/ionic-vhframeworks.service.d.ts +14 -15
- package/package.json +1 -1
|
@@ -10284,7 +10284,6 @@ export declare class VhQuerySales {
|
|
|
10284
10284
|
/**
|
|
10285
10285
|
* @example:
|
|
10286
10286
|
let payment_detail_main = {
|
|
10287
|
-
date: new Date(),
|
|
10288
10287
|
id_branch: 'AEUWSWZXA4iHv8BmCNz2', //khách chọn
|
|
10289
10288
|
id_payment: '5D4XGdZ2q5XLnOUa0mMx', //payment._id
|
|
10290
10289
|
id_restriction: 'main_package_advanced', //package.id_restriction
|
|
@@ -10308,8 +10307,8 @@ export declare class VhQuerySales {
|
|
|
10308
10307
|
payment_type,
|
|
10309
10308
|
activating,
|
|
10310
10309
|
invalid,
|
|
10311
|
-
|
|
10312
10310
|
date,
|
|
10311
|
+
|
|
10313
10312
|
id_branch,
|
|
10314
10313
|
id_payment,
|
|
10315
10314
|
id_restriction,
|
|
@@ -10341,19 +10340,19 @@ export declare class VhQuerySales {
|
|
|
10341
10340
|
*/
|
|
10342
10341
|
updatePayment_Detail(id_payment_detail: string, value: object): Promise<unknown>;
|
|
10343
10342
|
/**
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10343
|
+
* @example:
|
|
10344
|
+
* let time = new Date();
|
|
10345
|
+
* time.setDate(time.getDate()-7);
|
|
10346
|
+
* this.vhQuerySales.getPayment_details({id_payment:{$eq:'5fb67fda87c0f21d484cbdf3'}}, {},{},0)
|
|
10347
|
+
.then((payment_details)=>{
|
|
10348
|
+
console.log('getPayment_details', payment_details);
|
|
10349
|
+
})
|
|
10350
|
+
* @param query
|
|
10351
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
10352
|
+
* @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
|
|
10353
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
10354
|
+
* @return Promise Array => array = [{},{},...] / error
|
|
10355
|
+
*/
|
|
10357
10356
|
getPayment_details(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
10358
10357
|
/**
|
|
10359
10358
|
* @example:
|