@ticketboothapp/booking 1.2.168 → 1.2.169

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.168",
3
+ "version": "1.2.169",
4
4
  "private": false,
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -39,6 +39,8 @@ export interface AdminChangeReceiptComparisonProps {
39
39
  selectionChanged: boolean;
40
40
  quoteError?: string | null;
41
41
  amountDueLabel: string;
42
+ /** Whether to show the detailed post-change settlement summary above the amount-due bar. */
43
+ showAfterChangeSummary?: boolean;
42
44
  currency: Currency;
43
45
  locale: string;
44
46
  t: TranslationFn;
@@ -98,6 +100,7 @@ export function AdminChangeReceiptComparison({
98
100
  selectionChanged,
99
101
  quoteError,
100
102
  amountDueLabel,
103
+ showAfterChangeSummary = true,
101
104
  currency,
102
105
  locale,
103
106
  t,
@@ -317,7 +320,7 @@ export function AdminChangeReceiptComparison({
317
320
  </section>
318
321
  ) : null}
319
322
 
320
- {quoteReady ? (
323
+ {quoteReady && showAfterChangeSummary ? (
321
324
  <section className="rounded-lg border border-stone-300 bg-white px-3 py-3 shadow-sm">
322
325
  <h3 className="text-sm font-semibold text-stone-900">After this change</h3>
323
326
  {settlementReady ? (
@@ -612,6 +612,7 @@ export function ChangeBookingFlow({
612
612
  selectionChanged={hasEffectiveChangeSelection}
613
613
  quoteError={changeQuoteFetchError}
614
614
  amountDueLabel="Amount due now"
615
+ showAfterChangeSummary={false}
615
616
  currency={currency}
616
617
  locale={locale}
617
618
  t={t}