From bf0ca68fa6d769d2f9552ad939dadd61c9bcc4d5 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Thu, 4 Jun 2026 05:32:26 +0330 Subject: [PATCH] feat(pos): show Card first in pay sheet, keep Cash as default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reorder the payment method tabs to کارت / نقدی / تقسیم (Card first, most common in Iran) while keeping Cash as the pre-selected default method. Co-Authored-By: Claude Opus 4.8 --- web/dashboard/src/components/pos2/pos2-screen.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/dashboard/src/components/pos2/pos2-screen.tsx b/web/dashboard/src/components/pos2/pos2-screen.tsx index 7f94979..6d8b4b2 100644 --- a/web/dashboard/src/components/pos2/pos2-screen.tsx +++ b/web/dashboard/src/components/pos2/pos2-screen.tsx @@ -725,9 +725,10 @@ function Pos2PaySheet({ onConfirm(payments.filter((p) => p.amount > 0), redeem); }; + // Card listed first (most common in Iran); Cash stays the pre-selected default. const TABS = [ - { id: "cash", name: "نقدی", icon: Banknote }, { id: "card", name: "کارت", icon: CreditCard }, + { id: "cash", name: "نقدی", icon: Banknote }, { id: "split", name: "تقسیم", icon: SplitSquareHorizontal }, ] as const;