affichage index promo dans le bo
This commit is contained in:
parent
464f54fafd
commit
2a8e16da3a
1 changed files with 3 additions and 3 deletions
|
|
@ -27,10 +27,10 @@
|
|||
<td>{{$promotion->discount_value}}</td>
|
||||
<td>{{$promotion->date_start}}</td>
|
||||
<td>{{$promotion->date_end}}</td>
|
||||
<td style="display: flex;">
|
||||
<td>
|
||||
@foreach ($promotion->products as $product)
|
||||
<div class="card col-md-3">
|
||||
<img class="card-img-top" src="/images/produits/{{$product->picture}}" alt="{{$product->name}}">
|
||||
<div class="col-md-12 d-flex">
|
||||
<img src="/images/produits/{{$product->picture}}" alt="{{$product->name}}" style="max-height: 100px;">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><a href="{{route('bo.products.edit', $product->id)}}">{{$product->name}}</a></h5>
|
||||
<small class="text-muted">Prix HT avant promo : {{$product->price}}</small>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue