fix button x nuovi flussi mov
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
@{
|
||||
ViewBag.Title = "Create";
|
||||
var itemID = Request.Params["ItemID"];
|
||||
}
|
||||
|
||||
<h2>Create</h2>
|
||||
@@ -15,13 +16,6 @@
|
||||
<h4>ItemFlux</h4>
|
||||
<hr />
|
||||
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
|
||||
@*<div class="form-group">
|
||||
@Html.LabelFor(model => model.ItemID, "ItemID", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.DropDownList("ItemID", null, htmlAttributes: new { @class = "form-control" })
|
||||
@Html.ValidationMessageFor(model => model.ItemID, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.LocationID, "Posizione", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
@@ -31,14 +25,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*<div class="form-group">
|
||||
@Html.LabelFor(model => model.MovTypeID, "MovTypeID", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.DropDownList("MovTypeID", null, htmlAttributes: new { @class = "form-control" })
|
||||
@Html.ValidationMessageFor(model => model.MovTypeID, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.ExtLocationID, "Riferimento", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@@ -47,14 +33,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*<div class="form-group">
|
||||
@Html.LabelFor(model => model.dtMov, htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.EditorFor(model => model.dtMov, new { htmlAttributes = new { @class = "form-control" } })
|
||||
@Html.ValidationMessageFor(model => model.dtMov, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.Qta, "Quantità", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@@ -79,22 +57,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@*<div class="form-group">
|
||||
@Html.LabelFor(model => model.dtExport, htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.EditorFor(model => model.dtExport, new { htmlAttributes = new { @class = "form-control" } })
|
||||
@Html.ValidationMessageFor(model => model.dtExport, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@Html.LabelFor(model => model.OperatorID, "OperatorID", htmlAttributes: new { @class = "control-label col-md-2" })
|
||||
<div class="col-md-10">
|
||||
@Html.DropDownList("OperatorID", null, htmlAttributes: new { @class = "form-control" })
|
||||
@Html.ValidationMessageFor(model => model.OperatorID, "", new { @class = "text-danger" })
|
||||
</div>
|
||||
</div>*@
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Create" class="btn btn-default" />
|
||||
@@ -104,7 +66,8 @@
|
||||
}
|
||||
|
||||
<div>
|
||||
@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)
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
|
||||
@@ -94,39 +94,38 @@
|
||||
<strong>Stock Giacenze</strong>
|
||||
</div>
|
||||
<div class="panel-body small">
|
||||
|
||||
@Html.MVCGrid("StockItemsGrid")
|
||||
<a href="@Url.Action("Consolidate", "Items", new { id = Model.ID })" class="btn btn-success">
|
||||
<i class="glyphicon glyphicon-save" aria-hidden="true"></i>
|
||||
Registra movimenti
|
||||
</a>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-xs-3">
|
||||
<a href="?action=CAR" class="btn btn-success">
|
||||
<div class="col-xs-6">
|
||||
<a href="@Url.Action("CreatePrecompiled", "ItemFluxes", new { ItemID = Model.ID, MovTypeID = "CAR" })" class="btn btn-success form-control">
|
||||
<i class="glyphicon glyphicon-plus" aria-hidden="true"></i>
|
||||
Carico
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<a href="?action=SCA" class="btn btn-danger">
|
||||
<div class="col-xs-6">
|
||||
<a href="@Url.Action("CreatePrecompiled", "ItemFluxes", new { ItemID = Model.ID, MovTypeID = "SCAR" })" class="btn btn-danger form-control">
|
||||
<i class="glyphicon glyphicon-minus" aria-hidden="true"></i>
|
||||
Scarico
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<a href="?action=RET" class="btn btn-info">
|
||||
<i class="glyphicon glyphicon-edit" aria-hidden="true"></i>
|
||||
Rettifica
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<a href="?action=MOV" class="btn btn-warning">
|
||||
<div class="col-xs-6">
|
||||
<a href="@Url.Action("CreatePrecompiled", "ItemFluxes", new { ItemID = Model.ID, MovTypeID = "MOV" })" class="btn btn-warning form-control">
|
||||
<i class="glyphicon glyphicon-equalizer" aria-hidden="true"></i>
|
||||
Movimento
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<a href="@Url.Action("CreatePrecompiled", "ItemFluxes", new { ItemID = Model.ID, MovTypeID = "RETT" })" class="btn btn-info form-control">
|
||||
<i class="glyphicon glyphicon-edit" aria-hidden="true"></i>
|
||||
Rettifica
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@*@Html.ActionLink("Acquisisci movimenti", "Consolidate", new { id = Model.ID })*@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user