Files

49 lines
1.8 KiB
Plaintext

@using SHERPA.BBM.UI.Data
@inject BBM_EFService BBMService
@inject MessageService MessageService
<table class="table table-sm table-striped ">
<thead>
<tr>
<th></th>
<th>Cod</th>
<th>Descrizione</th>
<th class="text-right">Importo</th>
</tr>
</thead>
<tbody>
@foreach (var record in ListRecords)
{
<tr class="@checkSelect(@record.DocId)">
<td class="text-nowrap">
<button class="btn btn-sm btn-info" @onclick="() => Move(record)"><span class="fas fa-arrows-alt-h"></span></button>
</td>
<td class="text-nowrap">
<div>@record.RagSoc</div>
<div class="small" title="@record.DescBasket">@record.CodBasket</div>
<div class="small" title="@record.NegotDescript">@record.CodNegotiation</div>
<div class="small">@record.CodDoc</div>
</td>
<td>
<div>@record.Descript</div>
<div class="small">@record.Note</div>
</td>
<td class="text-right text-nowrap" title="Importo">
<b>@record.Importo.ToString("C2")</b>
@if (record.Fatturato > 0)
{
<div title="Fatturato" class="small">@record.Fatturato.ToString("C2") [F]</div>
<div title="Incassato" class="small">@record.Incassato.ToString("C2") [I]</div>
}
</td>
</tr>
}
</tbody>
</table>
<div class="small">
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="ForceReload" numPageChanged="ForceReloadPage" totalCount="totalCount" showLoading="isLoading" />
</div>