tripstorekrabi-shared 1.13.41 → 1.13.42
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 +3 -3
package/package.json
CHANGED
package/price.js
CHANGED
|
@@ -163,15 +163,15 @@ export function calculatePartnerNetPrice(booking, product) {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export function calculateTotalSellingPrice(booking, product) {
|
|
166
|
-
return calculateTotalPrice(booking, product,
|
|
166
|
+
return calculateTotalPrice(booking, product, { mode: SELLING_MODE });
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
export function calculateTotalOperatorPrice(booking, product) {
|
|
170
|
-
return calculateTotalPrice(booking, product,
|
|
170
|
+
return calculateTotalPrice(booking, product, { mode: OPERATOR_MODE });
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
export function calculateTotalPartnerNetPrice(booking, product) {
|
|
174
|
-
return calculateTotalPrice(booking, product,
|
|
174
|
+
return calculateTotalPrice(booking, product, { mode: PARTNER_MODE });
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
function calculateTotalPrice(booking, product, options = { mode: SELLING_MODE }) {
|