95 lines
4.2 KiB
Plaintext
95 lines
4.2 KiB
Plaintext
<div class="card shadow">
|
|
<div class="card-header px-1">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-2">
|
|
<div class="d-flex">
|
|
<div class="px-0">
|
|
<h3>@Title</h3>
|
|
</div>
|
|
<div class="px-2">
|
|
@if (selIdxBill != 0 && HasBill(selIdxBill).Result)
|
|
{
|
|
<button class="btn btn-sm btn-warning btn-block" @onclick="RemoveB2O" title="Rimuovi link Ordini - Fatture">
|
|
<i class="fas fa-unlink"></i> Rimuovi O⇆F
|
|
</button>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@if (ShowImport)
|
|
{
|
|
<div class="px-2">
|
|
<div class="input-group">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Esercizio (from)</span>
|
|
</div>
|
|
<input type="text" class="form-control" placeholder="Anno Inizio" @bind="@YearFrom">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-success" @onclick="ImportExtBill">Import EXT</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
@if (ShowTryLink)
|
|
{
|
|
<div class="px-2">
|
|
<div class="input-group">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">Link Automatico fatture</span>
|
|
</div>
|
|
<div class="input-group-append">
|
|
<button class="btn btn-success" @onclick="TryLinkBill">Try LINK Fatture</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
<div class="px-2">
|
|
<div class="d-flex">
|
|
@if (selIdxBill != 0)
|
|
{
|
|
<div class="px-0">
|
|
<i class="fas fa-clipboard text-success" title="@selIdxBill"></i>
|
|
</div>
|
|
<div class="px-0">
|
|
@if (AmountTot > 0)
|
|
{
|
|
<div class="px-2" style="font-size:1.2rem;">
|
|
<b>Fatt</b>: @($"{AmountTot:C2}") / <b>Pag</b>: @($"{PaidTot:C2}")
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|
|
<div class="px-0">
|
|
@if (ShowDropRec)
|
|
{
|
|
<div class="input-group input-group-sm">
|
|
<select class="form-control form-select" @bind="ShowDet">
|
|
<option value="0">---Tutti---</option>
|
|
<option value="1">Registrati</option>
|
|
<option value="-1">Non Registrati</option>
|
|
</select>
|
|
<div class="input-group-append">
|
|
<button class="@cssBtnResDetail" @onclick="ResetDetail"><i class="fas fa-undo"></i></button>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body p-1">
|
|
@if (isLoading)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else
|
|
{
|
|
<BillExtList CurrFilter="CurrFilter" CurrPagInfo="CurrPagInfo" ShowOnlyNoCustId="ShowOnlyNoCustId" ShowOnlyNoOrd="ShowOnlyNoOrd" ShowSelect="ShowSelect" E_UpdateCount="SetCount" E_IdxBillExt="SetBill" ShowDetails="ShowDet" E_BillSel="SaveBillSel"></BillExtList>
|
|
}
|
|
</div>
|
|
<div class="card-footer py-1">
|
|
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="SetNumRec" numPageChanged="SetCurrPage" totalCount="totalCount" showLoading="isLoading" />
|
|
</div>
|
|
</div>
|