Test Edit Button Customer
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 4m54s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 4m54s
This commit is contained in:
parent
4f60a60154
commit
9275dbf168
@ -34,7 +34,7 @@
|
||||
|
||||
<div class="mt-4 flex justify-between items-center">
|
||||
<button class="btn btn-secondary" @onclick="AnteriorPagina" disabled="@(!PuedeRetroceder)">Anterior</button>
|
||||
<span>Página @SearchParams.Page de @TotalPaginas</span>
|
||||
<span> Página @SearchParams.Page de @TotalPaginas </span>
|
||||
<button class="btn btn-secondary" @onclick="SiguientePagina" disabled="@(!PuedeAvanzar)">Siguiente</button>
|
||||
</div>
|
||||
}
|
||||
@ -117,11 +117,15 @@
|
||||
// var filename = $"Tickets_{Group}_{currentDate}.xlsx";
|
||||
// await js.InvokeAsync<object>("saveAsFile", filename, Convert.ToBase64String(fileBytes));
|
||||
}
|
||||
|
||||
List<PhTable.ButtonOptions> botones = new List<PhTable.ButtonOptions>
|
||||
{
|
||||
new PhTable.ButtonOptions{ Caption="Editar", ElementClass="btn btn-primary btn-circle btn-sm"}
|
||||
};
|
||||
private int TotalPaginas => PagedResult is null ? 1 :
|
||||
(int)Math.Ceiling((double)(PagedResult.TotalItems) / SearchParams.PageSize);
|
||||
private bool PuedeAvanzar => PagedResult != null && SearchParams.Page < TotalPaginas;
|
||||
private bool PuedeRetroceder => PagedResult != null && SearchParams.Page > 1;
|
||||
|
||||
public void Cancel()
|
||||
{
|
||||
Navigation.NavigateTo("/DashboardPanel");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user