487 lines
16 KiB
Plaintext
487 lines
16 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"] = "Index";
|
|
}
|
|
|
|
<h1>Index</h1>
|
|
|
|
<p>
|
|
<a asp-action="Create">Create New</a>
|
|
</p>
|
|
@using (Html.BeginForm())
|
|
{
|
|
<p>
|
|
Find by name: @Html.TextBox("SearchString")
|
|
<input type="submit" value="Search" />
|
|
</p>
|
|
}
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@* @Html.DisplayNameFor(model => model.seriale_rapportino) *@
|
|
SERIALE RAPPORTINO
|
|
</th>
|
|
<th>
|
|
@* @Html.DisplayNameFor(model => model.tipo_rapportino) *@
|
|
TIPO RAPPORTINI
|
|
</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 INIZIO
|
|
</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>
|
|
@* @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 VALIDITA'
|
|
</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("Edit", "Edit", new { id=item.seriale_rapportino }) |
|
|
@Html.ActionLink("Details", "Details", new { id=item.seriale_rapportino }) |
|
|
@Html.ActionLink("Delete", "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 = "Next",
|
|
LinkToPreviousPageFormat = "Previous",
|
|
MaximumPageNumbersToDisplay = 5,
|
|
DisplayLinkToPreviousPage = PagedListDisplayMode.Always,
|
|
DisplayLinkToNextPage = PagedListDisplayMode.Always
|
|
})
|
|
</nav>
|