@model IEnumerable @{ ViewBag.Title = "Valorizzazione Stock Giacenze"; decimal grandTotal = 0; }
@foreach (var item in Model) { grandTotal += (decimal)item.TotVal; }
@Html.DisplayNameFor(model => model.Location.Descr) @Html.DisplayNameFor(model => model.NumArt) @Html.DisplayNameFor(model => model.TotCurr) @Html.DisplayNameFor(model => model.TotPend) @Html.DisplayNameFor(model => model.TotVal)
@Html.DisplayFor(modelItem => item.Location.Descr) @Html.DisplayFor(modelItem => item.NumArt) @Html.DisplayFor(modelItem => item.TotCurr) @Html.DisplayFor(modelItem => item.TotPend) @Html.DisplayFor(modelItem => item.TotVal)
tot: @grandTotal.ToString("C2")
Locazione
@Html.DropDownList("LocationID_SX", null, "-- Selezionare --", htmlAttributes: new { @class = "form-control" })
@Html.Action("StockByLocation", new { LocationID = @ViewBag.SelSX, LocationIDTo = @ViewBag.SelDX, ShowMove = true })
Locazione
@Html.DropDownList("LocationID_DX", null, "-- Selezionare --", htmlAttributes: new { @class = "form-control" })
@Html.Action("StockByLocation", new { LocationID = @ViewBag.SelDX, LocationIDTo = @ViewBag.SelSX })