From 69a930ca8d7673a42511cd225bbf35d1eb722a86 Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Fri, 4 Nov 2022 18:41:42 +0100 Subject: [PATCH] fix order detail bug, use proper variable to check if shop is set --- resources/views/front/sable/customer/order-detail.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/front/sable/customer/order-detail.blade.php b/resources/views/front/sable/customer/order-detail.blade.php index a228a1a8..322614dc 100644 --- a/resources/views/front/sable/customer/order-detail.blade.php +++ b/resources/views/front/sable/customer/order-detail.blade.php @@ -60,7 +60,7 @@ - @if (!empty($order->timeslot)) + @if (!empty($magasin))

A retirer le {{$order->timeslot->day}} à {{$order->timeslot->time}}, à l'adresse suivante :
Mon point de retrait {{$magasin->name}}, {{$magasin->address}}, {{$magasin->postcode}} {{$magasin->city}}