b83dff00a1
da collegare x navigazione...
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
@model IEnumerable<StockManMVC.Models.ItemStock>
|
|
|
|
@{
|
|
ViewBag.Title = "Index";
|
|
}
|
|
|
|
<h2>Index</h2>
|
|
|
|
<p>
|
|
@Html.ActionLink("Create New", "Create")
|
|
</p>
|
|
<table class="table">
|
|
<tr>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.QtyConf)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Note)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.dtLastUpd)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Item.Descr)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Location.Descr)
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
|
|
@foreach (var item in Model) {
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.QtyConf)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Note)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.dtLastUpd)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Item.Descr)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Location.Descr)
|
|
</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>
|