tripstorekrabi-shared 1.13.19 → 1.13.20
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 -0
package/package.json
CHANGED
package/price.js
CHANGED
|
@@ -178,6 +178,9 @@ export function calculateExtraPayments(booking, selling = true, calculationMode
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
export function getExtraPaymentsPaidWithPartner(booking, product) {
|
|
181
|
+
let startingPoint = findStartingPoint(product, booking.startingPointId);
|
|
182
|
+
let endPoint = findEndPoint(product, booking.endPointId);
|
|
183
|
+
|
|
181
184
|
return [
|
|
182
185
|
{
|
|
183
186
|
category: STARTING_POINT_EXTRA_PAYMENT,
|