0e2ffc1c74
feat(catalog): add product variant controller, requests and resources
2026-06-24 15:29:01 -03:00
1907178e52
refactor(catalog): nest catalog routes under tenant
...
Move Catalog endpoints under /api/tenants/{tenant:codigo} and derive tenant
context from the route instead of request payload fields.
- scope marcas, categorias, productos, and product-attributes by tenant
- enforce tenant ownership in catalog controllers
- remove tenant_codigo and tenant_code from Catalog request validation
- update product attribute tests to use tenant-scoped routes
2026-06-24 15:16:38 -03:00
c6e5177df1
feat(catalog): add tenant-scoped product attributes and variant definitions
2026-06-24 15:08:13 -03:00
75129b7552
remove props
2026-06-24 14:43:10 -03:00
8e343ea9c3
Add ProductVariant model and migration for productos_variantes table
2026-06-24 11:41:42 -03:00
696010a70e
Remove unused 'props' unset operation in store and update methods across Brand, Category, Product, and Tenant controllers
2026-06-24 11:13:18 -03:00
e4139d48aa
Refactor request validation to use model-specific prop synchronization and add migrations for categories and brands
2026-06-24 11:02:35 -03:00
8d840d94a0
Update StoreCategoryRequest to require tenant_code only when categoria_id is present
2026-06-24 10:43:23 -03:00
8e5814e333
Refactor Brand, Category, and Product controllers to use createWithProps and updateWithProps methods for improved property synchronization
2026-06-24 10:28:46 -03:00
6a0080b475
Add Brand and Category management features with controllers, requests, resources, and API routes
2026-06-24 10:20:13 -03:00
8feaa0051d
Implement Product management features with controller, requests, resource, and routes
2026-06-24 10:05:26 -03:00