feat: add separate unpaid and paid bill totals to location cards
- Display both unpaid and paid bill amounts in LocationCard and MonthCard - Rename variables for clarity: totalUnpaid, totalPayed, unpaidTotal, payedTotal - ViewLocationCard uses totalAmount for tenant bills (regardless of payment status) - Update Croatian translations: "Ukupno neplaćeno" (unpaid), "Ukupno plaćeno" (paid) - Add ShoppingCartIcon for unpaid amounts, BanknotesIcon for paid amounts - Update HomePage to calculate and pass both totals to month cards 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,8 @@
|
||||
"location-card": {
|
||||
"edit-card-tooltip": "Izmjeni nekretninu",
|
||||
"add-bill-button-tooltip": "Dodaj novi račun",
|
||||
"payed-total-label": "Ukupno plaćeno:",
|
||||
"total-due-label": "Ukupno neplaćeno:",
|
||||
"total-payed-label": "Ukupno plaćeno:",
|
||||
"link-copy-message": "Link kopiran na clipboard",
|
||||
"monthly-statement-legend": "Obračun",
|
||||
"seen-by-tenant-label": "viđeno od strane podstanara",
|
||||
@@ -81,7 +82,8 @@
|
||||
"revolut-link-text": "Plati pomoću Revoluta"
|
||||
},
|
||||
"month-card": {
|
||||
"payed-total-label": "Ukupni mjesečni trošak:",
|
||||
"total-due-label": "Ukupno neplaćeno u mjesecu:",
|
||||
"total-payed-label": "Ukupno plaćeno u mjesecu:",
|
||||
"print-codes-tooltip": "Ispis 2d kodova",
|
||||
"print-codes-label": "Ispis kodova"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user