Commit Graph

23 Commits

Author SHA1 Message Date
59ed592787 feat: enhance Category and Brand resources with tenant handling and serialization improvements 2026-06-29 14:18:29 -03:00
24235c5ca9 feat: add brand and category relationships to products, update requests and resources, and seed product catalog from images 2026-06-29 13:47:05 -03:00
49771ebb13 feat: implement product and attachment management service with supporting migrations and API controllers 2026-06-29 12:13:21 -03:00
cd420e02d8 feat: create ProductService to handle product, variant, and attribute management operations 2026-06-29 12:04:14 -03:00
0206ee2985 feat: implement product variant CRUD operations and tenant configuration seeding 2026-06-29 11:59:07 -03:00
9b7d728117 feat: implement product and attribute management services with corresponding controllers and feature tests 2026-06-29 11:37:22 -03:00
b5b57a753c feat: implement product and variant management controllers with request validation and feature tests 2026-06-29 11:10:04 -03:00
18504594eb feat: implement product creation workflow with variants, attribute definitions, and validation logic 2026-06-29 11:02:04 -03:00
74e443ece1 feat: add attachment relationship to ProductVariant model and database schema 2026-06-29 09:56:15 -03:00
6efda4727f feat: implement product attribute options with database migration, resource, and validation requests 2026-06-29 09:48:56 -03:00
4125d8353d feat: add multi-tenant controllers for catalog and tenant management and implement pagination macro in AppServiceProvider 2026-06-29 09:02:39 -03:00
4c237fb729 feat: implement product attributes and tenant properties management with CRUD controllers, requests, and domain models 2026-06-26 11:40:07 -03:00
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