Files
StockMan/StockManMVC/Views/Items/Index.cshtml
T
Samuele E. Locatelli b83dff00a1 inizio aggiunta vista stock detail
da collegare x navigazione...
2016-09-21 18:22:16 +02:00

76 lines
1.8 KiB
Plaintext

@model IEnumerable<StockManMVC.Models.Item>
@{
ViewBag.Title = "Anagrafica Articoli";
}
<h2>Anagrafica Articoli</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Descr)
</th>
<th>
@Html.DisplayNameFor(model => model.CodInt)
</th>
<th>
@Html.DisplayNameFor(model => model.Family)
</th>
<th>
@Html.DisplayNameFor(model => model.CodExt)
</th>
<th>
@Html.DisplayNameFor(model => model.DescrExt)
</th>
<th>
@Html.DisplayNameFor(model => model.QtaMin)
</th>
<th>
@Html.DisplayNameFor(model => model.QtaBatch)
</th>
<th>
@Html.DisplayNameFor(model => model.CurrValue)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.Descr)
</td>
<td>
@Html.DisplayFor(modelItem => item.CodInt)
</td>
<td>
@Html.DisplayFor(modelItem => item.Family)
</td>
<td>
@Html.DisplayFor(modelItem => item.CodExt)
</td>
<td>
@Html.DisplayFor(modelItem => item.DescrExt)
</td>
<td>
@Html.DisplayFor(modelItem => item.QtaMin)
</td>
<td>
@Html.DisplayFor(modelItem => item.QtaBatch)
</td>
<td>
@Html.DisplayFor(modelItem => item.CurrValue)
</td>
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
@Html.ActionLink("Details", "Details", new { id=item.ID }) |
@Html.ActionLink("Delete", "Delete", new { id=item.ID })
</td>
</tr>
}
</table>