Commit graph

57 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
317ca4cd03
fix(sync): move Arcadia API calls outside transactions, track per-site employee cursors, and release reminder claim on failure 2026-11-16 08:45:40 +01:00
Jérémy Munsch
c427b60210
feat(jobs): handle shop pickup exceptions, chunking, and cache deduplication in SendMissingOrderReminderJob 2026-11-15 21:39:33 +01:00
Jérémy Munsch
3d4c4f74de
feat(jobs): add chunking and idempotent reminded_at tracking to SendReminderMail 2026-11-15 21:39:32 +01:00
Jérémy Munsch
efbd507ac9
feat(jobs): implement unique job handling for reminders
Added ShouldBeUnique interface to SendMissingOrderReminderJob and SendReminderMail for unique job processing.
2026-11-15 20:39:57 +01:00
Jérémy Munsch
faef51091e
feat(pickup-exceptions): implement upsert and query for public holidays
Added functionality to upsert pickup exceptions for public holidays
and query for auto-updated exceptions. This includes new classes
for handling input and service integration with the public holidays API.
2026-11-15 20:04:29 +01:00
Jérémy Munsch
0ae05e031d
feat(jobs): enhance SendMissingOrderReminderJob with ICS content generation
- Added IcsGeneratorService for generating ICS content.
- Updated MissingOrderReminderNotification to include cutoff date and ICS content.
- Refactored SendMissingOrderReminderJob to utilize new ICS generation logic.
- Introduced IcsContent value object for better ICS content handling.
- Added tests for new functionality in SendMissingOrderReminderJob and IcsGeneratorService.
2026-11-15 19:49:48 +01:00
Jérémy Munsch
7f1bc1c563 refactor(app): remove legacy App\Repositories and migrate callers to Eloquent 2026-11-15 18:10:26 +01:00
Jérémy Munsch
8c484ae053
fix(auth): correct Gate usage for customer permissions
Updated the Gate check to use forUser method for proper customer context.
2026-11-15 16:45:03 +01:00
Jérémy Munsch
ff780a7a46
security(contact): throttle contact submissions and idempotently delete S3 attachments via SendContactMailJob 2026-11-15 16:45:03 +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
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
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
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
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
9c9d67ad37
fix(slides): fix slide expiration logic and use bulk queries in UpdateSlidesStatus [AUD-PER-011] 2026-10-27 09:58:25 +01:00
Jérémy Munsch
18e2baa1a8
fix(export): use notifyNow before deleting export file [AUD-QUE-001] 2026-10-27 09:58:24 +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
Vincent BRIDIER
184da0204b
feat: Replace Regate EAI order transfert by email 2024-11-29 16:49:59 +01:00
Vincent BRIDIER
c332696024
feat: Make the fu**ing Salarie import works again 2024-11-26 12:56:39 +01:00
Vincent BRIDIER
f156dd62ef
feat: 💩 Update Matricule format on employees import and order export 2024-10-18 16:29:55 +02:00
Jérémy Munsch
68cb937a60
Fixex #43 import CSV 2024-04-22 12:11:15 +02: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
noah.lancien
44f72a3259 Reminder mail 2023-07-10 15:09:06 +00:00
Olivier Legat
5fb5a99a0f
add DPE service for salaries imports 2023-02-14 11:38:46 +01:00
Olivier Legat
328862c8d9
enum and switch magasin for salaries 2023-01-16 16:38:08 +01:00
Olivier Legat
aad0954d30 fix issue #1 2022-11-04 17:41:00 +01:00
Alexis Gousseau
11e8749bbb search 2022-10-27 14:12:45 +02:00
Olivier Legat
121613a478
set collect point for each salarie, use this info to provide magasin in order tunnel 2022-09-21 16:12:03 +02:00
Olivier Legat
6f29fcf0e0
filename for order export : always '_001' => regate sablé 2022-09-19 13:13:59 +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
Olivier Legat
e26f3afb69 Merge branch 'develop' of https://voight001.lesidc.com/boutique-cnc into develop 2022-05-18 17:24:45 +02:00
Olivier Legat
27f02c7b89 rustine pour integrer les anciens flux nouveau format hybride 2022-05-18 15:22:47 +00:00
Olivier Legat
6a8676600f Date de livraison = date de livraison 2022-04-26 15:40:32 +02:00
Olivier Legat
02308f6fe1 Bo with bootstrap 5 - to be continued 2022-03-24 19:38:51 +01:00
Olivier Legat
8b3c3f31be add nom to xml_incos
null lst_allergenes
2022-03-12 12:04:40 +01:00
Olivier Legat
f594445832 vidage de la colonne PCB dans les exports de commande 2022-02-18 15:31:33 +01:00
Olivier Legat
f01d698922 suppression du pcb dans la colonne codeart
petit clean de code
2022-01-21 08:24:11 +01:00
Olivier Legat
90499d5ad7 nommage du fichier de commande Regate 2021-09-24 10:35:01 +02:00
Olivier Legat
0663305ea7 Gestion des erreurs d'import xml pour données inconsistentes 2021-07-28 11:43:26 +02:00
Olivier Legat
78be8cceef champs unites de commande, de facturation
souplesse du load Inco quand on a récupéré les data d'ailleurs et que les json de valeur nutritionnel sont incomplets.
2021-07-27 14:33:32 +02:00
Olivier Legat
0799267b6e Suppression du JS fontawesome en BO, mise à dispo dans public de webfonts pour usage back et front
Unités de ventes strictes (ENUM) et paramètre back office d'application
modification de la directive fmt_sellunit pour prise en compte du paramètre
Gestion en objet date de la date de livraison pour export commande
capacité de rotation daily des logs (pour LOG_CHANNEL=stackProd)
2021-07-26 14:09:29 +02:00
Olivier Legat
0461ef76b9 génération de fichier de commande
route pour tester
génération de fichier
2021-07-23 15:12:55 +02:00