worktree-citti-arkiver-tur #11

Merged
hjess merged 2 commits from worktree-citti-arkiver-tur into main 2026-10-30 13:59:39 +01:00
Owner
No description provided.
hjess added 2 commits 2026-10-30 13:59:34 +01:00
Editing a quantity always saved, but the 'modified' class painted the field
accent-red, which read as a validation error ('can't change it'). Recolor it
to the green success style used by the actual-price field. Also make updateQty
call recalcAll so the estimate/budget react to quantity changes too, not just
the meal stats.
Estimeret total used each row's fixed line estimate, so changing a quantity
(6 → 8) didn't move the price or the per-day budget unless the item matched a
weight offer. Now scale an unmatched item's estimate by the quantity ratio
(current number ÷ default number via qtyNum), so doubling the amount ~doubles
its estimate. Combined with updateQty→recalcAll, price and budget update live
on every quantity edit.
hjess merged commit d464fe9edc into main 2026-10-30 13:59:39 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hjess/ti#11