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

This commit is contained in:
Methapon2001 2025-09-17 11:53:15 +07:00
parent beb7f4bcfe
commit 068ba2d293

View file

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