From c451aafc7a84245dcce9ce290adbd95d52bef725 Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Tue, 27 Apr 2021 09:03:36 +0200 Subject: [PATCH] =?UTF-8?q?moins=20de=20d=C3=A9tails=20dans=20le=20detail?= =?UTF-8?q?=20commande?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/bo/orders/detail.blade.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/views/bo/orders/detail.blade.php b/resources/views/bo/orders/detail.blade.php index 107699aa..e0532f9f 100644 --- a/resources/views/bo/orders/detail.blade.php +++ b/resources/views/bo/orders/detail.blade.php @@ -37,6 +37,7 @@ + @@ -49,7 +50,12 @@ @foreach ($order->lines as $line) +
Ref Externe Produit Quantité Prix unitaire HT
- @include('bo.products.product-card', ['product' => $line->product]) + @if($line->product->product_type == "foodProduct") + {{ $line->product->foodProduct->no_art }} + @endif + + {{ $line->product->name }} {{$line->quantity}} {{number_format($line->unit_price - $line->discount, 2, ',', ' ')}}€