@pisell/pisellos 0.0.238 → 0.0.239
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/dist/modules/Payment/index.js +1 -1
- package/dist/modules/Payment/types.d.ts +2 -0
- package/dist/solution/BookingTicket/index.d.ts +1 -1
- package/dist/solution/Checkout/index.js +3 -1
- package/lib/modules/Payment/index.js +1 -1
- package/lib/modules/Payment/types.d.ts +2 -0
- package/lib/solution/BookingTicket/index.d.ts +1 -1
- package/lib/solution/Checkout/index.js +3 -1
- package/package.json +1 -1
|
@@ -1059,7 +1059,7 @@ export var PaymentModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
1059
1059
|
type: paymentItem.type,
|
|
1060
1060
|
amount: formatAmount(paymentItem.amount),
|
|
1061
1061
|
voucher_id: paymentItem.voucher_id || '',
|
|
1062
|
-
rounding_amount: '0.00',
|
|
1062
|
+
rounding_amount: paymentItem.rounding_amount || '0.00',
|
|
1063
1063
|
service_charge: paymentItem.service_charge,
|
|
1064
1064
|
status: 'active',
|
|
1065
1065
|
// 新支付项默认为活跃状态
|
|
@@ -111,7 +111,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
|
|
|
111
111
|
* 获取当前的客户搜索条件
|
|
112
112
|
* @returns 当前搜索条件
|
|
113
113
|
*/
|
|
114
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
114
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
|
|
115
115
|
/**
|
|
116
116
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
117
117
|
* @returns 客户状态
|
|
@@ -1659,7 +1659,9 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
1659
1659
|
name: paymentItem.name,
|
|
1660
1660
|
type: paymentItem.type,
|
|
1661
1661
|
amount: paymentItem.amount,
|
|
1662
|
-
service_charge: paymentItem.service_charge
|
|
1662
|
+
service_charge: paymentItem.service_charge,
|
|
1663
|
+
rounding_amount: paymentItem.rounding_amount,
|
|
1664
|
+
voucher_id: paymentItem.voucher_id
|
|
1663
1665
|
}
|
|
1664
1666
|
});
|
|
1665
1667
|
|
|
@@ -524,7 +524,7 @@ var PaymentModule = class extends import_BaseModule.BaseModule {
|
|
|
524
524
|
type: paymentItem.type,
|
|
525
525
|
amount: formatAmount(paymentItem.amount),
|
|
526
526
|
voucher_id: paymentItem.voucher_id || "",
|
|
527
|
-
rounding_amount: "0.00",
|
|
527
|
+
rounding_amount: paymentItem.rounding_amount || "0.00",
|
|
528
528
|
service_charge: paymentItem.service_charge,
|
|
529
529
|
status: "active",
|
|
530
530
|
// 新支付项默认为活跃状态
|
|
@@ -111,7 +111,7 @@ export declare class BookingTicketImpl extends BaseModule implements Module {
|
|
|
111
111
|
* 获取当前的客户搜索条件
|
|
112
112
|
* @returns 当前搜索条件
|
|
113
113
|
*/
|
|
114
|
-
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "
|
|
114
|
+
getCurrentCustomerSearchParams(): Omit<import("../../modules").ShopGetCustomerListParams, "skip" | "num">;
|
|
115
115
|
/**
|
|
116
116
|
* 获取客户列表状态(包含滚动加载相关状态)
|
|
117
117
|
* @returns 客户状态
|
|
@@ -923,7 +923,9 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
923
923
|
name: paymentItem.name,
|
|
924
924
|
type: paymentItem.type,
|
|
925
925
|
amount: paymentItem.amount,
|
|
926
|
-
service_charge: paymentItem.service_charge
|
|
926
|
+
service_charge: paymentItem.service_charge,
|
|
927
|
+
rounding_amount: paymentItem.rounding_amount,
|
|
928
|
+
voucher_id: paymentItem.voucher_id
|
|
927
929
|
}
|
|
928
930
|
});
|
|
929
931
|
await this.payment.addPaymentItemAsync(
|