This commit is contained in:
paoloar77
2024-12-07 22:56:39 +01:00
parent fcbcd4f338
commit 37febf0c41

View File

@@ -1,25 +1,35 @@
@extends('layouts.app')
<!DOCTYPE html>
<html lang="it">
@section('content')
<div class="container">
<h1>Totale Vendite per Articolo</h1>
<table class="table table-striped">
<thead>
<tr>
<th>ID Articolo</th>
<th>Descrizione</th>
<th>Totale Venduti</th>
</tr>
</thead>
<tbody>
@foreach($articoli as $articolo)
<tr>
<td>{{ $articolo->IdArticolo }}</td>
<td>{{ $articolo->Titolo }}</td>
<td>{{ number_format($articolo->totaleVenduti, 0, ',', '.') }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endsection
<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>Totale Vendite per Articolo</h1>
<table class="table table-striped">
<thead>
<tr>
<th>ID Articolo</th>
<th>Descrizione</th>
<th>Totale Venduti</th>
</tr>
</thead>
<tbody>
@foreach($articoli as $articolo)
<tr>
<td>{{ $articolo->IdArticolo }}</td>
<td>{{ $articolo->Titolo }}</td>
<td>{{ number_format($articolo->totaleVenduti, 0, ',', '.') }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>