@model MySaloonV2WebApplication.Inventario
ViewBag.Title = "Registrar Nuevo Inventario";
<h4><b>@ViewBag.Title</b></h4>
<div class="form-horizontal">
@Html.ValidationSummary(true, "", new { @class = "text-danger" })
<label class = "control-label col-md-2">Localidad</label>
@Html.DropDownList(ViewData["IdLocalidad"], null, htmlAttributes: new { @class = "form-control" })
@Html.LabelFor(model => model.DisponibleParaVenta, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.DisponibleParaVenta, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.DisponibleParaVenta, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Cantidad, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Cantidad, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Cantidad, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Reabastecer, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Reabastecer, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Reabastecer, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Tipo, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Tipo, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Tipo, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Marca, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Marca, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Marca, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Descripcion, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.Descripcion, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Descripcion, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PrecioCompra, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.PrecioCompra, new { htmlAttributes = new { @class = "form-control", @type = "Number" } })
@Html.ValidationMessageFor(model => model.PrecioCompra, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Porc_PorMayor, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-1 offset-1">
@Html.EditorFor(model => model.Porc_PorMayor, new { htmlAttributes = new { @class = "form-control", @type = "Number" } })
@Html.ValidationMessageFor(model => model.Porc_PorMayor, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PrecioPorMayor, htmlAttributes: new { @class = "control-label col-md-2 pull-left" })
@Html.EditorFor(model => model.PrecioPorMayor, new { htmlAttributes = new { @class = "form-control", @type = "Number" } })
@Html.ValidationMessageFor(model => model.PrecioPorMayor, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.Porc_AlDetalle, htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-1 offset-1">
@Html.EditorFor(model => model.Porc_AlDetalle, new { htmlAttributes = new { @class = "form-control", @type = "Number" } })
@Html.ValidationMessageFor(model => model.Porc_AlDetalle, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PrecioDetalle, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.PrecioDetalle, new { htmlAttributes = new { @class = "form-control", @type = "Number" } })
@Html.ValidationMessageFor(model => model.PrecioDetalle, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.FechaCaducidad, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.FechaCaducidad, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.FechaCaducidad, "", new { @class = "text-danger" })
<div class="col-md-offset-2 col-md-10" style="margin-top:10px">
@Html.ActionLink("Regresar al listado", "Index", null, htmlAttributes: new { @class = "text-black" })
|
<input type="submit" value="Crear" class="btn btn-info text-black" />