Commit graph

43 commits

Author SHA1 Message Date
Jérémy Munsch
d912d4b096
refactor(orders): migrate Bo\OrdersController and Fo\OrderController to CQS pattern 2026-10-27 09:58:43 +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
Jérémy Munsch
3a3d993d7c
feat: ✨ Closes #46
Add orders filter with: a search bar, date filters
2024-05-15 16:58:17 +02:00
noah.lancien
995e1f9eb5 Issue 19 - Add dashboard stats 2023-08-30 08:03:04 +00:00
Olivier Legat
6b92d1b547
apply same changes as in branch remove_verrues_de_recette 2022-09-21 16:23:42 +02:00
Olivier Legat
1375b6976f extract front end methods from bo controller, create appropriate conntroller, update routes accordingly 2022-09-20 16:39:55 +02:00
Olivier Legat
186e144dce
fix cyclomatic complexity 2022-09-08 14:15:38 +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
652d8430f5 following CRM changes, fix getting cutomer name for order index 2022-04-22 12:50:46 +00: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
d66d7ac3d9 mail config for testing (a faire mieux que ça) 2021-09-27 15:19:05 +02:00
Olivier Legat
65e423aeed gestion multi point de relay des commandes 2021-07-27 15:22:54 +02:00
Olivier Legat
b68d35c698 retro compat avec theme sans multi relay 2021-07-27 15:15:30 +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
dc30f5b6ed queue mails, queue export commande
Setting pour activer l'envoi de commandes à regate
2021-07-26 15:24:12 +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
Olivier Legat
b5cf4687dc store order from cart 'panier' 2021-07-22 16:22:45 +02:00
Olivier Legat
3f2b792f53 ref commande lisibles 2021-07-21 17:10:11 +02:00
Olivier Legat
6843382ee3 correctif calcul taxes à la ligne 2021-06-10 17:02:28 +02:00
Olivier Legat
153be44e79 hotfix envoi de mail admin 2021-06-01 10:58:20 +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
f8fc0e0ebe fetch customer info, one at a time
DRY filter for orders lists
2021-04-28 13:42:43 +02:00
Olivier Legat
c5ee8af6ef tri de la liste des commandes
commande à retirer aujourd'hui
2021-04-28 11:49:44 +02:00
Olivier Legat
38179201d7 commandes list : lazy loading customer infos 2021-04-27 12:56:42 +02:00
Olivier Legat
679eaa90b2 settings de max délai de retrait est en fait général
Un créneau de collecte est lié à a un point de retrait
2021-04-23 11:59:35 +02:00
Olivier Legat
6052dd2fd2 creneaux et exceptions liées à un point de retrait
BO, et selection en front
2021-04-22 18:18:52 +02:00
Olivier Legat
2b6b9bcaae pick creneau with magasin 2021-04-22 12:25:38 +02:00
Olivier Legat
7c62ab5c29 timeslots check availability against taken slots 2021-04-22 11:16:05 +02:00
Olivier Legat
e32fc283f8 1 magasin en base 2021-04-21 17:50:57 +02:00
Olivier Legat
fc2abf3b33 Jours d'exception de collecte 2021-04-21 16:48:37 +02:00
Olivier Legat
c58ab2dac7 gestion des créneaux de collecte
commit 021d98b09b
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Apr 20 17:13:48 2021 +0200

    réglages des créneaux de collecte

commit 76deb33629
Merge: b25c9e8 6742eaa
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Apr 20 13:49:03 2021 +0200

    Merge branch 'creneau-settings' of https://voight001.lesidc.com/boutique-cnc into creneau-settings

commit b25c9e81a0
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Apr 16 13:56:55 2021 +0200

    work in progress

commit 6742eaabd2
Merge: ff649f7 e4f2151
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Mon Apr 19 08:38:35 2021 +0200

    Merge branch 'creneau-settings' of https://voight001.lesidc.com/boutique-cnc into creneau-settings

commit ff649f775b
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Apr 16 13:56:55 2021 +0200

    work in progress

commit e4f2151193
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Apr 16 13:56:55 2021 +0200

    work in progress
2021-04-20 17:15:25 +02:00
Olivier Legat
9c770f3f3a randomize picture filenames to prevent cache on update 2021-04-16 09:00:36 +02:00
Olivier Legat
249bcd4b80 Mails transactionnels commande 2021-04-14 10:39:20 +02:00
Olivier Legat
23cad1bf96 affichage "mes commandes" 2021-04-14 09:34:23 +02:00
Olivier Legat
bf060e2ad4 bo détail commande 2021-04-13 18:45:36 +02:00
Olivier Legat
0f01a27438 bo commandes 2021-04-13 17:21:39 +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
f796761214 timeslot picking and confirmation 2021-03-29 15:10:07 +02:00
Olivier Legat
417a31800a tunnel jusqu-a choix timeslots 2021-03-27 20:55:16 +01:00
Olivier Legat
5b3575e5c6 refactoring convetion de nommage modeles 2021-03-17 09:28:02 +01:00
Romain Bonhomme
272ecd0ced EN COURS - Ajout des commandes 2020-11-17 13:41:31 +01:00