Fix on preview mode
This commit is contained in:
34
resources/views/Admin/Shop/Offers/partials/tariff.blade.php
Normal file
34
resources/views/Admin/Shop/Offers/partials/tariff.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
{{ $tariff['ref'] ?? null }}
|
||||
</div>
|
||||
<div class="col-8">
|
||||
{{ $tariff['name'] ?? null }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@foreach (($tariff['price_lists'] ?? []) as $price_list)
|
||||
{{ $price_list['sale_channel']['name'] }}
|
||||
{{ $price_list['name'] }}
|
||||
@if ($price_list['price_list_values'] ?? false)
|
||||
<table class="table table-bordered table-hover table-striped w-100">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Seuil</th>
|
||||
<th>Prix</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@foreach (($price_list['price_list_values'] ?? []) as $price_value)
|
||||
<tr>
|
||||
<td>{{ $price_value['quantity'] }}</td>
|
||||
<td class="text-right">{{ $price_value['price'] }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user