feat(pos): show Card first in pay sheet, keep Cash as default
CI/CD / CI · API (dotnet build + test) (push) Successful in 43s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 31s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m6s
CI/CD / CI · Admin Web (tsc) (push) Has been cancelled
CI/CD / CI · Website (tsc) (push) Has been cancelled
CI/CD / CI · Koja (tsc) (push) Has been cancelled
CI/CD / Deploy · all services (push) Has been cancelled
CI/CD / CI · API (dotnet build + test) (push) Successful in 43s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 31s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m6s
CI/CD / CI · Admin Web (tsc) (push) Has been cancelled
CI/CD / CI · Website (tsc) (push) Has been cancelled
CI/CD / CI · Koja (tsc) (push) Has been cancelled
CI/CD / Deploy · all services (push) Has been cancelled
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user