No description
Find a file
jtricerolph 68dab06b0a Fix zero consumption for open-period reports with sparse readings
getPeriodConsumption()'s fallback branch picked the "first" baseline
reading via readingOnOrAfter(periodStart) before readingOnOrBefore(),
so a manually-read meter with only one reading entered this month
collapsed first and last onto the same row and reported no_data/£0,
even with a valid prior-month baseline available. Prefer the
pre-period reading first.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-12 12:00:15 +00:00
backend Fix zero consumption for open-period reports with sparse readings 2026-10-12 12:00:15 +00:00
frontend Show hotel name on login screen, wire VITE_HOTEL_NAME build arg through compose 2026-08-26 10:22:15 +00:00
.gitignore Initial commit — utilities app (meter readings, tariffs, cost tracking) 2026-07-26 17:33:42 +00:00
docker-compose.yml Show hotel name on login screen, wire VITE_HOTEL_NAME build arg through compose 2026-08-26 10:22:15 +00:00
seed-app.js Fix TOU rate-window mismatch and enforce fallback-split validation 2026-07-28 12:59:19 +00:00