Files
StockMan/StockManMVC/Views/ItemFluxes/Index.cshtml
T
2016-09-22 12:05:32 +02:00

94 lines
2.3 KiB
Plaintext

@model IEnumerable<StockManMVC.Models.ItemFlux>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.dtMov)
</th>
<th>
@Html.DisplayNameFor(model => model.Qta)
</th>
<th>
@Html.DisplayNameFor(model => model.TotValue)
</th>
<th>
@Html.DisplayNameFor(model => model.UnitVal)
</th>
<th>
@Html.DisplayNameFor(model => model.Note)
</th>
<th>
@Html.DisplayNameFor(model => model.dtExport)
</th>
<th>
@Html.DisplayNameFor(model => model.Location.Descr)
</th>
<th>
@Html.DisplayNameFor(model => model.MovType.Descr)
</th>
<th>
@Html.DisplayNameFor(model => model.Item.Descr)
</th>
<th>
@Html.DisplayNameFor(model => model.Operator.CodExt)
</th>
<th>
@Html.DisplayNameFor(model => model.Location1.Descr)
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.dtMov)
</td>
<td>
@Html.DisplayFor(modelItem => item.Qta)
</td>
<td>
@Html.DisplayFor(modelItem => item.TotValue)
</td>
<td>
@Html.DisplayFor(modelItem => item.UnitVal)
</td>
<td>
@Html.DisplayFor(modelItem => item.Note)
</td>
<td>
@Html.DisplayFor(modelItem => item.dtExport)
</td>
<td>
@Html.DisplayFor(modelItem => item.Location.Descr)
</td>
<td>
@Html.DisplayFor(modelItem => item.MovType.Descr)
</td>
<td>
@Html.DisplayFor(modelItem => item.Item.Descr)
</td>
<td>
@Html.DisplayFor(modelItem => item.Operator.CodExt)
</td>
<td>
@Html.DisplayFor(modelItem => item.Location1.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>