This commit is contained in:
paoloar77
2024-12-07 20:57:15 +01:00
parent 2e6d4b7251
commit 7162958252
3 changed files with 52 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
@extends('layouts.app')
@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($articoliVenduti as $articolo)
<tr>
<td>{{ $articolo->IdArticolo }}</td>
<td>{{ $articolo->Descrizione }}</td>
<td>{{ number_format($articolo->totaleVenduti, 0, ',', '.') }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endsection