Commit graph

90 commits

Author SHA1 Message Date
Jérémy Munsch
09a506ccca
chore: add strict types declaration to migration file
This change enforces strict typing for better type safety.
2026-10-27 11:21:14 +01:00
Jérémy Munsch
f0667b7d3e
chore(database): drop legacy xml_incos table and model in favor of Arcadia API 2026-10-27 09:58:52 +01:00
Jérémy Munsch
30c4483ce9
fix(database): clean orders employee service code and legacy site names
- Strip site prefix and non-digits from service code in orders.employee JSON snapshot
- Normalize legacy site names with spaces (LDC SERVICES, LDC VOLAILLES, LDC TER) in orders.employee and employees tables
2026-10-27 09:58:46 +01:00
Jérémy Munsch
e0c4b34ed8
feat(employees): implement deterministic 6-character code generation using SerialCaster
- Add kwaadpepper/serial-int-caster and SerialCasterServiceProvider
- Update CodeGenerationService to encode Matricule deterministically with length 6
- Update Code value object to support lengths between 6 and 10 with 53 non-ambiguous characters
- Add database migration to sanitize legacy ambiguous codes
- Recreate and update unit and integration tests for CodeGenerationService and Code value object
2026-10-27 09:58:46 +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
23682def0d
refactor(migrations): use RuntimeException for irreversible uuidv7 migrations [AUD-DB-002] 2026-10-27 09:58:27 +01:00
Jérémy Munsch
149edff185
refactor: Closes #123 change the way stats are calculated and fixes employee radiation date 2026-10-27 09:58:15 +01:00
Jeremy Munsch
d7308fbc36
fix: database migration ordering sort column on products as unsigned integer 2026-10-27 09:58:15 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00
Jérémy Munsch
10d4e9f08b
fix: change product order 2026-10-07 10:31:32 +02:00
Corentin Huet
0692ec70c5 fix: 🐛 update promotion filtering system 2026-04-09 11:36:15 +02:00
Noah Lancien
06785a3cb8 feat: added boolean to show old price on discounts - #95 2026-02-25 15:27:24 +01:00
Noah Lancien
f9e0448fb6 feat: re-order products with a select system like support-web - #94 2026-02-25 11:05:59 +01:00
Alexis Gousseau
fcd0a79251 feat: 🗃 add new field to show slide only for connected customers #87 2026-02-04 10:56: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
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
Alexis Gousseau
591079f264 add order on products table - issue #21 2023-07-26 09:56:16 +02:00
Alexis Gousseau
006a29736c ts-1437 - #5 - update validation product 2023-03-30 15:44:50 +02:00
Alexis Gousseau
1f4455c950 quatrième retour 2022-10-21 10:35:34 +02:00
Alexis Gousseau
0a5e5437d7 premiers retours 2022-10-12 14:19:21 +02:00
Alexis Gousseau
ccabc6216d clean/indent code 2022-10-11 17:26:02 +02:00
Alexis Gousseau
ba1405ba8a set availability of a product 2022-10-10 10:37:40 +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
bc1252754e
fix salarie entry date db format 2022-09-20 16:57:35 +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
3411d0b5f6 add brand to Product, add corresponding Enum, add Brand selection to product edition/creation, add brand to product index(bo) and brand filtering for index(bo) 2022-09-12 17:48:10 +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
8b3c3f31be add nom to xml_incos
null lst_allergenes
2022-03-12 12:04:40 +01:00
Olivier Legat
619bd199b8 Merge branch 'develop' of https://voight001.lesidc.com/boutique-cnc into develop 2021-11-18 14:55:21 +01:00
Olivier Legat
ec0a21dcf3 précision sur 3 chiffres après la virgule pour les prix 2021-11-18 14:47:57 +01:00
Olivier Legat
90499d5ad7 nommage du fichier de commande Regate 2021-09-24 10:35:01 +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
8daecbd373 laison salarie/customer à l'inscription 2021-07-21 15:03:37 +02:00
Olivier Legat
0deec3d68c making code for inscription cas sensitive when checking against existence 2021-07-21 12:54:53 +02:00
Olivier Legat
b49c5b25cb table salaries, import depuis un csv 2021-07-20 16:34:27 +02:00
Olivier Legat
4f09e2773f Orderable products 2021-06-07 16:12:13 +02:00
Olivier Legat
fac41ff4f8 nullable flieds 2021-06-01 16:40:09 +02:00
Olivier Legat
6fb99e6379 nullable fields 2021-06-01 16:34:31 +02:00
Olivier Legat
66b7eb6cfa Ajout d'un setting pour la reception des confirmation de commande aux admins 2021-05-26 15:40:52 +02:00
Olivier Legat
c5929160c8 Other products 2021-05-25 11:28:13 +02:00
Olivier Legat
ef8add10ce Gestion des tags 2021-05-07 10:44:23 +02:00
Olivier Legat
0822342f64 Types produits 2021-05-06 17:49:43 +02:00
Olivier Legat
4805ecb0fa evol table products for null product types 2021-05-04 12:51:56 +02:00
Olivier Legat
d80d20c77a produits 'simples' 2021-05-04 12:51:55 +02:00
Olivier Legat
82174d23c3 seed faq content 2021-04-28 17:53:44 +02:00
Olivier Legat
6184340476 correctifs pour généralisation des démarrages de projet boutique 2021-04-28 17:04:16 +02:00
Olivier Legat
bf2794f1e7 seeder magasin générique 2021-04-28 14:25:24 +02:00