Add billedToTenant property to Bill interface with UI support
Added new boolean property to track whether a bill should be paid by the tenant. Changes: - Added billedToTenant property to Bill interface in db-types.ts - Added checkbox UI control in BillEditForm for billedToTenant - Added state management and change handler for the checkbox - Added i18n translations (EN: "Billed to tenant", HR: "Plaća podstanar") - Set default value to true for new bills Note: Server action implementation pending - property not yet persisted to database. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -102,7 +102,8 @@
|
||||
"form-error-message": "Forma nije ispravno popunjena. Molimo provjeri, pa pokušaj ponovno"
|
||||
},
|
||||
"attachment": "Privitak",
|
||||
"back-button": "Nazad"
|
||||
"back-button": "Nazad",
|
||||
"billed-to-tenant": "Plaća podstanar"
|
||||
},
|
||||
"location-delete-form": {
|
||||
"text": "Molim potvrdi brisanje nekretnine \"<strong>{name}</strong>\".",
|
||||
|
||||
Reference in New Issue
Block a user