Rename firstName to ownerName with updated validation
- Renamed firstName to ownerName in UserSettings interface - Updated UserSettingsForm field to accept full name (first and last) - Set maximum length to 25 characters for owner name field - Updated all database operations to use ownerName - Changed English label from "First Name" to "Your First and Last Name" - Updated Croatian translations to match (Vaše ime i prezime) - Updated form validation schema and error messages - Removed old lastName-related translations - Updated ViewLocationCard to use ownerName for recipient 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ export const ViewLocationCard:FC<ViewLocationCardProps> = ({location, userSettin
|
||||
ImePlatitelja: tenantName ?? "",
|
||||
AdresaPlatitelja: tenantStreet ?? "",
|
||||
SjedistePlatitelja: tenantTown ?? "",
|
||||
Primatelj: userSettings?.firstName ?? "",
|
||||
Primatelj: userSettings?.ownerName ?? "",
|
||||
AdresaPrimatelja: userSettings?.street ?? "",
|
||||
SjedistePrimatelja: userSettings?.town ?? "",
|
||||
IBAN: userSettings?.iban ?? "",
|
||||
|
||||
Reference in New Issue
Block a user