aa
This commit is contained in:
@@ -15,21 +15,30 @@
|
|||||||
<th>Id Articolo</th>
|
<th>Id Articolo</th>
|
||||||
<th>Titolo</th>
|
<th>Titolo</th>
|
||||||
<th>Totale Venduto</th>
|
<th>Totale Venduto</th>
|
||||||
|
<th>Ultimo Mese</th>
|
||||||
|
<th>Ultimi 6 Mesi</th>
|
||||||
|
<th>Ultimo Anno</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($articoliVenduti as $articolo)
|
@if ($articoliVenduti->isEmpty())
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $articolo->idArticolo }}</td>
|
<td colspan="6" class="text-center">Nessun articolo trovato.</td>
|
||||||
<td>{{ $articolo->Titolo }}</td>
|
|
||||||
<td>{{ $articolo->totaleVenduto }}</td>
|
|
||||||
<td>{{ $articolo->totaleVendutoUltimoMese }}</td>
|
|
||||||
<td>{{ $articolo->totaleVendutoUltimi6Mesi }}</td>
|
|
||||||
<td>{{ $articolo->totaleVendutoUltimoAnno }}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@else
|
||||||
|
@foreach ($articoliVenduti as $articolo)
|
||||||
|
<tr>
|
||||||
|
<td>{{ $articolo->idArticolo }}</td>
|
||||||
|
<td>{{ $articolo->Titolo }}</td>
|
||||||
|
<td>{{ $articolo->totaleVenduto }}</td>
|
||||||
|
<td>{{ $articolo->totaleVendutoUltimoMese }}</td>
|
||||||
|
<td>{{ $articolo->totaleVendutoUltimi6Mesi }}</td>
|
||||||
|
<td>{{ $articolo->totaleVendutoUltimoAnno }}</td>
|
||||||
|
</tr>
|
||||||
|
@endforeach
|
||||||
|
@endif
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user