80 lines
5.1 KiB
Plaintext
80 lines
5.1 KiB
Plaintext
@page "/ImportExt"
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3>Data Import ⇆ Sync</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row text-center">
|
|
@if (isLoading)
|
|
{
|
|
<div class="col-12">
|
|
<LoadingData></LoadingData>
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="col-3 pr-1">
|
|
<ul class="list-group shadow-lg">
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.ClientiInt)" @onclick="()=> SetMode(ModoSync.ClientiInt)">
|
|
1) Clienti Interni (BBM)
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1">@ListClienti.Count()</span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.Ordini)" @onclick="()=> SetMode(ModoSync.Ordini)">
|
|
2) Ordini (BBM)
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1">@ListOrd.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.Clienti)" @onclick="()=> SetMode(ModoSync.Clienti)">
|
|
3) Clienti Importati (EXT)
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1">@ListClientiExt.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.Fatture)" @onclick="()=> SetMode(ModoSync.Fatture)">
|
|
4) Fatture Importate (EXT)
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1" >@ListBillExt.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.FattureNoLinkCli)" @onclick="()=> SetMode(ModoSync.FattureNoLinkCli)">
|
|
5) Fatture (EXT) senza cliente
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1">@ListBillExtNRCli.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.FattureNoLinkOrd)" @onclick="()=> SetMode(ModoSync.FattureNoLinkOrd)">
|
|
6) Fatture (EXT) senza ORD
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1" >@ListBillExtNROrd.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @cssByMode(ModoSync.ClientiNoLink)" @onclick="()=> SetMode(ModoSync.ClientiNoLink)">
|
|
7) Clienti (EXT) inattivi/no link
|
|
<span class="bg-primary rounded-pill text-light px-3 py-1" >@ListClientiExtNR.Count() <i class="fas fa-caret-square-right"></i></span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-9 pl-0 text-left">
|
|
@if (currMode == ModoSync.Clienti)
|
|
{
|
|
<CustExtCard E_DataUpdated="DoReload" Title="Clienti (EXT)" ShowImport="true" ShowOnlyMissing="false"></CustExtCard>
|
|
}
|
|
else if (currMode == ModoSync.Ordini)
|
|
{
|
|
<OrdersCard CurrFilter="currFilter" Title="Ordini (INT)" ShowConvert="true" E_DataUpdated="DoReload"></OrdersCard>
|
|
}
|
|
else if (currMode == ModoSync.ClientiNoLink)
|
|
{
|
|
<CustExtCard E_DataUpdated="DoReload" Title="Clienti NO LINK" ShowImport="false" ShowOnlyMissing="true"></CustExtCard>
|
|
}
|
|
else if (currMode == ModoSync.Fatture)
|
|
{
|
|
<BillCard E_DataUpdated="DoReload" ShowImport="true" ShowTryLink="false" CurrFilter="currFilter" ShowOnlyNoCustId="false" Title="Fatture (EXT)" ShowSelect="false"></BillCard>
|
|
}
|
|
else if (currMode == ModoSync.FattureNoLinkCli)
|
|
{
|
|
<BillCard E_DataUpdated="DoReload" ShowImport="false" ShowTryLink="false" CurrFilter="currFilter" ShowOnlyNoCustId="true" Title="Fatture NO LINK Clienti" ShowSelect="false"></BillCard>
|
|
}
|
|
else if (currMode == ModoSync.FattureNoLinkOrd)
|
|
{
|
|
<BillCard E_DataUpdated="DoReload" ShowImport="false" ShowTryLink="true" CurrFilter="currFilter" ShowOnlyNoOrd="true" Title="Fatture NO LINK Ordini" ShowSelect="false"></BillCard>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|