Enter Employee Information
@using (Html.BeginForm("Create", "Employee", FormMethod.Post))
{
@Html.AntiForgeryToken()
}
Employee Number @Html.EditorFor(model => model.EmployeeNumber, new { htmlAttributes = new { @class = "form-control" } })
Full Name @Html.EditorFor(model => model.FullName, new { htmlAttributes = new { @class = "form-control" } })
Employeement Type
@Html.DropDownList("EmployeementTypeID", Model.EmployeeTypeListGroupDDL, new { @class = "form-control select", @required = "required", @onchange = "GetSupplier();" })
@Html.ValidationMessageFor(model => model.CategoryID, "", new { @class = "text-danger" })
Select Supplier Name
@Html.DropDownList("SupplierID", Model.SupplierListGroupDDL, new { @class = "form-control select", @required = "required" })
Select Agency Name
@Html.DropDownList("AgencyID", Model.AgencyListGroupDDL, new { @class = "form-control select", @required = "required" })
@Html.HiddenFor(m => m.AgencyID)
Category Name
@Html.DropDownList("CategoryID", Model.CategoryListGroupDDL, new { @class = "form-control select2", @required = "required" })
@Html.ValidationMessageFor(model => model.CategoryID, "", new { @class = "text-danger" })
Nationality
@Html.DropDownList("Nationality", Model.NationalityListGroupDDL, new { @class = "form-control", @required = "required" })
@Html.ValidationMessageFor(model => model.Nationality, "", new { @class = "text-danger" })
Date Of Birth @Html.EditorFor(model => model.DateofBirth, new { htmlAttributes = new { @class = "form-control" } })
Mobile Number @Html.EditorFor(model => model.MobileNo, new { htmlAttributes = new { @class = "form-control" } })
Email @Html.EditorFor(model => model.Email, new { htmlAttributes = new { @class = "form-control" } })