From 79cfad0c13487a8aaf1b2be66e34ada412d9f355 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Mon, 17 Mar 2025 18:46:43 +0330 Subject: [PATCH] add changes for create employee bugs --- .../Employees/CreateEmployeeModal.cshtml | 12 +- .../Company/Employees/EmployeeList.cshtml | 4 +- .../_Partials/CreateBankInfoModal.cshtml | 12 +- .../_Partials/CreateEmployeeForm.cshtml | 198 ++++++++++-------- .../_Partials/IdentityInformationForm.cshtml | 7 +- .../_Partials/ModalUploadDocument.cshtml | 10 +- .../ModalUploadImagePersonnel.cshtml | 2 +- ServiceHost/Areas/Client/Pages/Index.cshtml | 127 +++++------ .../Areas/Client/Pages/Index.cshtml.cs | 132 +++++++++++- .../pages/Employees/js/CreateBankInfoModal.js | 26 ++- .../pages/Employees/js/CreateEmployeeModal.js | 11 +- 11 files changed, 350 insertions(+), 191 deletions(-) diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/CreateEmployeeModal.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/CreateEmployeeModal.cshtml index ba2364f1..316a5378 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/CreateEmployeeModal.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/CreateEmployeeModal.cshtml @@ -216,7 +216,7 @@
- +
@@ -276,12 +276,14 @@ diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/EmployeeList.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/EmployeeList.cshtml index 412b0ed7..26a15cdf 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/EmployeeList.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/EmployeeList.cshtml @@ -202,7 +202,7 @@
@@ -247,7 +247,7 @@ - افزودن ترک کار + اعلام ترک کار
diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateBankInfoModal.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateBankInfoModal.cshtml index 3440c513..36ad9ecb 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateBankInfoModal.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateBankInfoModal.cshtml @@ -27,17 +27,17 @@
شماره کارت - +
شماره شبا - +
شماره حساب - +
@@ -84,7 +84,9 @@
diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateEmployeeForm.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateEmployeeForm.cshtml index 98b2e5db..035e1372 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateEmployeeForm.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/CreateEmployeeForm.cshtml @@ -13,6 +13,16 @@ #select2-sematSelect-results { height: 130px; } + + @@media (min-width: 768px) { + .custom-ps-md-3 { + padding-right: 0.80rem !important; + } + + .custom-pe-md-3 { + padding-left: 0.80rem !important; + } + }
@@ -22,22 +32,22 @@
@Model.PersonnelCode
- -
+ +
- +
کد ملی را وارد کنید
- - -
+ + +
- +
تاریخ تولد را وارد کنید @@ -46,95 +56,97 @@
-
-
-
-
- ملیت -
- -
-
+
+
+
+
+
+ ملیت +
+ +
+
-
-
- -
- - - - -
- وضیعت جنسیت را مشخص کنید -
-
-
-
+
+
+ +
+ + + + +
+ وضیعت جنسیت را مشخص کنید +
+
+
+
-
-
- -
- - - - -
- وضیعت تاهل را مشخص کنید -
-
-
-
-
-
-
- -
-
- نام پرسنل - -
-
- -
-
- نام خانوادگی پرسنل - -
-
- -
-
- تاریخ شروع بکار - -
-
+
+
+ +
+ + + + +
+ وضیعت تاهل را مشخص کنید +
+
+
+
+
+
+
-
-
- انتخاب سمت -
- -
-
-
- - -
diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/IdentityInformationForm.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/IdentityInformationForm.cshtml index 9f4c4617..eb419e5d 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/IdentityInformationForm.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/IdentityInformationForm.cshtml @@ -30,18 +30,17 @@
- +
کد ملی را وارد کنید
- - +
- +
تاریخ تولد را وارد کنید diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadDocument.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadDocument.cshtml index 1e9ef5de..3412d369 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadDocument.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadDocument.cshtml @@ -17,7 +17,7 @@
-
عکس پرسنل *
+
عکس پرسنل @* * *@
@@ -48,7 +48,7 @@
-
کارت ملی رو *
+
کارت ملی رو @* * *@
@@ -80,7 +80,7 @@
-
کارت ملی پشت *
+
کارت ملی پشت @* * *@
@@ -108,7 +108,7 @@
-
کارت پایان خدمت *
+
کارت پایان خدمت @* * *@
@@ -137,7 +137,7 @@
-
شناسنامه صفحه اول *
+
شناسنامه صفحه اول@* * *@
diff --git a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadImagePersonnel.cshtml b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadImagePersonnel.cshtml index b3607f44..fe2fbf09 100644 --- a/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadImagePersonnel.cshtml +++ b/ServiceHost/Areas/Client/Pages/Company/Employees/_Partials/ModalUploadImagePersonnel.cshtml @@ -116,4 +116,4 @@ var hasErrorPic1 = false; var hasErrorPic2 = false; - \ No newline at end of file + \ No newline at end of file diff --git a/ServiceHost/Areas/Client/Pages/Index.cshtml b/ServiceHost/Areas/Client/Pages/Index.cshtml index dae56b38..5ecb9f72 100644 --- a/ServiceHost/Areas/Client/Pages/Index.cshtml +++ b/ServiceHost/Areas/Client/Pages/Index.cshtml @@ -2,11 +2,11 @@ @using _0_Framework.Application @model ServiceHost.Areas.Client.Pages.IndexModel @{ - string clientVersion = _0_Framework.Application.Version.StyleVersion; - - + string clientVersion = _0_Framework.Application.Version.StyleVersion; + + -