chore: save pending changes

This commit is contained in:
2026-09-12 19:59:10 +03:00
parent 6b310db0b8
commit ae06f6e6e0
16 changed files with 403 additions and 42 deletions
@@ -71,6 +71,11 @@ const bankCardSchema = z.object({
(value) => !value || /^\d{4}$/.test(value),
validationMessage("bank.validation.lastFour"),
),
paymentSystem: z
.enum(["", "mir", "visa", "mastercard"], {
errorMap: validationMessage("bank.validation.paymentSystem"),
})
.optional(),
openingBalance: moneySchema,
openingDate: bankDateSchema,
});