Files
lux/Lux.UI/Components/Compo/JobTask/JobStepMan.razor
T
2025-10-29 11:18:30 +01:00

46 lines
1.7 KiB
Plaintext

<div class="card border-info shadow">
<div class="card-header bg-info bg-opacity-50 bg-gradient">
Dettaglio <b>Fasi</b> job
</div>
<div class="card-body">
@if (totalCount == 0)
{
<div class="alert alert-info text-center display-4">Nessun record trovato</div>
}
else
{
<table class="table table-sm table-striped">
<thead>
<tr>
<th>
<button class="btn btn-sm btn-primary" title="Reset selezione" @onclick="DoReset"><i class="fa-solid fa-arrow-rotate-right"></i></button>
</th>
<th>Ord.</th>
<th>Fase</th>
<th>Risorsa</th>
<th>Descrizione</th>
<th>Rate</th>
<th>
<button class="btn btn-sm btn-success" @onclick="ToggleAdd"><i class="fa-solid fa-plus"></i></button>
</th>
</tr>
</thead>
<tbody>
@foreach (var item in ListRecords)
{
<tr>
<td></td>
<td>@item.Index</td>
<td>@item.PhaseNav.Name</td>
<td>@item.ResourceNav.Name</td>
<td>@item.Description</td>
<td>@($"{item.ProductivityRate:P2}")</td>
<td></td>
</tr>
}
</tbody>
</table>
}
</div>
</div>