tripstorekrabi-shared 1.13.3 → 1.13.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/package.json +1 -1
- package/price.js +1 -1
package/package.json
CHANGED
package/price.js
CHANGED
|
@@ -125,7 +125,7 @@ export function calculateNationalParkFee(data, product) {
|
|
|
125
125
|
export function calculateExtraPayments(data, selling = true) {
|
|
126
126
|
let total = 0;
|
|
127
127
|
if (data.extraPayments) {
|
|
128
|
-
for (const extraPayment of Object.values(data.extraPayments).filter((item) => !item.disabled)) {
|
|
128
|
+
for (const extraPayment of Object.values(data.extraPayments).filter((item) => !item.disabled && item.paymentMethod !== PAY_ON_TOUR)) {
|
|
129
129
|
total += selling ? (extraPayment.receivedAmount ? extraPayment.receivedAmount : extraPayment.price) : extraPayment.operatorPrice;
|
|
130
130
|
}
|
|
131
131
|
}
|