Update with new price management
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
<table class="table table-bordered table-hover table-striped w-100 mb-0 dataTable">
|
||||
@if (count($generic['prices'] ?? []))
|
||||
<table class="table table-bordered table-hover table-striped w-100 mb-0 dataTable">
|
||||
|
||||
<thead>
|
||||
<th>
|
||||
{{ $generic['category']['name'] ?? null }}
|
||||
</th>
|
||||
@foreach ($generic['prices'] as $price)
|
||||
<th>
|
||||
{{ $price['quantity'] ?? null }} {{ $price['unity_id'] ?? null }}
|
||||
</th>
|
||||
@endforeach
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $generic['name'] ?? null }}
|
||||
</td>
|
||||
@foreach ($generic['prices'] as $price)
|
||||
<td>
|
||||
{{ $price['price_taxed'] ?? null }}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
</table>
|
||||
<thead>
|
||||
<th>
|
||||
{{ $generic['category']['name'] ?? null }}
|
||||
</th>
|
||||
@foreach ($generic['prices'] as $price)
|
||||
<th>
|
||||
{{ $price['quantity'] ?? null }} {{ $price['unity_id'] ?? null }}
|
||||
</th>
|
||||
@endforeach
|
||||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $generic['name'] ?? null }}
|
||||
</td>
|
||||
@foreach ($generic['prices'] as $price)
|
||||
<td>
|
||||
{{ $price['price_taxed'] ?? null }}
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user