50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
@page "/ODL"
|
|
|
|
<div class="card">
|
|
<div class="card-header table-primary">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-0">
|
|
<h2>Ordini Di Lavoro </h2>
|
|
</div>
|
|
<div class="px-0">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-2">
|
|
ODL Programmati / In Corso
|
|
<div class="form-check form-switch" title="Visualizzazione ODL Programmati / In Corso">
|
|
<input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault" @onclick="() => toggleCurrent()">
|
|
<label class="form-check-label" for="flexSwitchCheckDefault">@textToggle</label>
|
|
</div>
|
|
</div>
|
|
<div class="px-2">
|
|
<select @bind="@selStato" class="form-select">
|
|
<option value="*">--- Tutti ---</option>
|
|
@if (ListStati != null)
|
|
{
|
|
foreach (var item in ListStati)
|
|
{
|
|
<option value="@item.value">@item.label</option>
|
|
}
|
|
}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
@if (showCurrent)
|
|
{
|
|
<ListODL StatoSel="@selStato" PagerResetReq="pgResetReq"></ListODL>
|
|
}
|
|
else
|
|
{
|
|
<ListPODL StatoSel="@selStato" PagerResetReq="pgResetReq"></ListPODL>
|
|
}
|
|
</div>
|
|
<div class="card-footer py-1">
|
|
<DataPager @ref="pagerODL" PageSize="numRecord" currPage="currPage" numRecordChanged="ForceReload" numPageChanged="ForceReloadPage" totalCount="totalCount" showLoading="isLoading" />
|
|
</div>
|
|
</div>
|
|
|
|
|