diff --git a/ServiceHost/Areas/Admin/Pages/Company/Employees/Create.cshtml b/ServiceHost/Areas/Admin/Pages/Company/Employees/Create.cshtml index 534107f7..be5f8e23 100644 --- a/ServiceHost/Areas/Admin/Pages/Company/Employees/Create.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Company/Employees/Create.cshtml @@ -567,8 +567,10 @@ $('#IdNumberSeri').val(response.data.idNumberSeri); if (response.data.gender === 0) { $('#GenderMale').prop('checked', true); + $('#soldier').prop('disabled', false); } else if (response.data.gender === 1) { $('#GenderFemale').prop('checked', true); + $('#soldier').prop('disabled', true); } } else { $.Notification.autoHideNotify('error', 'top right', 'خطا', response.message); diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCameraAccountChangePassword.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCameraAccountChangePassword.cshtml index fa15151f..16e300e3 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCameraAccountChangePassword.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCameraAccountChangePassword.cshtml @@ -181,4 +181,4 @@ var checkCodeAjax = `@Url.Page("./CameraAccounts", "CheckCode")`; var ajaxCameraValidation = `@Url.Page("./CameraAccounts", "CameraValidation")`; - \ No newline at end of file + \ No newline at end of file diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCreateAccountSetting.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCreateAccountSetting.cshtml index 0e20fedc..932260b9 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCreateAccountSetting.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalCreateAccountSetting.cshtml @@ -307,4 +307,4 @@ var hasGroupWorkshop = @(Model.HasGroupWorkshop ? "true" : "false"); var saveCameraAccountAndWorkshopSettingAjax = `@Url.Page("./Index", "SaveCameraAccountAndWorkshopSetting")`; - \ No newline at end of file + \ No newline at end of file diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalSettingWorkTime.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalSettingWorkTime.cshtml index 8273edc4..4dc94467 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalSettingWorkTime.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalSettingWorkTime.cshtml @@ -186,4 +186,4 @@ var IsRegularWorkshop = @(Model.WorkshopShiftStatus == WorkshopShiftStatus.Regular ? "true" : "false"); - \ No newline at end of file + \ No newline at end of file diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalTakeImages.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalTakeImages.cshtml index 23f318f2..d2237a26 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalTakeImages.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/RollCall/ModalTakeImages.cshtml @@ -231,4 +231,4 @@ var hasErrorPic2 = false; - \ No newline at end of file + \ No newline at end of file diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml index 5051065d..7f6f2df9 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml @@ -1,4 +1,6 @@ @page +@using _0_Framework.Application +@using Microsoft.AspNetCore.Mvc.TagHelpers @model ServiceHost.Areas.AdminNew.Pages.Company.WorkFlow.EmployeesDocumentsModel @inject _0_Framework.Application.IAuthHelper AuthHelper; @@ -92,33 +94,35 @@ - -