Commit graph

319 commits

Author SHA1 Message Date
Jérémy Munsch
c58a2c8b23
feat(orders): add checkout lock, FAIL/PENDING isolation, and stale pending expiration 2026-11-16 20:05:35 +01:00
Jérémy Munsch
fae7690161
fix(security): escape slider description/toast text and validate product brand and alt fields 2026-11-16 02:50:39 +01:00
Jérémy Munsch
abf3839f98
fix(dates): enforce UTC and calendar-date casts across models, requests and BO views 2026-11-16 01:58:43 +01:00
Jérémy Munsch
6663f0f66f
fix(fo): invert is_orderable condition for opacity and coming soon badge 2026-11-16 01:30:10 +01:00
Jérémy Munsch
550f2a11c8
fix(fo): use ProductWithPricingDto for product policy checks in FO views 2026-11-16 01:16:56 +01:00
Jérémy Munsch
f0617c06ce
feat(i18n): translate StatsShopType labels and synchronize fr/en json files 2026-11-16 01:01:41 +01:00
Jérémy Munsch
4bbea5d285
fix(bo): check proper model policy in ranges and pickup exceptions index views 2026-11-16 00:53:36 +01:00
Jérémy Munsch
93e4b202da
feat(products): enhance product form data with additional fields
Added support for new product attributes including tax rate, invoicing unit, order unit, and orderable dates. Updated related queries and views to accommodate these changes.
2026-11-15 16:45:00 +01:00
Jérémy Munsch
3af75ac974
feat(uploads): enforce MIME/extension validation and display upload rules on BO/FO forms 2026-11-15 16:44:59 +01:00
Jérémy Munsch
9808ef9769
refactor(products): decouple views, policies and queries from Eloquent model via ProductDtoAssemblerService 2026-11-15 16:44:58 +01:00
Jérémy Munsch
cfba7f4756
refactor(storage): migrate media models, basket value objects and CQS actions to S3 2026-11-15 16:44:58 +01:00
Jérémy Munsch
192e72f554
refactor(dto): enhance OrderLineDto with flattened product properties
- Added new properties for product details in OrderLineDto.
- Updated fromModel method to map product properties correctly.
- Adjusted toArray method to include new properties.
- Improved unit tests for OrderLineDto to validate new behavior.
2026-11-02 14:53:17 +01:00
Jérémy Munsch
cd7d5f5fe9
feat(orders): implement default sorting for order queries
Added default sorting by date in descending order for order queries.
Updated related views and tests to reflect this change.
2026-10-29 21:16:06 +01:00
Jérémy Munsch
0e05779f89
feat(sliders): enhance carousel controls and responsiveness
Added padding for carousel controls on larger screens and improved button styles for better visibility and interaction.
2026-10-29 20:59:30 +01:00
Jérémy Munsch
c52b13cc51
feat(order): implement soft delete handling in order changes
Added support for soft-deleted models in ChangeModelOrder and ChangeModelOrderPosition actions.
This allows for proper order adjustments even when models are soft-deleted.
2026-10-29 19:04:46 +01:00
Jérémy Munsch
961829a0c7
fix(pickup-exceptions): update noReplacement logic for checkbox state
Ensure noReplacement reflects checkbox status for accurate behavior.
2026-10-29 18:24:21 +01:00
Jérémy Munsch
36faed679e
fix(pickup-exceptions): correct spelling of 'Blocked week'
Updated the text from 'Bloqued week' to 'Blocked week' for consistency in error messages.
2026-10-29 18:23:36 +01:00
Jérémy Munsch
cef7a4e4b0
style(pickup-exceptions): fix formatting for readability
Adjusted indentation for better code clarity.
2026-10-29 18:22:51 +01:00
Jérémy Munsch
584fee7e69
fix(EloquentPickupExceptionRepository): include pivot data in exception mapping
Updated the mapping function to include pivot data for pickup exceptions, ensuring accurate retrieval of associated order deadlines and replacement dates.
2026-10-29 17:02:07 +01:00
Jérémy Munsch
8e42639134
feat(order): implement change selected order functionality
Add functionality to change the order of models in the product list.
This includes new actions, requests, and UI components for user interaction.
2026-10-29 16:39:23 +01:00
Jérémy Munsch
a94d8a4b49
feat(products): add discount filtering to product index
- Implement discount filtering in product queries and views.
- Update related request and response handling for discounts.
2026-10-29 16:09:41 +01:00
Jérémy Munsch
b9999caf8d
feat(discounts): add discount logic for piece pricing
Implement discount calculations that apply to the piece (sold unit) for products invoiced by weight.
2026-10-29 15:43:37 +01:00
Jérémy Munsch
0d5958aae6
fix(products): update discount logic for price display
Corrected the logic for displaying discounted prices in the product views.
2026-10-29 14:56:35 +01:00
Jérémy Munsch
0edef37e50
fix(orders): correct closing tag for order reference span
This change fixes a typo in the order reference display by correcting the closing tag.
2026-10-28 15:25:28 +01:00
Jérémy Munsch
0ea946a2f6
style(orders): update button alignment and styling for order references
Improve button presentation for better visual consistency.
2026-10-28 15:18:56 +01:00
Jérémy Munsch
889cc66c07
style(faq): update accordion button states for consistency
Adjusted button classes and attributes for accordion items to ensure consistent behavior and appearance.
2026-10-28 15:06:19 +01:00
Jérémy Munsch
db684cf35f
refactor(products): update column classes for filter form
Adjusted column classes from 'col-md' to 'col-xl' for better responsiveness in the product filter form.
2026-10-28 13:15:30 +01:00
Jérémy Munsch
7a5c91e55e
refactor(crud): simplify no results messages in views
Updated no results messages to remove model references for consistency across various views.
2026-10-28 13:04:46 +01:00
Jérémy Munsch
aef658645b
refactor(slides): update column definitions and formatting
- Removed unused 'label' and 'text' columns.
- Adjusted 'tableColSorter' parameters for clarity.
2026-10-28 12:55:44 +01:00
Jérémy Munsch
1e1172b757
feat(validation): update address attribute to use postal_address
Updated the address attribute in multiple requests and views to use the new 'postal_address' translation key for consistency.
2026-10-28 12:51:06 +01:00
Jérémy Munsch
a15cc29a61
style(faq, legal-notice, privacy, terms): add padding to section containers 2026-10-28 12:19:38 +01:00
Jérémy Munsch
b31602b040
feat(faq): implement accordion for FAQ section
Enhances the FAQ page by replacing the list with an accordion component for better user experience.
2026-10-28 12:18:54 +01:00
Jérémy Munsch
c5fe5987da
feat(fontawesome): add cash register icon to library
feat(confirmation): update button with cash register icon

feat(pick-time-slot): update back button with chevron icon
2026-10-28 11:53:21 +01:00
Jérémy Munsch
7a6c154e5f
feat(products): add price info section to product details
This update introduces a new price information section in the product details view, enhancing user experience by providing clear pricing details.
2026-10-28 11:26:23 +01:00
Jérémy Munsch
99586179d7
feat(services): update pickup day text in services view
Updated the text for selecting the pickup day in the services view for better clarity.
2026-10-28 10:51:55 +01:00
Jérémy Munsch
87e66c1d13
style(navbar): update button styles for consistency and visibility
Updated button styles to use 'btn-tertiary' and added focus rings for better accessibility.
2026-10-28 10:43:44 +01:00
Jérémy Munsch
14ceb300cf
feat(ui): update button styles and add focus ring
- Added new tertiary button style with focus ring.
- Updated button classes in navbar and basket components for consistency.
2026-10-28 10:41:03 +01:00
Jérémy Munsch
713c937890
fix(casts): update OrderReferenceCast to use base58 encoding
Refactor OrderReferenceCast to utilize base58 encoding for order references instead of UUID.
This change improves compatibility with the new OrderReference implementation.
2026-10-27 16:17:28 +01:00
Jeremy Munsch
450399fd74
fix: product inco previous button to product always 2026-10-27 09:59:00 +01:00
Jérémy Munsch
8cbbefb20b
feat: flash warning message when unauthenticated guest is redirected to login 2026-10-27 09:58:55 +01:00
Jérémy Munsch
14647576df
feat(bo/product-incos): adapt BO controller, requests, routes and views for Arcadia INCO management 2026-10-27 09:58:53 +01:00
Jérémy Munsch
da0b32c7ee
refactor(views): remove orphan breadcrumb and script blade views 2026-10-27 09:58:49 +01:00
Jérémy Munsch
d4db0cffc6
fix(slides): allow empty text in slide requests and indicate connected visibility in BO 2026-10-27 09:58:48 +01:00
Jérémy Munsch
3c309dc356
feat(slides): indicate visibility in BO and fix conditional slider display in FO 2026-10-27 09:58:47 +01:00
Jérémy Munsch
bf3e7a93fd
refactor(i18n): harmonize translation keys to English and complete French translations
- Convert hardcoded strings and French translation keys to English keys across Blade templates, Vue components, TypeScript modules, models, and routes
- Complete and synchronize lang/fr.json and lang/en.json translation dictionaries
- Add timezone attribute in lang/fr/validation.php and lang/en/validation.php
- Add missing English lang files for parity: crud.php, models.php, search.php, and vue.php
2026-10-27 09:58:47 +01:00
Jérémy Munsch
52588ae999
fix(ckeditor): prevent null value from being converted to string 'null' on validation returns 2026-10-27 09:58:47 +01:00
Jérémy Munsch
3b3997d547
feat(employees): automated sync with Arcadia API, BO settings, Shopper value objects, and pagination migration
- Implement automated synchronization of employees via Arcadia API (EmployeeSyncService, SynchronizeEmployeesWithArcadiaApi, FetchAndUpsertArcadiaEmployees)
- Add Back-Office application settings for employee sites (Setting singleton, GetSettingsQuery, UpdateSettings, SettingsController, EmployeeSitesInputComponent.vue)
- Strongly type Employee attributes using Domain Value Objects (ShopperEstablishmentCode, ShopperSiteCode, ShopperServiceCode) and Eloquent Casts
- Migrate pagination from Domain to Shared\Pagination namespace across queries and inputs
- Remove legacy and dead CSV employee import/export code
- Restore Domain\Ports\Services\CsvGenerator interface for Regate order generation
- Add comprehensive Pest unit, integration, and feature test coverage
2026-10-27 09:58:44 +01:00
Jérémy Munsch
668151fdaf
refactor(fo): migrate HomeController to CQS queries with DTOs 2026-10-27 09:58:41 +01:00
Jérémy Munsch
0fef2cfc98
refactor(fo): refactor ContactController using GetShopQuery and CQS 2026-10-27 09:58:40 +01:00
Jérémy Munsch
6dd9ef90ae
feat(bo): add replacement date display in pickup exceptions
Display the replacement date for associated exceptions in the pickup exceptions view.
2026-10-27 09:58:40 +01:00