feat: add taxOffice and website fields to customers (db: customers)

This commit is contained in:
kovakmedya
2026-05-07 19:40:34 +03:00
parent f00928af4f
commit 63531d30d9
6 changed files with 32 additions and 0 deletions
+2
View File
@@ -29,6 +29,8 @@ function pickFormFields(formData: FormData) {
email: String(formData.get("email") ?? "").trim(),
phone: String(formData.get("phone") ?? "").trim(),
taxId: String(formData.get("taxId") ?? "").trim(),
taxOffice: String(formData.get("taxOffice") ?? "").trim(),
website: String(formData.get("website") ?? "").trim(),
address: String(formData.get("address") ?? "").trim(),
notes: String(formData.get("notes") ?? "").trim(),
status: (formData.get("status") as "active" | "passive" | null) ?? "active",