Add rent amount field to location form
- Add rentAmount field to BillingLocation interface (stored in cents) - Implement Zod validation with conditional requirement when rent notification is enabled - Add rent amount input field to LocationEditForm with decimal display - Update all database operations to persist rentAmount - Add localization strings for both English and Croatian - Fix missing notes field in insertOne/insertMany operations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -141,6 +141,8 @@
|
||||
"auto-rent-notification-info": "Ova opcija omogućuje automatsko slanje mjesečnog računa za najamninu podstanaru putem emaila na zadani dan u mjesecu.",
|
||||
"auto-rent-notification-toggle-label": "pošalji obavijest o najamnini",
|
||||
"rent-due-day-label": "Dan u mjesecu kada dospijeva najamnina",
|
||||
"rent-amount-label": "Iznos najamnine",
|
||||
"rent-amount-placeholder": "Unesite iznos najamnine",
|
||||
"tenant-email-legend": "EMAIL PODSTANARA",
|
||||
"tenant-email-placeholder": "Unesite email podstanara",
|
||||
"warning-missing-tenant-names": "Upozorenje: Ime i prezime podstanara nedostaju. 2D barkod neće biti prikazan podstanaru kada otvori podijeljenu poveznicu dok oba polja ne budu popunjena.",
|
||||
@@ -160,6 +162,8 @@
|
||||
"tenant-last-name-required": "nedostaje prezime podstanara",
|
||||
"tenant-email-required": "nedostaje email podstanara",
|
||||
"tenant-email-invalid": "email adresa nije ispravna",
|
||||
"rent-amount-required": "iznos najamnine je obavezan kada je uključena obavijest o najamnini",
|
||||
"rent-amount-positive": "iznos najamnine mora biti pozitivan broj",
|
||||
"validation-failed": "Validacija nije uspjela. Molimo provjerite formu i pokušajte ponovno."
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user