fix: type error
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 4s

This commit is contained in:
Methapon2001 2025-09-17 11:55:06 +07:00
parent 068ba2d293
commit ab4ea4ba4b

View file

@ -312,7 +312,7 @@ const flowAccount = {
] ]
.filter(Boolean) .filter(Boolean)
.join(" "), .join(" "),
contactTaxId: customer.citizenId || customer.legalPersonNo, contactTaxId: customer.citizenId || customer.legalPersonNo || "-",
contactBranch: contactBranch:
(customer.customer.customerType === CustomerType.PERS (customer.customer.customerType === CustomerType.PERS
? [customer.firstName, customer.lastName].join(" ").trim() ? [customer.firstName, customer.lastName].join(" ").trim()