From c81cafa228427eead201177c7bd323f2fece6fe5 Mon Sep 17 00:00:00 2001 From: SamSys Date: Mon, 19 May 2025 01:23:42 +0330 Subject: [PATCH] New Permission WorkFlow Admin --- .../Pages/Accounts/Account/CreateRole.cshtml | 44 ++++++++++++++++--- .../Pages/Accounts/Account/EditRole.cshtml | 43 +++++++++++++++--- .../WorkFlow/EmployeesDocuments.cshtml | 6 +-- .../Pages/Company/WorkFlow/Index.cshtml | 10 ++--- 4 files changed, 81 insertions(+), 22 deletions(-) diff --git a/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml b/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml index 8d539c20..81ce6f55 100644 --- a/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml @@ -770,15 +770,45 @@ - @*
- - +
+ + -
*@ +
+ +
+
+ +
+
+ +
+ + +
+ + +
+ + -
+ + + +
+ + + + +
+ + @* بررسی مدارک پرسنل *@
- - @*
- - +
+ + -
*@ +
+ +
+
+ +
+
+ +
+ + +
+ + +
+ + + + +
+ +
+ + + + +
@* بررسی مدارک پرسنل *@ diff --git a/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml b/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml index 7f6f2df9..49501146 100644 --- a/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml +++ b/ServiceHost/Areas/AdminNew/Pages/Company/WorkFlow/EmployeesDocuments.cshtml @@ -81,7 +81,7 @@
-
  • +
  • @if (StaticWorkshopAccounts.EmployeeDocumentWorkFlowRoleIds.Any(x => x == AuthHelper.GetUserTypeWithId().roleId)) { -
  • +
  • -
  • +