feat: add taxOffice and website fields to customers (db: customers)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user