@ticketboothapp/booking 1.2.170 → 1.2.171
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
|
@@ -212,14 +212,13 @@ export function AdminChangeCheckoutPanel({
|
|
|
212
212
|
onLineAmountReset,
|
|
213
213
|
lineLabelInputs,
|
|
214
214
|
}: AdminChangeCheckoutPanelProps) {
|
|
215
|
+
const authoritativeAmountDue = serverAmountDue ?? changeFlowAmountDue;
|
|
215
216
|
const totalSummaryLabel =
|
|
216
217
|
(serverRefundCandidate ?? 0) > 0.005
|
|
217
218
|
? 'Amount to refund customer'
|
|
218
|
-
:
|
|
219
|
-
? '
|
|
220
|
-
:
|
|
221
|
-
? 'Amount due from customer'
|
|
222
|
-
: 'No payment or refund due';
|
|
219
|
+
: authoritativeAmountDue > 0.005
|
|
220
|
+
? 'Amount due from customer'
|
|
221
|
+
: 'No payment or refund due';
|
|
223
222
|
const pricingAdjustments = (
|
|
224
223
|
<AdminChangePricingAdjustments
|
|
225
224
|
showChangeFlowManualPriceLines={showChangeFlowManualPriceLines}
|