@model StockManMVC.Models.ItemFlux @{ ViewBag.Title = "Edit"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()
Modifica Movimento
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.ID) @*@Html.DropDownList("ItemID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" })*@ @*@Html.DropDownList("MovTypeID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" })*@ @*
@Html.LabelFor(model => model.ItemID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("ItemID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" }) @Html.ValidationMessageFor(model => model.ItemID, "", new { @class = "text-danger" })
*@
@Html.LabelFor(model => model.MovTypeID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("MovTypeID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" }) @Html.ValidationMessageFor(model => model.MovTypeID, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ExtLocationID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("ExtLocationID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" }) @Html.ValidationMessageFor(model => model.ExtLocationID, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CodDoc, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.CodDoc, new { htmlAttributes = new { @class = "form-control", disabled = "disabled", @readonly = "readonly" } }) @Html.ValidationMessageFor(model => model.CodDoc, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.dtMov, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.TextBoxFor(model => model.dtMov, new { @Value = Model.dtMov.ToString("yyyy-MM-dd"), @class = "form-control date-picker", type = "date", disabled = "disabled", @readonly = "readonly" }) @*@Html.EditorFor(model => model.dtMov, "DateTime", new { htmlAttributes = new { @class = "form-control date-picker", type="date" } })*@ @Html.ValidationMessageFor(model => model.dtMov, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Qta, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Qta, new { htmlAttributes = new { @class = "form-control", disabled = "disabled", @readonly = "readonly" } }) @Html.ValidationMessageFor(model => model.Qta, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TotValue, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.TotValue, new { htmlAttributes = new { @class = "form-control", disabled = "disabled", @readonly = "readonly" } }) @Html.ValidationMessageFor(model => model.TotValue, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.LocationID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("LocationID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" }) @Html.ValidationMessageFor(model => model.LocationID, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Note, htmlAttributes: new { @class = "control-label col-md-2" })
@*@Html.TextAreaFor(model => model.Note, 3, 50, new { htmlAttributes = new { @class = "form-control", @disabled = "disabled"} })*@ @Html.EditorFor(model => model.Note, new { htmlAttributes = new { @class = "form-control", disabled = "disabled", @readonly = "readonly" } }) @Html.ValidationMessageFor(model => model.Note, "", new { @class = "text-danger" })
@*
@Html.LabelFor(model => model.OperatorID, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("OperatorID", null, htmlAttributes: new { @class = "form-control", disabled = "disabled", @readonly = "readonly" }) @Html.ValidationMessageFor(model => model.OperatorID, "", new { @class = "text-danger" })
*@ @*
*@
} @section Scripts { @Scripts.Render("~/bundles/jqueryval") }