fix: typo

This commit is contained in:
Methapon2001 2024-12-03 12:57:48 +07:00
parent 9504dc9f46
commit f3982978fa

View file

@ -34,7 +34,7 @@ const templates = {
`- เงื่อนไขการชำระเงิน แบบแบ่งจ่าย${context?.paymentType === 'SplitCustom' ? ' กำหนดเอง ' : ' '}${context?.installments?.length} งวด`,
...(context?.installments?.map(
(v) =>
`  งดที่ ${v.no} จำนวน ${formatNumberDecimal(v.amount, 2)}`,
`  งดที่ ${v.no} จำนวน ${formatNumberDecimal(v.amount, 2)}`,
) || []),
].join('<br />');
}