Include bills in client-side updateLeftover() in weekly.html #26

Open
opened 2026-06-06 19:58:14 +00:00 by tonym · 0 comments

Severity: medium
Category: bug
Location: templates/weekly.html:415-438

Problem

The live 'What's Left' recalculation omits bills_total, so after editing balance/income the displayed leftover is higher than reality by the week's bills.

Suggested fix

Pass w.bills_total via data-attr and subtract it in updateLeftover() (and confirm the intended server formula).

Filed by automated code review.

**Severity:** medium **Category:** bug **Location:** `templates/weekly.html:415-438` ### Problem The live 'What's Left' recalculation omits bills_total, so after editing balance/income the displayed leftover is higher than reality by the week's bills. ### Suggested fix Pass `w.bills_total` via data-attr and subtract it in updateLeftover() (and confirm the intended server formula). _Filed by automated code review._
tonym added the
bug
severity:medium
labels 2026-06-06 19:58:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bonna61/Moon-Household-Budget#26
No description provided.