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

@@ -144,6 +144,10 @@
"tenant-first-name-placeholder": "Enter tenant's first name",
"tenant-last-name-label": "Tenant Last Name",
"tenant-last-name-placeholder": "Enter tenant's last name",
"tenant-street-label": "Tenant Street",
"tenant-street-placeholder": "Enter tenant's street",
"tenant-town-label": "Tenant Town",
"tenant-town-placeholder": "Enter tenant's town",
"auto-utility-bill-forwarding-legend": "AUTOMATIC UTILITY BILL FORWARDING",
"auto-utility-bill-forwarding-info": "This option enables automatic forwarding of utility bills to the tenant via email according to the selected forwarding strategy.",
"auto-utility-bill-forwarding-toggle-label": "forward utility bills",
@@ -173,6 +177,8 @@
"location-name-required": "Relaestate name is required",
"tenant-first-name-required": "tenant first name is missing",
"tenant-last-name-required": "tenant last name is missing",
"tenant-street-required": "tenant street is missing",
"tenant-town-required": "tenant town is missing",
"tenant-email-required": "tenant email is missing",
"tenant-email-invalid": "email address is invalid",
"rent-amount-required": "rent amount is required when rent notification is enabled",