Add tenantStreet and tenantTown fields to LocationEditForm

- Added tenantStreet and tenantTown optional fields to BillingLocation interface
- Updated LocationEditForm to include new input fields with 27 character max length
- Both fields are mandatory when 2D code generation is enabled
- Updated all database operations (insert and update) to persist new fields
- Added Croatian and English translations for labels and validation messages
- Updated form state tracking to include new tenant address fields

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-11-22 15:33:00 +01:00
parent 3cf880a661
commit ec39eda51f
5 changed files with 103 additions and 1 deletions

View File

@@ -143,6 +143,10 @@
"tenant-first-name-placeholder": "Unesite ime podstanara",
"tenant-last-name-label": "Prezime podstanara",
"tenant-last-name-placeholder": "Unesite prezime podstanara",
"tenant-street-label": "Ulica podstanara",
"tenant-street-placeholder": "Unesite ulicu podstanara",
"tenant-town-label": "Grad podstanara",
"tenant-town-placeholder": "Unesite grad podstanara",
"auto-utility-bill-forwarding-legend": "AUTOMATSKO PROSLJEĐIVANJE REŽIJA",
"auto-utility-bill-forwarding-info": "Ova opcija omogućuje automatsko prosljeđivanje režija podstanaru putem emaila u skladu s odabranom strategijom.",
"auto-utility-bill-forwarding-toggle-label": "proslijedi režije automatski",
@@ -172,6 +176,8 @@
"location-name-required": "Ime nekretnine je obavezno",
"tenant-first-name-required": "nedostaje ime podstanara",
"tenant-last-name-required": "nedostaje prezime podstanara",
"tenant-street-required": "nedostaje ulica podstanara",
"tenant-town-required": "nedostaje grad 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",