@ticketboothapp/booking 1.2.107 → 1.2.109
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
CHANGED
|
@@ -4022,10 +4022,13 @@ export function AdminChangeBookingFlow({
|
|
|
4022
4022
|
if (!originalMode) return hasAmount || currentLabel.length > 0;
|
|
4023
4023
|
return currentAmount !== originalAmount || currentLabel !== originalLabel || currentMode !== originalMode;
|
|
4024
4024
|
});
|
|
4025
|
+
const providerHasEditableSummaryLineOverrides =
|
|
4026
|
+
isProviderDashboardChange && Math.abs(editableSummaryPreSubtotalDelta) >= 0.005;
|
|
4025
4027
|
const hasEffectiveChangeSelection =
|
|
4026
4028
|
hasChangeSelection ||
|
|
4027
4029
|
providerHasEditedLineOverrides ||
|
|
4028
4030
|
providerHasAdditionalAdjustments ||
|
|
4031
|
+
providerHasEditableSummaryLineOverrides ||
|
|
4029
4032
|
Math.abs(adminCustomAdjustmentTotal) >= 0.005;
|
|
4030
4033
|
|
|
4031
4034
|
/**
|
|
@@ -4413,10 +4416,10 @@ export function AdminChangeBookingFlow({
|
|
|
4413
4416
|
itinerarySteps,
|
|
4414
4417
|
dateChanged: changeSelectionDetails.dateChanged,
|
|
4415
4418
|
ticketsChanged: changeSelectionDetails.ticketsChanged,
|
|
4416
|
-
hasChangesFromInitial:
|
|
4419
|
+
hasChangesFromInitial: hasEffectiveChangeSelection,
|
|
4417
4420
|
selectionTotal:
|
|
4418
4421
|
originalReceipt
|
|
4419
|
-
? suppressSelfServeCurrencyUi && !selfServePricingConfirmed
|
|
4422
|
+
? suppressSelfServeCurrencyUi && !selfServePricingConfirmed && !useAdminFeAuthoritativeQuote
|
|
4420
4423
|
? null
|
|
4421
4424
|
: displayChangeFlowProposedTotalWithEditableLines
|
|
4422
4425
|
: totalPrice,
|
|
@@ -4429,6 +4432,7 @@ export function AdminChangeBookingFlow({
|
|
|
4429
4432
|
computeItineraryDisplay,
|
|
4430
4433
|
product.name,
|
|
4431
4434
|
changeSelectionDetails,
|
|
4435
|
+
hasEffectiveChangeSelection,
|
|
4432
4436
|
totalPrice,
|
|
4433
4437
|
currency,
|
|
4434
4438
|
originalReceipt,
|
|
@@ -79,7 +79,12 @@
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"productId": "p_aaD7mhbGaZOi",
|
|
82
|
-
"optionIds": ["po_BOw9d7qIWEhJ"],
|
|
82
|
+
"optionIds": ["po_EczO92oiIBKF", "po_BOw9d7qIWEhJ"],
|
|
83
|
+
"dependentAddOnProductIds": [
|
|
84
|
+
"dap_sM8pSzbFfU7P",
|
|
85
|
+
"dap_6tITweGzVyg8",
|
|
86
|
+
"dap_Xy3OCPIKQ7vr"
|
|
87
|
+
],
|
|
83
88
|
"display": {
|
|
84
89
|
"path": "/lake-louise-shuttle",
|
|
85
90
|
"slug": "lake-louise-adventure",
|