feat: adjust text

This commit is contained in:
Methapon2001 2025-01-23 16:04:56 +07:00
parent b022ff490b
commit 2e5194c576

View file

@ -66,7 +66,7 @@ const templates = {
return (
`${i + 1}. ` +
`${employee.namePrefix}. ${employee.firstNameEN} ${employee.lastNameEN} `.toUpperCase() +
`(${branch.customer.customerType === 'PERS' ? `${branch.namePrefix}. ${branch.firstNameEN} ${branch.lastNameEN} `.toUpperCase() : branch.registerName})`
`(${branch.customer.customerType === 'PERS' ? `นายจ้าง ${branch.namePrefix}. ${branch.firstNameEN} ${branch.lastNameEN} `.toUpperCase() : branch.registerName})`
);
});
return [`- ${item.product.name} ราคา ${price} บาท`, '', ...list].join(