This commit is contained in:
paoloar77
2024-12-07 23:28:27 +01:00
parent ec9d3d83e5
commit 264a05bbb8
2 changed files with 8 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
<table class="table table-striped">
<thead>
<tr>
<th>Num</th>
<th>Data Ora</th>
<th>Quantità</th>
<th>Titolo Articolo</th>
@@ -22,9 +23,12 @@
<tbody>
@foreach($ordini as $ordine)
<tr>
<td>{{ $ordine->progressivo }}</td>
<td>{{ \Carbon\Carbon::parse($ordine->DataOra)->format('d/m/Y H:i:s') }}</td>
<td>{{ $ordine->Qta }}</td>
<td>{{ $ordine->Titolo }}</td>
<td>@if (isset($articolo->Qta)){{ $ordine->Qta }}@endif
</td>
<td>@if (isset($articolo->Titolo)){{ $ordine->Titolo }}@endif
</td>
</tr>
@endforeach
</tbody>