moins de détails dans le detail commande
This commit is contained in:
parent
8b86e52e2b
commit
c451aafc7a
1 changed files with 7 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
|||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<th scope="col">Ref Externe</th>
|
||||
<th scope="col">Produit</th>
|
||||
<th scope="col">Quantité</th>
|
||||
<th scope="col">Prix unitaire HT</th>
|
||||
|
|
@ -49,7 +50,12 @@
|
|||
@foreach ($order->lines as $line)
|
||||
<tr>
|
||||
<td>
|
||||
@include('bo.products.product-card', ['product' => $line->product])
|
||||
@if($line->product->product_type == "foodProduct")
|
||||
{{ $line->product->foodProduct->no_art }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ $line->product->name }}
|
||||
</td>
|
||||
<td>{{$line->quantity}}</td>
|
||||
<td>{{number_format($line->unit_price - $line->discount, 2, ',', ' ')}}€</td>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue