ordini e test
This commit is contained in:
35
resources/views/ordini_test.blade.php
Normal file
35
resources/views/ordini_test.blade.php
Normal 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>
|
||||
Reference in New Issue
Block a user