@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticketboothapp/booking",
3
- "version": "1.2.170",
3
+ "version": "1.2.171",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -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
- : changeFlowAmountDue < -0.005
219
- ? 'Balance reduction'
220
- : changeFlowAmountDue > 0.005
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}