@model GASArabianERP.Models.WarringLetterVM @{ ViewBag.Title = "Create"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Create New Warring

@using (Html.BeginForm("Create", "WarringLetter", FormMethod.Post, new { })) { @Html.AntiForgeryToken()
@Html.DropDownList("WarringCode", null, htmlAttributes: new { @class = "form-control select2" })
@Html.DropDownList("EmployeeID", null, htmlAttributes: new { @class = "form-control select2" })
@Html.EditorFor(model => model.WarringDate, new { htmlAttributes = new { @class = "form-control", @required = "required" } }) @Html.ValidationMessageFor(m => m.WarringDate, "", new { @class = "text-danger" })
@Html.TextAreaFor(model => model.Reason, new { @class = "form-control", rows = "8" })
Cancel
}
@section Scripts { }