This commit is contained in:
aespin 2024-10-10 12:29:38 +02:00
parent d39bbe59da
commit 55f9db7b01

View File

@ -13,28 +13,23 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<td>Paq.Etiquetados</td> <th>Paq.Etiquetados</th>
<td>Eti.Leídas</td> <th>Eti.Leídas</th>
<td>Paq.Confirmados</td> <th>Paq.Confirmados</th>
</tr> </tr>
</thead> </thead>
<!-- <tfoot>
<tr>
<td>Paq.Etiquetados</td>
<td>Eti.Leídas</td>
<td>Paq.Confirmados</td>
</tr>
</tfoot> -->
<tbody> <tbody>
<tr> <tr>
<td></td> <td><span class="tag is-primary is-medium">000</span></td>
<td><span class="tag is-primary is-medium">000</span></td>
<td><span class="tag is-primary is-medium">000</span></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</nav> </nav>
</div> </div>
<div class="column is-one-quarter"> <div class="column is-2">
<nav class="panel is-link"> <nav class="panel is-link">
<p class="panel-heading"><i class="fas fa-barcode"></i> Etiquetas leídas ATA12</p> <p class="panel-heading"><i class="fas fa-barcode"></i> Etiquetas leídas ATA12</p>
<div class="panel-block"> <div class="panel-block">
@ -65,7 +60,7 @@
</nav> </nav>
</div> </div>
{{ if .BundlesATA12 }} {{ if .BundlesATA12 }}
<div class="column"> <div class="column is-10">
<nav class="panel is-link"> <nav class="panel is-link">
<p class="panel-heading"><i class="fas fa-box"></i> Paquetes ATA12</p> <p class="panel-heading"><i class="fas fa-box"></i> Paquetes ATA12</p>
<div class="panel-block"> <div class="panel-block">
@ -136,6 +131,109 @@
</div> </div>
</nav> </nav>
</div> </div>
<div class="column is-2">
<nav class="panel is-link">
<p class="panel-heading"><i class="fas fa-barcode"></i> Etiquetas leídas ATA345</p>
<div class="panel-block">
<table class="table">
<thead>
<tr>
<th><abbr title="Unidad de almacén">UA</abbr></th>
<th>Origen</th>
<th>Fecha</th>
</tr>
</thead>
<tfoot>
<tr>
<th><abbr title="Unidad de almacén">UA</abbr></th>
<th>Origen</th>
<th>Fecha</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>9401234567</td>
<td>1</td>
<td>05/10/2024 08:19</td>
</tr>
</tbody>
</table>
</div>
</nav>
</div>
{{ end }}
{{ if .BundlesATA345 }}
<div class="column is-10">
<nav class="panel is-link">
<p class="panel-heading"><i class="fas fa-box"></i> Paquetes ATA345</p>
<div class="panel-block">
<table class="table">
<thead>
<tr>
<th><abbr title="Unidad de almacén">UA</abbr></th>
<th>PO</th>
<th>CO</th>
<th>Calidad</th>
<th>Código SAP</th>
<th>Producto</th>
<th>Peso</th>
<th>Desvío</th>
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
<th><abbr title="Nivel 3">N3</abbr></th>
<th>SAP</th>
<th>Fecha</th>
</tr>
</thead>
<tfoot>
<tr>
<th><abbr title="Unidad de almacén">UA</abbr></th>
<th>PO</th>
<th>CO</th>
<th>Calidad</th>
<th>Código SAP</th>
<th>Producto</th>
<th>Peso</th>
<th>Desvío</th>
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
<th><abbr title="Nivel 3">N3</abbr></th>
<th>SAP</th>
<th>Fecha</th>
</tr>
</tfoot>
<tbody>
{{ range .BundlesATA345 }}
<tr>
<td><a href="">{{ .Nromatricula }}</a></td>
<td><a href="">{{ .Po }}</a></td>
<td><a href="">{{ .Co }}</a></td>
<td>{{ .Calidad }}</td>
<td>{{ .Matnr }}</td>
<td>{{ .SeccionTipo }}</td>
<td>{{ .PaquetePeso }}</td>
<td>{{ .FormatDesvio }}</td>
{{if .Confirmed }}
<td class="has-background-primary has-text-white"></td>
{{ else }}
<td class="has-background-danger has-text-white">No</td>
{{ end }}
{{if .L3Sended }}
<td class="has-background-primary has-text-white"></td>
{{ else }}
<td class="has-background-danger has-text-white">No</td>
{{ end }}
{{if .SAP }}
<td class="has-background-primary has-text-white"></td>
{{ else }}
<td class="has-background-danger has-text-white">No</td>
{{ end }}
<td>{{ .FormatCreatedAt }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</nav>
</div>
{{ end }} {{ end }}
</div> </div>
</div> </div>