From cda9ee5a34b49f28503e174f6dc288de487496f6 Mon Sep 17 00:00:00 2001 From: NotAbdelrahmanelsayed Date: Tue, 9 Jun 2026 20:25:56 +0200 Subject: [PATCH 1/2] feat(shift-closing): default payment counts to 0 instead of null Previously every payment method in the closing-shift reconciliation started as null with _touched=false, forcing the cashier to click into each row before the form could be submitted. Methods with no cash collected still had to be touched manually. Default closing_amount to 0 and mark rows as touched so the expected amounts compute immediately and the shift can be closed without manually zeroing untouched methods. Co-Authored-By: Claude Opus 4.8 --- POS/src/components/ShiftClosingDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/POS/src/components/ShiftClosingDialog.vue b/POS/src/components/ShiftClosingDialog.vue index 8f110ed2b..d6beb9614 100644 --- a/POS/src/components/ShiftClosingDialog.vue +++ b/POS/src/components/ShiftClosingDialog.vue @@ -615,9 +615,9 @@ async function loadClosingData() { data.payment_reconciliation = data.payment_reconciliation.map((payment) => reactive({ ...payment, - closing_amount: payment.closing_amount ?? null, + closing_amount: payment.closing_amount ?? 0, difference: 0, - _touched: false, + _touched: true, }), ) From d735dcea05b2c05b1142f0682ba91aabed3413f1 Mon Sep 17 00:00:00 2001 From: NotAbdelrahmanelsayed <97337995+NotAbdelrahmanelsayed@users.noreply.github.com> Date: Mon, 29 Jun 2026 09:38:43 +0200 Subject: [PATCH 2/2] ci: re-trigger CI (infrastructure flake on previous run)