Commit Graph

3 Commits

Author SHA1 Message Date
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
Nut.ไปเรื่อย 097478a3dd feat: add construction installment calculator (single HTML) 2026-05-28 12:52:25 +07:00
Nut.ไปเรื่อย c21b125fc6 chore: add construction installment calculator design spec and plan 2026-05-28 12:48:48 +07:00