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') <head>
<div class="container"> <meta charset="UTF-8">
<h1>Totale Vendite per Articolo</h1> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<table class="table table-striped"> <title>Articoli Venduti</title>
<thead> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<tr> </head>
<th>ID Articolo</th>
<th>Descrizione</th> <body>
<th>Totale Venduti</th> <div class="container">
</tr> <h1>Totale Vendite per Articolo</h1>
</thead> <table class="table table-striped">
<tbody> <thead>
@foreach($articoli as $articolo) <tr>
<tr> <th>ID Articolo</th>
<td>{{ $articolo->IdArticolo }}</td> <th>Descrizione</th>
<td>{{ $articolo->Titolo }}</td> <th>Totale Venduti</th>
<td>{{ number_format($articolo->totaleVenduti, 0, ',', '.') }}</td> </tr>
</tr> </thead>
@endforeach <tbody>
</tbody> @foreach($articoli as $articolo)
</table> <tr>
</div> <td>{{ $articolo->IdArticolo }}</td>
@endsection <td>{{ $articolo->Titolo }}</td>
<td>{{ number_format($articolo->totaleVenduti, 0, ',', '.') }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</body>
</html>