Files
opensem/resources/views/Admin/Shop/Offers/partials/tariff.blade.php
Ludovic CANDELLIER c75f580ad2 Add price taxed
2022-02-20 21:59:19 +01:00

30 lines
936 B
PHP

@component('components.card', ['title' => $tariff['name'] ?? null ])
@foreach (($tariff['price_lists'] ?? []) as $price_list)
<div class="row mb-3">
<div class="col-12">
<b>Canal de vente</b> : {{ $price_list['sale_channel']['name'] }}<br>
<b>Nom de liste de prix </b> : {{ $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 HT</th>
<th>Prix TTC</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>
<td class="text-right">{{ $price_value['price_taxed'] }}</td>
</tr>
@endforeach
</table>
@endif
</div>
</div>
@endforeach
@endcomponent