2024-10-06 18:52:09 +02:00
|
|
|
{{define "title"}}Falcon UI{{end}}
|
|
|
|
|
|
|
|
{{define "body"}}
|
|
|
|
|
|
|
|
<div class="container is-fluid">
|
2024-10-10 12:14:21 +02:00
|
|
|
<hr>
|
|
|
|
<h3 class="title is-3"> <i class="fas fa-box"></i> Paquetes</h3>
|
2024-10-06 18:52:09 +02:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
|
|
|
<nav class="panel is-link">
|
2024-10-10 12:14:21 +02:00
|
|
|
<p class="panel-heading"><i class="fas fa-search" aria-hidden="true"></i> Busqueda Paquetes</p>
|
2024-10-08 10:32:07 +02:00
|
|
|
<form action="/bundle" method="post">
|
|
|
|
<div class="panel-block">
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">Unidad almacén</label>
|
|
|
|
<div class="control">
|
|
|
|
<p class="control has-icons-left">
|
|
|
|
<input class="input is-link has-dropdown is-hoverable has-icons-right" type="text"
|
|
|
|
id="ua" name="ua" minlength="10" maxlength="10" />
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-block">
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">Fechas</label>
|
|
|
|
<div class="control">
|
|
|
|
<p class="control has-icons-left">
|
|
|
|
<input class="input is-link has-dropdown is-hoverable has-icons-right" type="date"
|
|
|
|
id="fechas" name="fechas" required />
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="panel-block">
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">Evacuadores</label>
|
|
|
|
<div class="control">
|
|
|
|
<p class="control has-icons-left">
|
|
|
|
<div class="select">
|
|
|
|
<select name="evacuadores" id="evacuadores">
|
|
|
|
<option value="3">TODOS</option>
|
|
|
|
<option value="1">ATA12</option>
|
|
|
|
<option value="2">ATA345</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-08 13:22:23 +02:00
|
|
|
<div class="panel-block">
|
|
|
|
<div class="field">
|
|
|
|
<label class="label">Selección</label>
|
|
|
|
<div class="control">
|
|
|
|
<p class="control has-icons-left">
|
|
|
|
<label class="checkbox">
|
2024-10-10 12:14:21 +02:00
|
|
|
<input type="checkbox" name="confirmed" id="confirmed" />
|
2024-10-08 13:22:23 +02:00
|
|
|
Confirmado
|
2024-10-10 12:14:21 +02:00
|
|
|
</label>
|
2024-10-08 13:22:23 +02:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-08 10:32:07 +02:00
|
|
|
<div class="panel-block">
|
|
|
|
<div class="buttons">
|
|
|
|
<button type="submit" class="button is-link is-outlined">
|
|
|
|
Busqueda
|
|
|
|
</button>
|
|
|
|
<button type="reset" class="button is-danger is-outlined">
|
|
|
|
Reset
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2024-10-06 18:52:09 +02:00
|
|
|
</nav>
|
|
|
|
</div>
|
2024-10-08 10:32:07 +02:00
|
|
|
|
2024-10-07 15:54:30 +02:00
|
|
|
{{ if .}}
|
|
|
|
<div class="column">
|
|
|
|
<nav class="panel is-link">
|
2024-10-10 12:14:21 +02:00
|
|
|
<p class="panel-heading"><i class="fas fa-file" aria-hidden="true"></i> Listado Paquetes</p>
|
2024-10-07 15:54:30 +02:00
|
|
|
<div class="panel-block">
|
2024-10-07 19:54:53 +02:00
|
|
|
<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>
|
2024-10-08 10:32:07 +02:00
|
|
|
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
|
|
<th><abbr title="Nivel 3">N3</abbr></th>
|
2024-10-07 19:54:53 +02:00
|
|
|
<th>SAP</th>
|
2024-10-08 13:22:23 +02:00
|
|
|
<th>Fecha</th>
|
2024-10-07 19:54:53 +02:00
|
|
|
</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>
|
2024-10-08 10:32:07 +02:00
|
|
|
<th><abbr title="Paquete confirmado">Conf.</abbr></th>
|
|
|
|
<th><abbr title="Nivel 3">N3</abbr></th>
|
2024-10-07 19:54:53 +02:00
|
|
|
<th>SAP</th>
|
2024-10-08 13:22:23 +02:00
|
|
|
<th>Fecha</th>
|
2024-10-07 19:54:53 +02:00
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
<tbody>
|
|
|
|
{{ range . }}
|
|
|
|
<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>
|
2024-10-08 10:32:07 +02:00
|
|
|
<td>{{ .FormatDesvio }}</td>
|
2024-10-10 12:14:21 +02:00
|
|
|
{{if .Confirmed }}
|
|
|
|
<td class="has-background-primary has-text-white">Sí</td>
|
|
|
|
{{ else }}
|
|
|
|
<td class="has-background-danger has-text-white">No</td>
|
|
|
|
{{ end }}
|
|
|
|
{{if .L3Sended }}
|
|
|
|
<td class="has-background-primary has-text-white">Sí</td>
|
|
|
|
{{ else }}
|
|
|
|
<td class="has-background-danger has-text-white">No</td>
|
|
|
|
{{ end }}
|
|
|
|
{{if .SAP }}
|
|
|
|
<td class="has-background-primary has-text-white">Sí</td>
|
|
|
|
{{ else }}
|
|
|
|
<td class="has-background-danger has-text-white">No</td>
|
|
|
|
{{ end }}
|
2024-10-08 13:22:23 +02:00
|
|
|
<td>{{ .FormatCreatedAt }}</td>
|
2024-10-07 19:54:53 +02:00
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-10-07 15:54:30 +02:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2024-10-06 18:52:09 +02:00
|
|
|
</div>
|
2024-10-08 10:32:07 +02:00
|
|
|
{{ end }}
|
2024-10-06 18:52:09 +02:00
|
|
|
</div>
|
2024-10-08 10:32:07 +02:00
|
|
|
<script src="/assets/js/bundle.js"></script>
|
2024-10-06 18:52:09 +02:00
|
|
|
{{ end }}
|