ionic-vhframeworks 4.1.3 → 4.1.4
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 +3 -15
- package/package.json +1 -1
|
@@ -12829,7 +12829,9 @@ export declare class VhQuerySales {
|
|
|
12829
12829
|
*/
|
|
12830
12830
|
getCoupon_Code_Name_Release(id_coupon_code: any): Promise<unknown>;
|
|
12831
12831
|
/**
|
|
12832
|
-
*
|
|
12832
|
+
* hàm này để đổi phiếu từ điểm của khách hàng. Đổi thành công tự động tạo lịch sử đổi điểm của khách hàng
|
|
12833
|
+
* hàm này đã cập nhật lại trường status, id_customer, date_points_exchanged cho coupon_codes
|
|
12834
|
+
* hàm này đã cập nhật lại trường earned_points, id_customer, branch_earned_points cho customers
|
|
12833
12835
|
* @example:
|
|
12834
12836
|
* this.vhQuerySales.exchangeCouponCode_byEarningPoints(['OUIYWGUDBYWUHEDW0512','1984QIHBSYGWDIOUHIQFE'], 'INBIFDYWUGUHNI65498', 1000})
|
|
12835
12837
|
.then((bool)=>{
|
|
@@ -13175,20 +13177,6 @@ export declare class VhQuerySales {
|
|
|
13175
13177
|
* @return Promise => obj ={} or null
|
|
13176
13178
|
*/
|
|
13177
13179
|
getVoucher_Code_Name_Release(id_voucher_code: any): Promise<unknown>;
|
|
13178
|
-
/** Hàm này để đổi voucher từ điểm của khách hàng. Đổi thành công tự động tạo lịch sử đổi điểm của khách hàng
|
|
13179
|
-
* @example:
|
|
13180
|
-
* let data = [id_voucher_code]
|
|
13181
|
-
* this.vhQuerySales.exchangeVoucherCode_byEarningPoints(data, "fuMS21I6othUm34385WV", 10)
|
|
13182
|
-
.then((bool)=>{
|
|
13183
|
-
console.log('exchangeVoucherCode_byEarningPoints', bool);
|
|
13184
|
-
}, error=>{
|
|
13185
|
-
console.log('error', error);
|
|
13186
|
-
})
|
|
13187
|
-
* @param array_id_voucher_code
|
|
13188
|
-
* @param id_customer
|
|
13189
|
-
* @param points
|
|
13190
|
-
* @return Promise Boolean => true or false
|
|
13191
|
-
*/
|
|
13192
13180
|
exchangeVoucherCode_byEarningPoints(array_id_voucher_code: any, id_customer: any, points: any): Promise<unknown>;
|
|
13193
13181
|
/**
|
|
13194
13182
|
* @example:
|