Add "Wasser & Heizung" page for the NeoVac water and heating bills #19
Loading…
Reference in a new issue
No description provided.
Delete branch "water-bill-guide"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New page Wasser & Heizung (
/water-heating, under Charts) for the NeoVac water and heating bills. NeoVac only reports per-mille shares of the property; the own costs in CHF come from the property manager's statement. The existing Wasser page stays unchanged for bills with the CHF values entered directly (e.g. Mannenbach).WaterHeatingBillstored per mandator inwater-heating.json(also editable in the JSON editor): consumption (warm/cold m³, heat MWh), NeoVac ‰ shares, own water and heating costs.CalculateCostssplits water costs into base/consumption by ‰, consumption into warm/cold water by m³, and the heating into warm water (by the warm water ‰) and rooms. The CHF parts are stored so periods can add them up.WaterHeatingBillChecks): NeoVac ‰ vs. the optional ‰ of the property manager, the property totals implied by the own share, and prices per unit vs. the previous bill (flagged above ±25 %).Verified: all 176 tests pass (new: model, checks, repository, JSON editor). Checked in a separate app instance on a scratch copy of the data: entering the 2024/25 bill gives Grundkosten 67.48, Warmwasser 57.23, Kaltwasser 179.59, Heizung Warmwasser 91.02, Räume 360.63 (total 755.95), the charts and the checks render, the date picker still works. Not checked against more than one real bill.
🤖 Generated with Claude Code