Commit graph

21 commits

Author SHA1 Message Date
3f853b8162
chore(data): remove sample.pdf from seed data
This file is no longer needed in the seed data.
2026-10-22 14:38:36 +02:00
84f405d50c
feat(seeder): add dynamic pages and page configs seeders
- Introduced ImportDynamicPagesSeeder for dynamic pages.
- Added JSON files for dynamic pages and page configurations.
2026-10-21 15:33:42 +02:00
7c80ac1f11
refactor(seeders): simplify product synchronization logic
Replaced conditional with a more concise when() function for syncing products.
2026-10-20 15:39:00 +02:00
dd6eeb558a
feat(seeders): add recipe synchronization with products
Implement functionality to sync associated recipes for products during CSV import.
2026-10-20 15:34:36 +02:00
b9a0aedceb
refactor(seeders): streamline product and recipe import logic
Refactored the product and recipe import logic to enhance readability and maintainability.
2026-10-20 15:17:26 +02:00
597e1c720a
refactor: add missing nutritional values on products 2026-10-20 12:23:15 +02:00
455ec468d8
refactor(seeder): simplify enum value retrieval logic
Updated the methods for retrieving enum values to improve readability and maintainability.
2026-10-19 14:55:03 +02:00
b989a45864
refactor: update products csv file and parser 2026-10-19 13:10:17 +02:00
363f0f15e2
feat(seeder): enhance product and recipe import functionality
- Added new columns to the product and recipe import CSVs.
- Implemented robust header validation and mapping for CSV files.
- Refactored data extraction methods for improved readability and maintainability.
- Enhanced error handling during product and recipe creation.
2026-10-19 13:03:27 +02:00
83c5ff3e6f
feat(products): add description field to product model and forms
- Added description field to Product model and database migration.
- Updated StoreProductRequest validation rules for description.
- Modified product factory and seeder to include description.
- Enhanced product forms and show pages to display description.
2026-10-19 11:38:58 +02:00
48cde3db8e
fix: add deleted_at column to users table 2026-10-16 18:04:57 +02:00
Jeremy Munsch
9efcb32ee1
refactor: hudge bump !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111
Fixes #59
2026-10-16 14:00:55 +02:00
33494d0360
refactor: phpcs,phpstan fixes with pint pass 2026-09-21 11:50:39 +02:00
1a7f321cff
refactor: initial Recipes and products implementation ok 2026-09-21 11:43:39 +02:00
1a12569395
feat(directory): update ProductDirectory to use ProductId
- Changed the find method to accept ProductId instead of int.
- Added findBySlug method to retrieve products by slug.
- Updated getCategoryProducts method to return CategoryProducts type.

feat(eloquent): implement findBySlug in EloquentProductDirectory

- Implemented findBySlug method to retrieve products by slug.
- Updated find method to handle ProductId.

feat(dto): enhance CategoryProducts to serialize product IDs

- Updated CategoryProducts to serialize product IDs as strings.

feat(controller): modify ProductController to handle search limits

- Set limitPerCategory to -1 for search functionality.

refactor(model): change Product model ID to UUID

- Changed the id field in Product model to UUID.
- Updated related methods to handle UUIDs.

feat(migration): alter products and recipes tables for UUIDs

- Updated migrations to use UUIDs for primary keys in products and recipes tables.
- Adjusted foreign key constraints in product_recipe table.

feat(route): add route model binding for products

- Implemented route model binding for products using ProductId and slug.

chore(seed): remove CSV import calls from MandatorySeeder

- Removed calls to ImportProductsCsvSeeder and ImportRecipesCsvSeeder.

feat(entity): create ProductId and RecipeId value objects

- Added ProductId and RecipeId classes to encapsulate UUIDs.

feat(frontend): update TypeScript interfaces for products

- Updated TypeScript interfaces to reflect changes in product structure.
2026-09-21 11:43:39 +02:00
1200bfea4c
refactor: product.index page with search 2026-09-21 11:43:38 +02:00
028f769dbc
feat(products): add create and edit product pages
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.
2026-09-21 11:36:52 +02:00
43c3d55b72
refactor: products.index and recipes.index pages on Bo 2026-09-21 11:36:51 +02:00
Jeremy Munsch
d29100bb61
refactor: add recipes and products with data migration from sharepoint doc 2026-09-21 11:35:41 +02:00
K Muller
eef93adb2c chore: 📦 update laravel-common > 5.1.1 2026-03-30 14:12:01 +02:00
K Muller
a6370dcb47 first commit 2026-03-16 12:36:44 +01:00