Commit graph

24 commits

Author SHA1 Message Date
Jérémy Munsch
f9ded6d01c
refactor(ToolboxHelper): remove unused getValidatedEnum method
Cleaned up ToolboxHelper by removing the unused getValidatedEnum method to enhance code clarity.
2026-10-28 08:57:35 +01:00
Jérémy Munsch
4ff3daecab
refactor(Auth): improve reset URL handling and validation
refactor(Helpers): update parameter types and remove ignores

refactor(Models): streamline order assignment logic

refactor(Enums): clarify unused constant warnings

refactor(Services): encapsulate cutoff week offset logic
2026-10-28 08:53:34 +01:00
Jérémy Munsch
15e729cbe2
style: prefix global PHP classes with backslash instead of importing them 2026-10-27 09:58:49 +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
42bdae01cc
feat: implement pagination using Pagination value object
- Updated DataTableService to accept a Pagination object for pagination parameters.
- Refactored paginateQuery method to utilize pageSize and pageNumber from Pagination.

refactor: replace ActionExecutor with Executor in controller traits

- Updated ChangesModelOrder, TogglesModelStar, and TogglesModelStatus traits to use Executor interface instead of ActionExecutor.

feat: add PictureMetadata and Slug value objects

- Introduced PictureMetadata for managing image metadata with validation.
- Added Slug value object for slug generation and validation.

feat: update breadcrumbs to support RangeDto

- Modified breadcrumbs-bo.php to accept RangeDto in the edit route.

test: add tests for RangesController

- Added tests for accessing, creating, updating, and deleting ranges.
- Included tests for toggling range status.

test: add integration tests for range actions

- Created tests for CreateRange, DeleteRange, and UpdateRange actions.
- Validated input handling and database interactions.

test: add unit tests for range input classes

- Implemented tests for CreateRangeInput and UpdateRangeInput to validate input constraints.

test: add unit tests for value objects

- Added tests for PictureMetadata and Slug to ensure proper validation and instantiation.

test: add unit tests for RangeDto

- Created tests to verify RangeDto mapping from Range model.

test: add unit tests for RangePolicy

- Implemented tests for RangePolicy to validate permissions based on user roles.
2026-10-27 09:58:34 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Corentin Huet
1a8b3cff7c refactor: ♻️ remove admin-secure package and integrate middleware 2026-03-03 09:41:26 +01:00
Karl Muller
8118d5a3f9 feat: ✨ re-add the stat before the date result on the dashbaord 2025-04-28 13:03:22 +00:00
Noah Lancien
2bd16742dd clean: rewrite condition to prevent division by zero 2025-04-01 09:43:01 +02:00
Noah Lancien
f27ed8f354 fix: prevent division by zero in membership rate calculation 2025-03-31 16:14:40 +02:00
Noah Lancien
c07ff0dd57 fix: Display the correct count of employee in the dashboard 2025-02-24 15:22:14 +01:00
Alexis Gousseau
f454d35960 fix: 📈 update dashboard statistics #52 2025-01-13 15:43:42 +01:00
noah.lancien
d802f19f40 Replaced kwaadpepper/exception-handler by sentry 2023-08-30 09:01:51 +00:00
noah.lancien
995e1f9eb5 Issue 19 - Add dashboard stats 2023-08-30 08:03:04 +00:00
Alexis Gousseau
2a1baea6c6 update import + add export on salarie table - issue #7 2023-07-28 07:25:36 +00:00
Olivier Legat
1d59ac4bb5
filtres conservé au refresh, liens de préfiltrage, refactor (light), Normalized exception handler, green card when in cart, mising rowid in cart handled 2022-10-28 16:59:45 +02:00
Olivier Legat
07cbaa582a
update changepassword method for crmclient version 2022-10-24 13:44:04 +02:00
Olivier Legat
2409b716c7
extend salaries table with infos, import salaries for official file 2022-09-14 12:39:08 +02:00
Olivier Legat
adb0789c57
sniffing and linting - NO refactoring 2022-09-08 13:02:16 +02:00
Olivier Legat
15e081c943
first auotmated clean 2022-09-08 11:29:39 +02:00
Jérémy Munsch
2b9d3d08ea
CRM V3 Migration
- require slevomat/coding-standard
- require ldc/ldccrmv2client
- update phpcs xml
2022-04-14 16:38:47 +02:00
Olivier Legat
ae56ef1a08 Arrondis de calculs pour les discount en pourcentage 2021-06-10 16:46:04 +02:00
Olivier Legat
bce4c2f88c Offres Spéciales :
commit 2bdbfaec541c3d51489f32e0fa6f7523ca4e4f6f
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Apr 8 15:48:13 2021 +0200

    arrondis de taxe dans le panier

commit ce748bcac15a0b633cacc06b8232cbb92a8e455c
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Apr 8 11:53:54 2021 +0200

    Prix calcules - affichés

commit cc79e7c633d81290371eceabe9864d4d0ee9e4a5
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Apr 7 18:09:12 2021 +0200

    Affichage des promowork in progress => prix remisés

commit 8545d1079da2456f090557eeef005e4d37154a1e
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Apr 7 13:04:28 2021 +0200

    resource BO Promotions

commit d7145835de675da32e57bec3f0b8f06e1e447b27
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Apr 6 18:23:36 2021 +0200

    structure DB, debut BO
2021-04-08 15:49:20 +02:00
Olivier Legat
9ecb97bbfa inscription setup 2021-03-25 17:59:02 +01:00