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 @@
| Ref Externe | Produit | Quantité | Prix unitaire HT | @@ -49,7 +50,12 @@ @foreach ($order->lines as $line)
|---|---|---|---|
| - @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, ',', ' ')}}€ |