diff --git a/StockManMVC/Views/ItemFluxes/CreatePrecompiled.cshtml b/StockManMVC/Views/ItemFluxes/CreatePrecompiled.cshtml index 2e7a840..db69430 100644 --- a/StockManMVC/Views/ItemFluxes/CreatePrecompiled.cshtml +++ b/StockManMVC/Views/ItemFluxes/CreatePrecompiled.cshtml @@ -2,6 +2,7 @@ @{ ViewBag.Title = "Create"; + var itemID = Request.Params["ItemID"]; }

Create

@@ -15,13 +16,6 @@

ItemFlux


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) - @*
- @Html.LabelFor(model => model.ItemID, "ItemID", htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.DropDownList("ItemID", null, htmlAttributes: new { @class = "form-control" }) - @Html.ValidationMessageFor(model => model.ItemID, "", new { @class = "text-danger" }) -
-
*@
@Html.LabelFor(model => model.LocationID, "Posizione", htmlAttributes: new { @class = "control-label col-md-2" }) @@ -31,14 +25,6 @@
- @*
- @Html.LabelFor(model => model.MovTypeID, "MovTypeID", htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.DropDownList("MovTypeID", null, htmlAttributes: new { @class = "form-control" }) - @Html.ValidationMessageFor(model => model.MovTypeID, "", new { @class = "text-danger" }) -
-
*@ -
@Html.LabelFor(model => model.ExtLocationID, "Riferimento", htmlAttributes: new { @class = "control-label col-md-2" })
@@ -47,14 +33,6 @@
- @*
- @Html.LabelFor(model => model.dtMov, htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.EditorFor(model => model.dtMov, new { htmlAttributes = new { @class = "form-control" } }) - @Html.ValidationMessageFor(model => model.dtMov, "", new { @class = "text-danger" }) -
-
*@ -
@Html.LabelFor(model => model.Qta, "Quantità", htmlAttributes: new { @class = "control-label col-md-2" })
@@ -79,22 +57,6 @@
- @*
- @Html.LabelFor(model => model.dtExport, htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.EditorFor(model => model.dtExport, new { htmlAttributes = new { @class = "form-control" } }) - @Html.ValidationMessageFor(model => model.dtExport, "", new { @class = "text-danger" }) -
-
- -
- @Html.LabelFor(model => model.OperatorID, "OperatorID", htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.DropDownList("OperatorID", null, htmlAttributes: new { @class = "form-control" }) - @Html.ValidationMessageFor(model => model.OperatorID, "", new { @class = "text-danger" }) -
-
*@ -
@@ -104,7 +66,8 @@ }
- @Html.ActionLink("Back to List", "Index") + @*@Html.ActionLink("Torna ad elenco", "Details", "Items")*@ + @Html.ActionLink("Torna ad elenco", "Details", "Items", new { id = itemID, StockItemID = itemID, FluxItemID = itemID }, null)
@section Scripts { diff --git a/StockManMVC/Views/Items/Details.cshtml b/StockManMVC/Views/Items/Details.cshtml index 0e5f87a..5b622c9 100644 --- a/StockManMVC/Views/Items/Details.cshtml +++ b/StockManMVC/Views/Items/Details.cshtml @@ -94,39 +94,38 @@ Stock Giacenze
- @Html.MVCGrid("StockItemsGrid") Registra movimenti +
-
- + -
- + - - - @*@Html.ActionLink("Acquisisci movimenti", "Consolidate", new { id = Model.ID })*@