@model StockManMVC.Models.ItemFlux @{ ViewBag.Title = "Create"; }

Create

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

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, "LocationID", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("LocationID", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.LocationID, "", new { @class = "text-danger" })
@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, "ExtLocationID", htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("ExtLocationID", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.ExtLocationID, "", new { @class = "text-danger" })
@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, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Qta, new { htmlAttributes = new { @class = "form-control" } }) @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" } }) @Html.ValidationMessageFor(model => model.TotValue, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Note, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Note, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Note, "", new { @class = "text-danger" })
@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" })
}
@Html.ActionLink("Back to List", "Index")
@section Scripts { @Scripts.Render("~/bundles/jqueryval") }