Berater Bestellungen
This commit is contained in:
parent
a5db985ae8
commit
bde1095014
26 changed files with 1524 additions and 577 deletions
35
resources/views/user/order/comp_product.blade.php
Normal file
35
resources/views/user/order/comp_product.blade.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<div class="card mt-4">
|
||||
<div class="card-body">
|
||||
<h4>Versand Kompensationsprodukt</h4>
|
||||
|
||||
@if($comp_products)
|
||||
<div class="row no-gutters row-bordered">
|
||||
@php($counter = 1)
|
||||
|
||||
@foreach($comp_products as $comp_product)
|
||||
<div class="media col-md-6 col-lg-4 p-4">
|
||||
<div class="d-block ui-w-80 ui-bordered mr-3">
|
||||
@if(count($comp_product->images))
|
||||
<img src="{{ route('product_image', [$comp_product->images->first()->slug]) }}" class="img-fluid" alt="">
|
||||
@endif
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<label class="switcher switcher-secondary">
|
||||
<input type="radio" class="switcher-input" value="{{$comp_product->id}}" name="switchers-comp-product" @if($counter == 1) checked @endif >
|
||||
<span class="switcher-indicator">
|
||||
<span class="switcher-yes"></span>
|
||||
<span class="switcher-no"></span>
|
||||
</span>
|
||||
<span class="switcher-label"></span>
|
||||
</label>
|
||||
<div class="text-body mt-2"><strong>{{ $comp_product->name }}</strong></div>
|
||||
<div class="">Art-Nr.: {{ $comp_product->number }}</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@php($counter++)
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue