ordini e test

This commit is contained in:
paoloar77
2024-12-07 23:24:49 +01:00
parent 79f2ff2e00
commit ec9d3d83e5
3 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Articoli Venduti</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 Ordini</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Data Ora</th>
<th>Quantità</th>
<th>Titolo Articolo</th>
</tr>
</thead>
<tbody>
@foreach($ordini as $ordine)
<tr>
<td>{{ \Carbon\Carbon::parse($ordine->DataOra)->format('d/m/Y H:i:s') }}</td>
<td>{{ $ordine->Qta }}</td>
<td>{{ $ordine->Titolo }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>