VirtualTask/Views/Rapp_New/Index.cshtml
michele 0fa1e90a5d Home: aggiunto link download pdf
Rapp_New: in index sostituito seriale rapportino con seriale buono e aggiunto metodo Immagine a controller
Chiamate. messo link a immagine buono che apre popup con immagine
Aggiunto PDF guida a Assets.
2024-10-17 16:58:46 +02:00

731 lines
32 KiB
Plaintext

@model IPagedList<VirtualTask.Models.Rapp_New>
@using X.PagedList;
@using X.PagedList.Mvc.Core;
@using X.PagedList.Web.Common;
<link href="~/Content/PagedList.css" rel="stylesheet" type="text/css" />
@{
ViewData["Title"] = "Buoni intervento";
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
}
<div class="agy-project-wrapper agy-project-page-wrapper">
<div class="container">
<div class="row">
@* <p>
<a asp-action="Create" class="info-data"><img src="~/assets/images/icons8-nuovo-50.png" alt="Crea un nuovo elemento" /></a>
</p> *@
@using (Html.BeginForm("Index","Rapp_New"))
{
<div class="card">
<h5 class="card-header">Ricerca</h5>
<div class="table-responsive text-nowrap">
<table class="table">
<tbody class="table-border-bottom-0">
<tr>
<td>
<i class="bx bxl-angular bx-sm text-black me-3">Codice buono:</i>
<span class="fw-medium">@Html.TextBox("Codbuono", null, new { placeholder = "Cerca per Buono", @class = "agy-form-field require" })</span>
</td>
<td>
<i class="bx bxl-angular bx-sm text-black me-3">Tecnico:</i>
<span class="fw-medium">@Html.DropDownList("tecnico", ViewBag.Tecnici, null, new { @class = "agy-form-field require" })</span>
</td>
<td>
&nbsp;
</td>
</tr>
<tr>
<td>
<i class="bx bxl-angular bx-sm text-black me-3">Data da:</i>
<span class="fw-medium">@Html.TextBox("dataIni", null, new { type = "date", @class = "agy-form-field require" })</span>
</td>
<td>
<i class="bx bxl-angular bx-sm text-black me-3">Data a:</i>
<span class="fw-medium">@Html.TextBox("dataFin", null, new { type = "date", @class = "agy-form-field require" })</span>
</td>
<td>
<i class="bx bxl-angular bx-sm text-black me-3">&nbsp;</i>
<span class="fw-medium"><input type="submit" value="Cerca" class="agy-btn submitForm" /></span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
}
<div style="width:100%;height:30px;">
&nbsp;
</div>
<div class="card">
<h5 class="card-header">Buoni Intervento</h5>
<div class="table-responsive text-nowrap">
<table class="table table-striped">
<thead>
<tr>
<th>Codice buono</th>
@* <th>Tipo rapportino</th> *@
@* <th>Azienda</th> *@
<th>Data</th>
<th>Codice impianto</th>
@* <th hidden>Az. chiamata</th> *@
@* <th hidden>Seriale chiamata</th> *@
@* <th hidden>Seriale commessa</th> *@
@* <th hidden>Ora inizio</th> *@
@* <th hidden>Minuto inzio</th> *@
@* <th hidden>Ora fine</th> *@
@* <th hidden>Minuto fine</th> *@
@* <th hidden>Codice chiusura 1</th>
<th hidden>Codice chiusura 2</th>
<th hidden>Codice chiusura 3</th>
<th hidden>Codice chiusura 4</th>
<th hidden>Codice chiusura 5</th>
<th hidden>Codice chiusura 6</th>
<th hidden>Codice chiusura 7</th>
<th hidden>Codice chiusura 8</th>
<th hidden>Codice chiusura 9</th>
<th hidden>Codice chiusura 10</th>*@
<th>desc. Intervento</th>
@* <th hidden>Stato</th>
<th hidden>Generato</th>
<th hidden>Az. Tecnico</th> *@
<th>Cod. Tecnico</th>
@* <th hidden>Rifiutata</th>
<th hidden>Firma</th>
<th hidden>Incarico</th>
<th hidden>Data validità</th>
<th hidden>Immagine</th>
<th hidden>Seriale buono</th>
<th hidden>Data effettiva</th>
<th hidden>Codice intervento</th>
<th hidden>Difetti</th>
<th hidden>Lavoro</th>
<th hidden>Esito</th>
<th hidden>Note</th>
<th hidden>Nuovo contratto</th>
<th hidden>Ore lavoro</th>
<th hidden>Causale</th>
<th hidden>Materiale</th>
<th hidden>Diritto chiamata</th>
<th hidden>Manodopera</th>
<th hidden>Spese viaggio</th>
<th hidden>Pagamento</th>
<th hidden>Anticipo</th>
<th hidden>Totale</th>
<th hidden>Note pagamento</th>
<th hidden>Foto 1</th>
<th hidden>Foto 2</th>
<th hidden>Foto 3</th>
<th hidden>Foto 4</th>
<th hidden>Foto 5</th>
<th hidden>Foto 6</th>
<th hidden>Foto 7</th>
<th hidden>Foto 8</th>
<th hidden>Foto 9</th>
<th hidden>Foto 10</th> *@
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
@Html.HiddenFor(modelItem => item.seriale_rapportino)
@Html.HiddenFor(modelItem => item.tipo_rapportino)
@Html.HiddenFor(modelItem => item.azienda_impianto)
@Html.HiddenFor(modelItem => item.azienda_chiamata)
@Html.HiddenFor(modelItem => item.seriale_chiamata)
@Html.HiddenFor(modelItem => item.ora_ini_rapportino)
@Html.HiddenFor(modelItem => item.min_ini_rapportino)
@Html.HiddenFor(modelItem => item.ora_fin_rapportino)
@Html.HiddenFor(modelItem => item.min_fin_rapportino)
@Html.HiddenFor(modelItem => item.codice_chiusura_1)
@Html.HiddenFor(modelItem => item.codice_chiusura_2)
@Html.HiddenFor(modelItem => item.codice_chiusura_3)
@Html.HiddenFor(modelItem => item.codice_chiusura_4)
@Html.HiddenFor(modelItem => item.codice_chiusura_5)
@Html.HiddenFor(modelItem => item.codice_chiusura_6)
@Html.HiddenFor(modelItem => item.codice_chiusura_7)
@Html.HiddenFor(modelItem => item.codice_chiusura_8)
@Html.HiddenFor(modelItem => item.codice_chiusura_9)
@Html.HiddenFor(modelItem => item.codice_chiusura_10)
@Html.HiddenFor(modelItem => item.descrizione_intervento)
@Html.HiddenFor(modelItem => item.stato_finale)
@Html.HiddenFor(modelItem => item.generato)
@Html.HiddenFor(modelItem => item.azienda_tecnico)
@Html.HiddenFor(modelItem => item.rifiutata)
@Html.HiddenFor(modelItem => item.rifiutata)
@Html.HiddenFor(modelItem => item.firma)
@Html.HiddenFor(modelItem => item.incarico)
@Html.HiddenFor(modelItem => item.data_validita)
@Html.HiddenFor(modelItem => item.immagine)
@Html.HiddenFor(modelItem => item.data_effettiva)
@Html.HiddenFor(modelItem => item.codice_intervento)
@Html.HiddenFor(modelItem => item.difetti_riscontrati)
@Html.HiddenFor(modelItem => item.lavoro_eseguito)
@Html.HiddenFor(modelItem => item.esito_intervento)
@Html.HiddenFor(modelItem => item.note_intervento)
@Html.HiddenFor(modelItem => item.nuovo_contratto)
@Html.HiddenFor(modelItem => item.ore_lavoro)
@Html.HiddenFor(modelItem => item.causale)
@Html.HiddenFor(modelItem => item.materiale)
@Html.HiddenFor(modelItem => item.diritto_chiamata)
@Html.HiddenFor(modelItem => item.manodopera)
@Html.HiddenFor(modelItem => item.spese_viaggio)
@Html.HiddenFor(modelItem => item.pagamento)
@Html.HiddenFor(modelItem => item.anticipo)
@Html.HiddenFor(modelItem => item.totale)
@Html.HiddenFor(modelItem => item.note_pagamento)
@Html.HiddenFor(modelItem => item.tipo_intervento)
@Html.HiddenFor(modelItem => item.rafoto)
@Html.HiddenFor(modelItem => item.rafoto2)
@Html.HiddenFor(modelItem => item.rafoto3)
@Html.HiddenFor(modelItem => item.rafoto4)
@Html.HiddenFor(modelItem => item.rafoto5)
@Html.HiddenFor(modelItem => item.rafoto6)
@Html.HiddenFor(modelItem => item.rafoto7)
@Html.HiddenFor(modelItem => item.rafoto8)
@Html.HiddenFor(modelItem => item.rafoto9)
@Html.DisplayFor(modelItem => item.rafoto10)
<td>
@* @Html.DisplayFor(modelItem => item.seriale_rapportino) *@
@Html.DisplayFor(modelItem => item.ser_buono)
</td>
<td>
@Html.DisplayFor(modelItem => item.data_rapportino)
</td>
<td>
@Html.DisplayFor(modelItem => item.codice_impianto)
</td>
<td>
@Html.DisplayFor(modelItem => item.descrizione_intervento)
</td>
<td>
@Html.DisplayFor(modelItem => item.codice_tecnico)
</td>
<td>
@* <a href="@Url.Action("Edit", "Rapp_New", new { id=item.seriale_rapportino })" title="Modifica" class="links">
<img alt="Modifica" src="@Url.Content("~/assets/images/icons8-modificare-64.png")" style="width:30px;height:30px;">
</a>
| *@
<a href="@Url.Action("Details", "Rapp_New", new { id=item.seriale_rapportino })" title="Dettaglio" class="links">
<img alt="Dettaglio" src="@Url.Content("~/assets/images/icons8-visualizza-file-64.png")" style="width:30px;height:30px;">
</a>
@*
|
<a href="@Url.Action("Delete", "Rapp_New", new { id=item.seriale_rapportino })" title="Elimina" class="links">
<img alt="Elimina" src="@Url.Content("~/assets/images/icons8-elimina-50.png")" style="width:30px;height:30px;">
</a> *@
</td>
</tr>
}
</tbody>
</table>
</div>
</div>
<br />
<nav>
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, /* searchString = @ViewData["CurrentFilter"], */
CodBuono = @ViewData["Codbuono"], tecnico = @ViewData["tecnico"], dataIni = @ViewData["dataIni"], dataFin=@ViewData["dataFin"]}), new PagedListRenderOptions()
{
ActiveLiElementClass = "active",
PageClasses = new[]{ "page-link"},
LiElementClasses=new[] { "page-item" },
UlElementClasses = new[] { "pagination","justify-content-center", "mt-3" },
LinkToNextPageFormat = "Successiva",
LinkToPreviousPageFormat = "Precedente",
MaximumPageNumbersToDisplay = 5,
DisplayLinkToPreviousPage = PagedListDisplayMode.Always,
DisplayLinkToNextPage = PagedListDisplayMode.Always
})
</nav>
</div>
</div>
</div>
@* <h1>Rapportini</h1>
<p>
<a asp-action="Create">Crea nuovo rapportino</a>
</p>
@using (Html.BeginForm())
{
<p>
Cerca per seriale: @Html.TextBox("SearchString")
<input type="submit" value="Cerca" />
</p>
}
<table class="table">
<thead>
<tr>
<th> *@
@* @Html.DisplayNameFor(model => model.seriale_rapportino) *@
@* Seriale rapportino
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.tipo_rapportino) *@
@* Tipo rapportino
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.azienda_impianto) *@
@* Azienda
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.codice_impianto) *@
@* Codice impianto
</th>
<th *@>
@* @Html.DisplayNameFor(model => model.azienda_chiamata) *@
@* Az. chiamata
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.seriale_chiamata) *@
@* Seriale chiamata
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.seriale_commessa) *@
@* Seriale commessa
</th>
<th> *@
@* @Html.DisplayNameFor(model => model.data_rapportino) *@
@* Data rapportino
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.ora_ini_rapportino) *@
@* Ora inizio
</th>
<th hidden >*@
@* @Html.DisplayNameFor(model => model.min_ini_rapportino) *@
@* Minuto inzio
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.ora_fin_rapportino) *@
@* Ora fine
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.min_fin_rapportino) *@
@* Minuto fine
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_1) *@
@* Codice chiusura 1
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_2) *@
@* Codice chiusura 2
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_3) *@
@* Codice chiusura 3
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_4) *@
@* Codice chiusura 4
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_5) *@
@* Codice chiusura 5
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_6) *@
@* Codice chiusura 6
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_7) *@
@* Codice chiusura 7
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_8) *@
@* Codice chiusura 8
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_9) *@
@* Codice chiusura 9
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_chiusura_10) *@
@* Codice chiusura 10
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.descrizione_intervento) *@
@* desc. Intervento
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.stato_finale) *@
@* Stato
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.generato) *@
@* Generato
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.azienda_tecnico) *@
@* Az. Tecnico
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_tecnico) *@
@* Cod. Tecnico
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rifiutata) *@
@* Rifiutata
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.firma) *@
@* Firma
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.incarico) *@
@* Incarico
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.data_validita) *@
@* Data validità
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.immagine) *@
@* Immagine
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.ser_buono) *@
@* Seriale buono
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.data_effettiva) *@
@* Data effettiva
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.codice_intervento) *@
@* Codice intervento
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.difetti_riscontrati) *@
@* Difetti
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.lavoro_eseguito) *@
@* Lavoro
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.esito_intervento) *@
@* Esito
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.note_intervento) *@
@* Note
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.nuovo_contratto) *@
@* Nuovo contratto
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.ore_lavoro) *@
@* Ore lavoro
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.causale) *@
@* Causale
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.materiale) *@
@* Materiale
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.diritto_chiamata) *@
@* Diritto chiamata
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.manodopera) *@
@* Manodopera
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.spese_viaggio) *@
@* Spese viaggio
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.pagamento) *@
@* Pagamento
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.anticipo) *@
@* Anticipo
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.totale) *@
@* Totale
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.note_pagamento) *@
@* Note pagamento
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.tipo_intervento) *@
@* Tipo intervento
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto) *@
@* Foto 1
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto2) *@
@* Foto 2
</th> *@
@* <th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto3) *@
@* Foto 3
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto4) *@
@* Foto 4
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto5) *@
@* Foto 5
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto6) *@
@* Foto 6
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto7) *@
@* Foto 7
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto8) *@
@* Foto 8
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto9) *@
@* Foto 9
</th>
<th hidden> *@
@* @Html.DisplayNameFor(model => model.rafoto10) *@
@* Foto 10
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.seriale_rapportino)
</td>
<td>
@Html.DisplayFor(modelItem => item.tipo_rapportino)
</td>
<td>
@Html.DisplayFor(modelItem => item.azienda_impianto)
</td>
<td>
@Html.DisplayFor(modelItem => item.codice_impianto)
</td>
<td>
@Html.DisplayFor(modelItem => item.azienda_chiamata)
</td>
<td>
@Html.DisplayFor(modelItem => item.seriale_chiamata)
</td>
<td>
@Html.DisplayFor(modelItem => item.seriale_commessa)
</td>
<td>
@Html.DisplayFor(modelItem => item.data_rapportino)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.ora_ini_rapportino)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.min_ini_rapportino)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.ora_fin_rapportino)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.min_fin_rapportino)
</td>
<td>
@Html.DisplayFor(modelItem => item.codice_chiusura_1)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_2)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_3)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_4)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_5)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_6)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_7)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_8)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_9)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_chiusura_10)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.descrizione_intervento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.stato_finale)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.generato)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.azienda_tecnico)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_tecnico)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rifiutata)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.firma)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.incarico)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.data_validita)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.immagine)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.ser_buono)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.data_effettiva)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.codice_intervento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.difetti_riscontrati)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.lavoro_eseguito)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.esito_intervento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.note_intervento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.nuovo_contratto)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.ore_lavoro)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.causale)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.materiale)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.diritto_chiamata)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.manodopera)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.spese_viaggio)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.pagamento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.anticipo)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.totale)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.note_pagamento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.tipo_intervento)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto2)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto3)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto4)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto5)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto6)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto7)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto8)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto9)
</td>
<td hidden>
@Html.DisplayFor(modelItem => item.rafoto10)
</td>
<td>
@Html.ActionLink("Modifica", "Edit", new { id=item.seriale_rapportino }) |
@Html.ActionLink("Dettaglio", "Details", new { id=item.seriale_rapportino }) |
@Html.ActionLink("Elimina", "Delete", new { id=item.seriale_rapportino })
</td>
</tr>
}
</tbody>
</table>
<br />
<nav>
@Html.PagedListPager(Model, page => Url.Action("index", new { page = page, searchString=@ViewData["CurrentFilter"] }), new PagedListRenderOptions()
{
ActiveLiElementClass = "active",
PageClasses = new[]{ "page-link"},
LiElementClasses=new[] { "page-item" },
UlElementClasses = new[] { "pagination","justify-content-center", "mt-3" },
LinkToNextPageFormat = "Successiva",
LinkToPreviousPageFormat = "Precedente",
MaximumPageNumbersToDisplay = 5,
DisplayLinkToPreviousPage = PagedListDisplayMode.Always,
DisplayLinkToNextPage = PagedListDisplayMode.Always
})
</nav> *@