Files
2025-09-09 17:14:58 +02:00

99 lines
4.2 KiB
Plaintext

<div class="d-flex justify-content-between mt-2">
<div class="px-2 flex-grow-1">
<h4>Piano Produzione - PODL</h4>
<MachSel RecMSE="RecMSE" E_MachSel="SetMacc"></MachSel>
</div>
<div class="px-2">
<h4>&nbsp;</h4>
<div class="form-check form-switch fs-6">
<input class="form-check-input" type="checkbox" @bind="@OnlyDirect">
<label class="form-check-label">Solo Assegnazione Diretta</label>
</div>
</div>
</div>
<div>
<ShowProcessing Message="Caricamento" IsProcessing="@isProcessing"></ShowProcessing>
</div>
@if (isProcessing)
{
<EgwCoreLib.Razor.LoadingData></EgwCoreLib.Razor.LoadingData>
}
else
{
<div class="row p-3">
<div class="col-12 cardObj p-2">
@if (ListPodl.Count == 0)
{
<div class="alert alert-info fs-4">Nessun record trovato</div>
}
else
{
<table class="table table-sm table-dark table-striped text-center rounded" style="font-size: 1.3rem;">
<thead>
<tr class="text-center">
<th>
Data
</th>
<th>
Articolo
</th>
<th>
Macchina
</th>
<th>
Pezzi
</th>
</tr>
</thead>
<tbody>
@foreach (var item in ListPodl)
{
<tr>
<td>
<div>@($"{item.DueDate:dd.MM.yyyy}")</div>
<small>[@item.IdxPromessa]</small>
</td>
<td class="w-50">
<div class="row">
<div class="col-6 text-start">
<b>@item.CodArticolo</b>
</div>
<div class="col-6 text-end text-nowrap">
@item.KeyRichiesta
</div>
<div class="col-12 text-center textCondens text-warning">
@item.DescArticolo
</div>
</div>
</td>
<td>
<div>
<b>@item.CodMacchina</b>
</div>
<small class="text-warning text-nowrap fw-bold">@item.Nome</small>
</td>
<td>
<div class="row">
<div class="col-12 col-lg-6 text-nowrap text-success">
Tot: @($"{item.NumPezzi}")
<div class="text-secondary textCondens small">
@item.PzPallet pz/pal
</div>
</div>
<div class="col-12 col-lg-6 text-nowrap text-success">
TC: @($"{item.Tcassegnato:N2}") (min)
<div class="text-secondary textCondens small">
@TCMinSec(item.Tcassegnato)
</div>
</div>
</div>
</td>
</tr>
}
</tbody>
</table>
}
</div>
</div>
}