SoftwayWeb/Views/Destinazioni/Index.cshtml

149 lines
4.5 KiB
Plaintext

@model IEnumerable<SoftwayWeb.Models.Destinazioni_Out>
@* @model SoftwayWeb.Models.Destinazioni_Out *@
@using X.PagedList;
@using X.PagedList.Mvc.Core;
@using X.PagedList;
@{
ViewData["Title"] = "Index";
}
<h1>Lista destinazioni</h1>
@* <p>
<a asp-action="Create">Create New</a>
</p>
*@
<table class="table">
<thead>
<tr>
<th>Automezzo</th>
<th>Seriale</th>
<th>Data carico</th>
<th>Committente</th>
<th>Autista</th>
<th>Sede</th>
<th>Indirizzo sede</th>
@* <th>Num Riga</th>
<th>Ord riga</th> *@
<th>Merce</th>
<th>Note</th>
<th>Importo da ritirare</th>
@* <th>Consegna fatta</th> *@
<th>Seriale giro</th>
@* <th>
@Html.DisplayNameFor(model => model.CodAutomezzo)
</th>
<th>
@Html.DisplayNameFor(model => model.DescAutomezzo)
</th>
<th>
@Html.DisplayNameFor(model => model.Brserial)
</th>
<th>
@Html.DisplayNameFor(model => model.DataCarico)
</th>
<th>
@Html.DisplayNameFor(model => model.CodCommittente)
</th>
<th>
@Html.DisplayNameFor(model => model.Committente)
</th>
<th>
@Html.DisplayNameFor(model => model.CodAutista)
</th>
<th>
@Html.DisplayNameFor(model => model.Autista)
</th>
<th>
@Html.DisplayNameFor(model => model.CodSede)
</th>
<th>
@Html.DisplayNameFor(model => model.Sede)
</th>
<th>
@Html.DisplayNameFor(model => model.IndirizzoSede)
</th>
<th>
@Html.DisplayNameFor(model => model.Cproword)
</th>
<th>
@Html.DisplayNameFor(model => model.Cprownum)
</th>
<th>
@Html.DisplayNameFor(model => model.Brmerce)
</th>
<th>
@Html.DisplayNameFor(model => model.Brnote)
</th>
<th>
@Html.DisplayNameFor(model => model.ImportoDaRitirare)
</th>
<th>
@Html.DisplayNameFor(model => model.ItemList)
</th>
<th>
@Html.DisplayNameFor(model => model.serialeGiro)
</th>
<th></th> *@
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.CodAutomezzo) - @Html.DisplayFor(modelItem => item.DescAutomezzo)
</td>
<td>
@Html.DisplayFor(modelItem => item.Brserial)
</td>
<td>
@Html.DisplayFor(modelItem => item.DataCarico)
</td>
<td>
@Html.DisplayFor(modelItem => item.CodCommittente) - @Html.DisplayFor(modelItem => item.Committente)
</td>
<td>
@Html.DisplayFor(modelItem => item.CodAutista) - @Html.DisplayFor(modelItem => item.Autista)
</td>
<td>
@Html.DisplayFor(modelItem => item.CodSede) - @Html.DisplayFor(modelItem => item.Sede)
</td>
<td>
@Html.DisplayFor(modelItem => item.IndirizzoSede)
</td>
<td>
@Html.DisplayFor(modelItem => item.Brmerce)
</td>
<td>
@Html.DisplayFor(modelItem => item.Brnote)
</td>
<td>
@Html.DisplayFor(modelItem => item.ImportoDaRitirare)
</td>
<td>
@Html.DisplayFor(modelItem => item.serialeGiro)
</td>
<td>
@Html.HiddenFor(modelItem => item.Cproword)
</td>
<td>
@Html.HiddenFor(modelItem => item.Cprownum)
</td>
<td>
@Html.HiddenFor(modelItem => item.ItemList)
</td>
@* <td>
@Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
@Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
</td> *@
</tr>
}
</tbody>
</table>