Commit Graph

9 Commits

Author SHA1 Message Date
Knee Cola
f0ccac3f68 Filter bills display to show only billedToTenant bills
Updated all components to respect the billedToTenant flag:

- LocationCard: Filter bills display and monthlyExpense calculation
- ViewLocationCard: Filter bills display and monthlyExpense calculation
- HomePage: Update monthlyExpense calculations for month grouping
- printActions: Filter barcode print data to only include tenant bills

All filtering uses (bill.billedToTenant ?? true) for backward
compatibility with existing bills that don't have this property set.

This ensures users only see and calculate expenses for bills that
are the tenant's responsibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 13:36:42 +01:00
eef93528e3 set current year as default active year
Changes default year from first available year in database to current year (Date.now) when no year parameter is provided in URL.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-11 10:10:45 +02:00
27b696faab home page converted back to server-side component 2024-02-09 09:40:43 +01:00
14c0438500 HomePage: state optimization 2024-02-08 14:43:38 +01:00
e2f7b21a5e BugFix: HomePage did not parse URL correctly 2024-02-08 14:04:48 +01:00
3bd487d126 refactor: renamed API dirs 2024-02-08 13:27:28 +01:00
8703decb91 HomePage: switched to client-side rendering 2024-02-08 13:23:23 +01:00
7dcc232447 disabled experimental delay 2024-02-02 10:24:49 +01:00
3cb93c53c4 added suspense for home page 2024-02-02 10:12:10 +01:00