Fatturati
This commit is contained in:
@@ -81,7 +81,9 @@
|
||||
|
||||
|
||||
<td>@if (isset($articolo->totVen))
|
||||
<a href="/apimacro/public/view-ordini-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
<!--<a href="/apimacro/public/view-ordini-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
target="_blank">{{ $articolo->totVen }}</a>-->
|
||||
<a href="/apimacro/public/view-fatturati-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
target="_blank">{{ $articolo->totVen }}</a>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
51
resources/views/fatturati.blade.php
Normal file
51
resources/views/fatturati.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="it">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Articoli Fatturati</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 Articoli Fatturati</h1>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Num</th>
|
||||
<th>Data Ora</th>
|
||||
<th>Quantità</th>
|
||||
<th>Cod Articolo</th>
|
||||
<th>Titolo Articolo</th>
|
||||
<th>Ean13</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--<pre>{{ print_r($ordini, true) }}</pre>-->
|
||||
|
||||
@foreach($ordini as $ordine)
|
||||
<tr>
|
||||
<td>@if (isset($ordine->progressivo)){{ $ordine->progressivo }}@endif
|
||||
</td>
|
||||
<td>@if (isset($ordine->DataOra))
|
||||
{{ \Carbon\Carbon::parse($ordine->DataOra)->format('d/m/Y H:i:s') }}
|
||||
@endif
|
||||
</td>
|
||||
<td>@if (isset($ordine->Qta)){{ $ordine->Qta }}@endif
|
||||
</td>
|
||||
<td>@if (isset($ordine->CodArticolo)){{ $ordine->CodArticolo }}@endif
|
||||
</td>
|
||||
<td>@if (isset($ordine->Titolo)){{ $ordine->Titolo }}@endif
|
||||
</td>
|
||||
<td>@if (isset($ordine->Ean13)){{ $ordine->Ean13 }}@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -37,7 +37,9 @@
|
||||
</td>
|
||||
|
||||
<td>@if (isset($articolo->totVen))
|
||||
<a href="/apimacro/public/view-ordini-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
<!--<a href="/apimacro/public/view-ordini-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
target="_blank">{{ $articolo->totVen }}</a>-->
|
||||
<a href="/apimacro/public/view-fatturati-by-idarticolo/{{$articolo->IdArticolo}}"
|
||||
target="_blank">{{ $articolo->totVen }}</a>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user