Update UI Selector Scan Item
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 9m1s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 9m1s
This commit is contained in:
parent
2d1dc71343
commit
d3c1e20635
@ -15,7 +15,7 @@
|
||||
<button type="button" class="btn-close" aria-label="Close" @onclick="Cancel"></button>
|
||||
</div>
|
||||
|
||||
<div class="modal-body" style="zoom:0.8;">
|
||||
<div class="modal-body" style="zoom:0.9;">
|
||||
<div class="mb-3">
|
||||
<label for="scan" class="form-label">Escanear o ingresar código</label>
|
||||
<div class="input-group">
|
||||
@ -44,15 +44,16 @@
|
||||
Último escaneado: <strong>@last.ProductName</strong> | Lote <strong>@last.Batch</strong> | Venc: <strong>@last.Expiration?.ToShortDateString()</strong>
|
||||
</div>
|
||||
}
|
||||
<table class="table table-sm table-bordered">
|
||||
<div class="stockselector-table-wrap" style="zoom:80%">
|
||||
<table class="table table-sm table-bordered stockselector-table">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>Producto</th>
|
||||
<th>Lote</th>
|
||||
<th>Serial</th>
|
||||
<th>Vencimiento</th>
|
||||
<th>Disponible</th>
|
||||
<th>Cantidad a usar</th>
|
||||
<th class="text-left align-middle">Producto</th>
|
||||
<th class="text-center align-middle">Lote</th>
|
||||
<th class="text-center align-middle">Serial</th>
|
||||
<th class="text-center align-middle">Vencimiento</th>
|
||||
<th class="text-center align-middle">Disponible</th>
|
||||
<th class="text-center align-middle">Cantidad a usar</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -60,10 +61,10 @@
|
||||
{
|
||||
<tr>
|
||||
<td>@item.ProductName</td>
|
||||
<td>@item.Batch</td>
|
||||
<td>@item.Serial</td>
|
||||
<td>@item.Expiration?.ToShortDateString()</td>
|
||||
<td>@item.Available.ToString("N2", CultureInfo.CurrentCulture)</td>
|
||||
<td class="text-center align-middle">@item.Batch</td>
|
||||
<td class="text-center align-middle">@item.Serial</td>
|
||||
<td class="text-center align-middle">@item.Expiration?.ToShortDateString()</td>
|
||||
<td class="text-center align-middle">@item.Available.ToString("N2", CultureInfo.CurrentCulture)</td>
|
||||
<td>
|
||||
<input type="number"
|
||||
value="@(item.Selected.ToString("G29"))"
|
||||
@ -76,6 +77,8 @@
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
.stockselector-table-wrap {
|
||||
height: 30vh; /* 30% de la altura visible del navegador */
|
||||
overflow-y: auto; /* genera el scrollbar vertical */
|
||||
}
|
||||
|
||||
/* Sticky header */
|
||||
.stockselector-table thead th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
background: #f8f9fa; /* mismo color que .table-light */
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user