@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
|
@@ -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 ? (
|