From 971411e1c2f1a803e454dc7d61c29558b85aa077 Mon Sep 17 00:00:00 2001 From: Deploy Date: Wed, 26 Aug 2026 22:11:08 +0200 Subject: [PATCH] fix(pos-selfpay): add Confirmar button after payment + print-only receipt --- project/apps/pos/src/app/(terminal)/page.tsx | 38 ++++++++++++++------ 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/project/apps/pos/src/app/(terminal)/page.tsx b/project/apps/pos/src/app/(terminal)/page.tsx index 16f2f58..a9fab9e 100644 --- a/project/apps/pos/src/app/(terminal)/page.tsx +++ b/project/apps/pos/src/app/(terminal)/page.tsx @@ -1659,19 +1659,32 @@ export default function RegisterPage() { )} {/* POS-SELFPAY-FLOW: in selfpay mode, hide payment methods until email is captured */} {(!isSelfpayMode || selfpayPaymentReady) && ( -
- {config.paymentMethods.map((method) => ( + <> +
+ {config.paymentMethods.map((method) => ( + + ))} +
+ {/* POS-SELFPAY-FLOW: confirm button after payment added in selfpay */} + {isSelfpayMode && selfpayPaymentReady && !paymentMethod && ( - ))} -
+ )} + )}
{!isSelfpayMode && ( @@ -2119,8 +2132,13 @@ export default function RegisterPage() { {receipt && ( {