From 0067e51e6e21ea61e3352005b9a2a06e36c96f6b Mon Sep 17 00:00:00 2001 From: tristan Date: Mon, 23 Mar 2026 17:26:29 +0100 Subject: [PATCH] =?UTF-8?q?fix=20:=20order=20r=C3=A9c=C3=A9ption/exp=C3=A9?= =?UTF-8?q?dition=20+=20correction=20style=20bouton=20r=C3=A9c=C3=A9ption?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/settings.local.json | 4 +- .idea/workspace.xml | 38 ++++++++++--------- .../components/reception/reception-form.vue | 2 +- src/Entity/Reception.php | 1 + src/Entity/Shipment.php | 1 + 5 files changed, 26 insertions(+), 20 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index f87e42e..0a5facb 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -2,7 +2,9 @@ "permissions": { "allow": [ "Bash(npm run:*)", - "WebFetch(domain:geo.api.gouv.fr)" + "WebFetch(domain:geo.api.gouv.fr)", + "Bash(pip3 install:*)", + "Bash(python3 -c \":*)" ] } } diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 97f6447..b912a65 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,12 @@ - @@ -793,7 +794,8 @@ - diff --git a/frontend/components/reception/reception-form.vue b/frontend/components/reception/reception-form.vue index 3b18621..e2602fc 100644 --- a/frontend/components/reception/reception-form.vue +++ b/frontend/components/reception/reception-form.vue @@ -116,7 +116,7 @@
Valider diff --git a/src/Entity/Reception.php b/src/Entity/Reception.php index 2ef4dec..a2e4520 100644 --- a/src/Entity/Reception.php +++ b/src/Entity/Reception.php @@ -31,6 +31,7 @@ use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer; #[ORM\Table(name: 'reception')] #[ApiFilter(BooleanFilter::class, properties: ['isValid'])] #[ApiResource( + order: ['id' => 'DESC'], operations: [ new Get( requirements: ['id' => '\d+'], diff --git a/src/Entity/Shipment.php b/src/Entity/Shipment.php index 7281a66..d52c2c5 100644 --- a/src/Entity/Shipment.php +++ b/src/Entity/Shipment.php @@ -31,6 +31,7 @@ use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer; #[ORM\Table(name: 'shipment')] #[ApiFilter(BooleanFilter::class, properties: ['isValid'])] #[ApiResource( + order: ['id' => 'DESC'], operations: [ new Get( requirements: ['id' => '\d+'],