30 lines
936 B
PHP
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
|
|
|