110 lines
5.0 KiB
Plaintext
110 lines
5.0 KiB
Plaintext
@model IEnumerable<StockManMVC.Models.vLocationVal>
|
|
|
|
@{
|
|
ViewBag.Title = "Valorizzazione Stock Giacenze";
|
|
}
|
|
|
|
<div class="row" style="margin-top: 0.5em;">
|
|
<div class="col-sm-10 col-sm-offset-1">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<strong>Valorizzazione Stock Giacenze</strong>
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-condensed table-responsive table-striped">
|
|
<tr>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.Location.Descr)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.TotCurr)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.TotPend)
|
|
</th>
|
|
<th>
|
|
@Html.DisplayNameFor(model => model.TotVal)
|
|
</th>
|
|
</tr>
|
|
|
|
@foreach (var item in Model)
|
|
{
|
|
<tr>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.Location.Descr)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.TotCurr)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.TotPend)
|
|
</td>
|
|
<td>
|
|
@Html.DisplayFor(modelItem => item.TotVal)
|
|
</td>
|
|
</tr>
|
|
}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 0.5em;">
|
|
@using (Html.BeginForm("Index", "MagStatus", FormMethod.Get))
|
|
{
|
|
<div class="col-sm-5 col-sm-offset-1 small">
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">
|
|
<div class="row">
|
|
<div class="col-xs-4">
|
|
<strong>Locazione</strong>
|
|
</div>
|
|
<div class="col-xs-4">
|
|
<div class="form-inline">
|
|
<div class="form-group">
|
|
@*@Html.LabelFor(model => model.ExtLocationID, "Riferimento", htmlAttributes: new { @class = "control-label col-md-2" })*@
|
|
<div class="col-md-10">
|
|
@Html.DropDownList("LocationID_SX", null, "-- Selezionare --", htmlAttributes: new { @class = "form-control", @onchange = "this.form.submit();" })
|
|
@*@Html.ValidationMessageFor(model => model.ExtLocationID, "", new { @class = "text-danger" })*@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-4">
|
|
<a href="@Url.Action("Index", "MagStatus", new { LocationID_SX = ViewBag.SelDX, LocationID_DX = ViewBag.SelSX })" class="btn btn-warning form-control">Scambia <i class="glyphicon glyphicon-retweet"></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
@Html.Action("StockByLocation", new { LocationID = @ViewBag.SelSX, LocationIDTo = @ViewBag.SelDX, ShowMove = true })
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-5 small">
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<div class="row">
|
|
<div class="col-xs-4">
|
|
<strong>Locazione</strong>
|
|
</div>
|
|
<div class="col-xs-4">
|
|
<div class="form-inline">
|
|
<div class="form-group">
|
|
@*@Html.LabelFor(model => model.ExtLocationID, "Riferimento", htmlAttributes: new { @class = "control-label col-md-2" })*@
|
|
<div class="col-md-10">
|
|
@Html.DropDownList("LocationID_DX", null, "-- Selezionare --", htmlAttributes: new { @class = "form-control", @onchange = "this.form.submit();" })
|
|
@*@Html.ValidationMessageFor(model => model.ExtLocationID, "", new { @class = "text-danger" })*@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
@Html.Action("StockByLocation", new { LocationID = @ViewBag.SelDX, LocationIDTo = @ViewBag.SelSX })
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|