Commit Graph

10 Commits

Author SHA1 Message Date
ncoronel 0d4c6a4492 feat: implement BankAccount management with CRUD operations and routes for tenant selection 2026-07-03 13:58:21 -03:00
ncoronel c1b7b12fe1 feat: add endpoint to retrieve selected bank account for a tenant and update routes with authentication 2026-07-03 13:54:31 -03:00
ncoronel b1e40b3430 feat: implement BankAccount management with CRUD operations and selection for tenants 2026-07-03 13:43:32 -03:00
ncoronel 0dae985230 feat: implement tenant management system including CRUD operations and domain bootstrapping functionality 2026-06-26 11:55:05 -03:00
ncoronel 689d115a8f feat(tenant): reintroduce tenant-specific props and instance values
Restore props support only for the Tenant domain using a tenant-scoped model
instead of the removed generic Prop/Propable implementation.

Add tenant prop definitions and instance values:
- add TenantProp and TenantPropValue models
- add tenant-only data type enum and prop validation rules
- add migrations for tenant_props and tenant_prop_values tables
- persist prop values by tenant_codigo + tenant_prop_codigo

Expose tenant prop management through the Tenant domain:
- add TenantPropController with CRUD endpoints
- add Store/Update request classes for tenant prop definitions
- register tenant-props routes

Re-enable tenant prop syncing and serialization:
- restore createWithProps/updateWithProps flows in Tenant
- validate props on tenant create/update requests
- include collapsed props in TenantResource
- keep the implementation scoped to Tenant without reintroducing polymorphic props

Add coverage for the new tenant prop behavior:
- update bootstrap tenant feature test to assert prop values
- add feature tests for tenant prop creation and validation
2026-06-24 14:50:58 -03:00
ncoronel 75129b7552 remove props 2026-06-24 14:43:10 -03:00
ncoronel 3c6469617b Add BootstrapTenantController and requests for tenant domain normalization; implement API route and tests 2026-06-23 09:49:54 -03:00
ncoronel f7293feabc Add TenantPropController and requests for managing tenant properties; define API routes for tenant props 2026-06-22 16:52:45 -03:00
ncoronel 0847fe1a26 Remove TenantPropController, TenantProp model, and related requests; update API routes and migrations 2026-06-22 16:50:02 -03:00
ncoronel 93a2750d33 Refactor project structure to use domain-oriented architecture; add Product and Tenant domains with controllers, models, requests, resources, and routes 2026-06-19 11:59:28 -03:00