Nut.ไปเรื่อย 43e37df39f fix: correct rounding drift, XSS hazard, nookPct coupling, confirm guard, BE filename
- Rounding drift: last installment computed as remainder (contract - cumSoFar) so column sums match exactly
- XSS: input values set via .value property assignment instead of attribute interpolation in innerHTML
- nookPct: getInputs() now derives nookPct as 100 - ngpmPct (single source of truth)
- Confirm guard: onCountChange only prompts when n differs from current installments.length
- Export filename: uses Buddhist Era year (getFullYear() + 543) consistent with all date displays
2026-05-28 12:58:28 +07:00
S
Description
RMUTR workspace
86 KiB
Languages
HTML 100%