Add price taxed
This commit is contained in:
@@ -1,34 +1,29 @@
|
|||||||
<div class="row">
|
@component('components.card', ['title' => $tariff['name'] ?? null ])
|
||||||
<div class="col-4">
|
@foreach (($tariff['price_lists'] ?? []) as $price_list)
|
||||||
{{ $tariff['ref'] ?? null }}
|
<div class="row mb-3">
|
||||||
</div>
|
<div class="col-12">
|
||||||
<div class="col-8">
|
<b>Canal de vente</b> : {{ $price_list['sale_channel']['name'] }}<br>
|
||||||
{{ $tariff['name'] ?? null }}
|
<b>Nom de liste de prix </b> : {{ $price_list['name'] }}
|
||||||
</div>
|
@if ($price_list['price_list_values'] ?? false)
|
||||||
</div>
|
<table class="table table-bordered table-hover table-striped w-100">
|
||||||
|
<thead>
|
||||||
<div class="row">
|
<tr>
|
||||||
<div class="col-12">
|
<th>Seuil</th>
|
||||||
@foreach (($tariff['price_lists'] ?? []) as $price_list)
|
<th>Prix HT</th>
|
||||||
{{ $price_list['sale_channel']['name'] }}
|
<th>Prix TTC</th>
|
||||||
{{ $price_list['name'] }}
|
</tr>
|
||||||
@if ($price_list['price_list_values'] ?? false)
|
</thead>
|
||||||
<table class="table table-bordered table-hover table-striped w-100">
|
@foreach (($price_list['price_list_values'] ?? []) as $price_value)
|
||||||
<thead>
|
<tr>
|
||||||
<tr>
|
<td>{{ $price_value['quantity'] }}</td>
|
||||||
<th>Seuil</th>
|
<td class="text-right">{{ $price_value['price'] }}</td>
|
||||||
<th>Prix</th>
|
<td class="text-right">{{ $price_value['price_taxed'] }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
@endforeach
|
||||||
@foreach (($price_list['price_list_values'] ?? []) as $price_value)
|
</table>
|
||||||
<tr>
|
@endif
|
||||||
<td>{{ $price_value['quantity'] }}</td>
|
</div>
|
||||||
<td class="text-right">{{ $price_value['price'] }}</td>
|
</div>
|
||||||
</tr>
|
@endforeach
|
||||||
@endforeach
|
@endcomponent
|
||||||
</table>
|
|
||||||
@endif
|
|
||||||
@endforeach
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
<div class="row">
|
<div class="row mb-3">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
<h4>{{ $variation['name'] }}</h4>
|
||||||
{{ $variation['name'] }}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user