From 701e424185411ecf7aa132d4b2bfc29c06d9e8a7 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 13 Feb 2026 06:26:49 +0100 Subject: [PATCH] chg: reorder checkout sections to show delivery address before billing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the delivery mode and delivery address sections before the billing address in ``registered.blade.php``. The new order is: Mode de livraison → Adresse de livraison → Adresse de facturation → Paiement, which better matches the natural checkout flow. --- .../Shop/Orders/partials/registered.blade.php | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/views/Shop/Orders/partials/registered.blade.php b/resources/views/Shop/Orders/partials/registered.blade.php index c5020971..3dc12dbb 100644 --- a/resources/views/Shop/Orders/partials/registered.blade.php +++ b/resources/views/Shop/Orders/partials/registered.blade.php @@ -1,14 +1,4 @@
- - @include('Shop.Customers.partials.addresses', [ - 'addresses' => $customer['invoice_addresses'] ?? [], - 'prefix' => 'invoices', - 'inputName' => 'invoice[invoice_address_id]', - 'with_name' => true, - 'selected' => $customer['invoice_address_id'] ?? null, - ]) - - @include('Shop.Orders.partials.deliveries') @@ -25,6 +15,16 @@ @include('Shop.Orders.partials.shipping') + + @include('Shop.Customers.partials.addresses', [ + 'addresses' => $customer['invoice_addresses'] ?? [], + 'prefix' => 'invoices', + 'inputName' => 'invoice[invoice_address_id]', + 'with_name' => true, + 'selected' => $customer['invoice_address_id'] ?? null, + ]) + + @include('Shop.Orders.partials.payments')