Commit graph

35 commits

Author SHA1 Message Date
Jérémy Munsch
d2a7afc020
Merge branch 'develop' into to-pvc-less
# Conflicts:
#	app/Services/EmployeeCsvReaderService.php
#	tests/Feature/App/Console/Commands/UpsertEmployeesFormFileTest.php
#	tests/Unit/App/Services/EmployeeCsvReaderServiceTest.php
2026-11-17 10:36:59 +01:00
Jérémy Munsch
3a1b34602c
fix(ImportEmployees): include matricule in error messages
fix(UpsertEmployeesFormFile): return failure on import errors

test(UpsertEmployeesFormFileTest): add tests for CSV import error handling

test(EmployeeCsvReaderServiceTest): validate error messages for invalid headers
2026-11-17 10:32:25 +01:00
Jérémy Munsch
455bcd4988
fix(holidays): preserve current year holidays and add daily catch-up sync 2026-11-15 16:45:02 +01:00
Jérémy Munsch
758fec824d
refactor(phpstan): reach PHPStan level 10 compliance and enforce global namespace prefixes 2026-11-15 16:44:59 +01:00
Jérémy Munsch
5d715094d1
refactor(cqs): delegate job, command and listener mutations to CQS actions via Executor 2026-11-15 16:44:59 +01:00
Jérémy Munsch
b2989b4967
refactor(employee): update import handling and output structure
- Replaced resource handling with SplFileObject for better readability.
- Introduced ImportEmployeesOutput class for structured results.
- Updated related services and tests to accommodate new structures.
2026-11-10 19:31:34 +01:00
Jérémy Munsch
74ab9b3041
refactor: reorganize imports across multiple controllers and jobs
This commit refactors the import statements in various controllers and jobs
to improve code organization and readability. Unused imports were removed,
and necessary imports were added to ensure proper functionality.
2026-11-10 18:15:32 +01:00
Jérémy Munsch
7a2004637d
feat(employee): implement employee import functionality
- Added EmployeesImportResults class to encapsulate import results.
- Created ImportEmployees action to handle CSV import and upsert employees.
- Introduced ImportEmployeesInput class for input validation.
- Developed EmployeeCsvReaderService for reading and parsing CSV files.
- Implemented EmployeeCsvImportLine to map CSV rows to employee data.
- Added EnhancedCsvReader for improved CSV handling.
- Updated composer.json to include fusonic/csv-reader dependency.
- Created tests for the new employee import functionality.
2026-11-10 18:08:41 +01:00
Jérémy Munsch
d0efb0f527
refactor: update namespaces for actions and queries
Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
2026-11-10 15:13:26 +01:00
Jérémy Munsch
85f3896337
fix(commands): update command signatures to include 'uwil' prefix
Updated command signatures for MailTest, SyncProductIncosCommand, and UserCreate to maintain consistency in naming conventions.
2026-10-27 09:59:00 +01:00
Jérémy Munsch
50df658d58
feat(product-incos): implement actions, queries, sync job and command for Arcadia INCO sheets 2026-10-27 09:58:53 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Corentin Huet
b3d4d6945e feat: ✨ send an order reminder email 2026-01-30 11:43:10 +01:00
Karl Muller
79d9061bc9 fix: 🐛 user->id null on SalarieExportJob + add public holiday with cron + condition on public holiday's calendar 2025-02-12 10:29:03 +00:00
Karl Muller
898104d041 fix: 🐛 delete ldcweb:statuschecker from the kernel 2025-02-06 10:26:31 +00:00
Vincent BRIDIER
9333185e4d
feat: Clean and add CICD for K8S migration 2025-01-24 15:32:29 +01:00
Vincent BRIDIER
c332696024
feat: Make the fu**ing Salarie import works again 2024-11-26 12:56:39 +01:00
Alexis Gousseau
2a1baea6c6 update import + add export on salarie table - issue #7 2023-07-28 07:25:36 +00:00
noah.lancien
44f72a3259 Reminder mail 2023-07-10 15:09:06 +00:00
Olivier Legat
aad0954d30 fix issue #1 2022-11-04 17:41:00 +01: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
Olivier Legat
95fb67ed13 re schedule tasks 2022-03-12 12:05:00 +01:00
Olivier Legat
70c7dc53e0 fix ldc web status checker 2022-03-12 12:03:35 +01:00
Olivier Legat
8d71046626 gestion des prix pour articles facturé au poids et vendu à la pièce
(necessite la gestion stricte des unités de vente)
2021-09-02 12:34:43 +02:00
Olivier Legat
54130982b4 Scheduling common tasks 2021-07-28 12:18:40 +02:00
Olivier Legat
b49c5b25cb table salaries, import depuis un csv 2021-07-20 16:34:27 +02:00
Olivier Legat
ccf6eb7edd ajout site map job 2021-05-04 11:51:03 +02:00
Olivier Legat
71cf7d5c9a inco mise en place 2021-04-23 12:12:15 +02:00
Olivier Legat
c44e6427b6 user creation 2021-04-19 13:09:24 +02:00
Olivier Legat
26842af7f6 produits - normalisation 2021-03-18 08:40:20 +01:00
Olivier Legat
5b3575e5c6 refactoring convetion de nommage modeles 2021-03-17 09:28:02 +01:00
Olivier Legat
421fe33763 make themable
execute php artisan migrate to get theme_settings table
new commande available = create:theme-settings {theme_name?} Initialise les settings pour un nouveau theme
positionnement des blades dans un dossier défini par la nouvelle variable d'environnement APP_THEME (default : basic)
positionnement des ressources js et sass dans le dossier des blades du theme (pour mettre toute l'arboresence necessaire au thème sous une seule racine gitable)
2021-03-05 11:37:13 +01:00
Olivier Legat
b824f1f128 create admin command 2021-02-23 16:28:45 +01:00
Vincent BRIDIER
2d868f2d8b init 2020-10-30 17:26:00 +01:00