Files
apimacro/resources/views/fatturati.blade.php
paoloar77 97175176a5 aa
2024-12-19 11:26:11 +01:00

52 lines
1.8 KiB
PHP

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Articoli Fatturati</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1>Tutti gli Articoli Fatturati</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Num</th>
<th>Data Ora</th>
<th>Quantità</th>
<th>Cod Articolo</th>
<th>Titolo Articolo</th>
<th>Ean13</th>
</tr>
</thead>
<tbody>
<!-- <pre>{{ print_r($ordini, true) }}</pre>-->
@foreach($ordini as $ordine)
<tr>
<td>@if (isset($ordine->progressivo)){{ $ordine->progressivo }}@endif
</td>
<td>@if (isset($ordine->DataOra))
{{ \Carbon\Carbon::parse($ordine->DataOra)->format('d/m/Y H:i:s') }}
@endif
</td>
<td>@if (isset($ordine->Qta)){{ $ordine->Qta }}@endif
</td>
<td>@if (isset($ordine->CodArticolo)){{ $ordine->CodArticolo }}@endif
</td>
<td>@if (isset($ordine->Titolo)){{ $ordine->Titolo }}@endif
</td>
<td>@if (isset($ordine->Ean13)){{ $ordine->Ean13 }}@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>