tripstorekrabi-shared 1.13.25 → 1.13.26
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
|
@@ -198,7 +198,7 @@ export function getExtraPaymentsPaidWithPartner(booking, product) {
|
|
|
198
198
|
(product.addOns ?? []).forEach((addOn) => {
|
|
199
199
|
addOnDefs[addOn.id] = addOn;
|
|
200
200
|
});
|
|
201
|
-
let addOns = Object.
|
|
201
|
+
let addOns = Object.entries(booking.addOns).filter(([id]) => addOnDefs[id] != null).map(([id, addOn]) => {
|
|
202
202
|
let addOnDef = addOnDefs[id];
|
|
203
203
|
|
|
204
204
|
return {
|