From fa5e079db5867f0e8e575a393a941954c1699710 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Mon, 25 Aug 2025 14:31:24 +0330 Subject: [PATCH 1/3] fix: update image references for contract and insurance sections --- ServiceHost/Pages/services/employee.cshtml | 16 +- ServiceHost/Pages/services/rollcall.cshtml | 14 +- ServiceHost/Pages/services/workshop.cshtml | 4 +- .../AssetsMain/images/camera-account.svg | 81 ++++++ .../wwwroot/AssetsMain/images/contract.svg | 181 ++++++++++++ .../wwwroot/AssetsMain/images/contracts.svg | 182 ++++++++++++ .../AssetsMain/images/current-rollcall.svg | 129 +++++++++ .../images/employee-bank-account.svg | 169 +++++++++++ .../AssetsMain/images/employee-document.svg | 270 ++++++++++++++++++ .../AssetsMain/images/employee-list.svg | 137 +++++++++ .../wwwroot/AssetsMain/images/fine.svg | 160 +++++++++++ .../AssetsMain/images/insurance-list.svg | 166 +++++++++++ .../wwwroot/AssetsMain/images/leave-list.svg | 177 ++++++++++++ .../wwwroot/AssetsMain/images/loan.svg | 164 +++++++++++ .../wwwroot/AssetsMain/images/reward.svg | 158 ++++++++++ .../images/roll-call-case-history.svg | 114 ++++++++ .../images/roll-call-upload-picture.svg | 141 +++++++++ .../wwwroot/AssetsMain/images/salary-aid.svg | 162 +++++++++++ .../images/workshop-time-setting.svg | 84 ++++++ 19 files changed, 2492 insertions(+), 17 deletions(-) create mode 100644 ServiceHost/wwwroot/AssetsMain/images/camera-account.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/contract.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/contracts.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/current-rollcall.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/employee-bank-account.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/employee-document.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/employee-list.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/fine.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/insurance-list.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/leave-list.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/loan.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/reward.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/roll-call-case-history.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/roll-call-upload-picture.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/salary-aid.svg create mode 100644 ServiceHost/wwwroot/AssetsMain/images/workshop-time-setting.svg diff --git a/ServiceHost/Pages/services/employee.cshtml b/ServiceHost/Pages/services/employee.cshtml index 802c84a1..6fea2e58 100644 --- a/ServiceHost/Pages/services/employee.cshtml +++ b/ServiceHost/Pages/services/employee.cshtml @@ -119,13 +119,13 @@ در این قسمت می‌توانید فهرست کاملی از تمامی کارکنان مجموعه را به‌صورت جدولی مشاهده کنید. این جدول شامل اطلاعات پایه هر فرد مانند نام، کد پرسنلی، کد ملی، سمت شغلی، نوع قرارداد، وضعیت فعال یا غیرفعال بودن و ... می‌باشد. همچنین قابلیت جستجو، فیلتر و مرتب‌سازی نیز برای تسریع در دسترسی فراهم شده است.

- +
- +

لیست کل مرخصی

@@ -143,13 +143,13 @@ در این قسمت، اطلاعات مربوط به حساب بانکی هر کارمند ذخیره می‌شود. اطلاعاتی مانند شماره حساب، شماره شبا، نام بانک، نوع حساب و وضعیت فعال بودن آن. این اطلاعات نقش کلیدی در تهیه فایل‌های پرداخت حقوق و هماهنگی با سیستم بانکی دارند.

- +
- +

مدارک پرسنل

@@ -167,13 +167,13 @@ در این بخش، اطلاعات مربوط به وام‌هایی که به پرسنل اعطا شده مدیریت می‌شود. شامل مبلغ وام، تعداد اقساط، مبلغ هر قسط، تاریخ شروع و پایان پرداخت و وضعیت پرداخت‌ها. همچنین گزارش اقساط معوق یا تسویه‌شده نیز قابل مشاهده است.

- +
- +

پاداش

@@ -191,13 +191,13 @@ در صورتی که کارمندی درخواست مساعده داشته باشد، اطلاعات مربوط به درخواست، مبلغ تأیید شده، تاریخ پرداخت و نحوه بازپرداخت در این بخش ثبت می‌شود. این بخش به شفاف‌سازی ارتباط مالی بین سازمان و کارمند کمک می‌کند.

- +
- +

جرایم

diff --git a/ServiceHost/Pages/services/rollcall.cshtml b/ServiceHost/Pages/services/rollcall.cshtml index 8c2a9662..d1b52812 100644 --- a/ServiceHost/Pages/services/rollcall.cshtml +++ b/ServiceHost/Pages/services/rollcall.cshtml @@ -115,13 +115,13 @@ برای سیستم حضور و غیاب با تشخیص چهره، داشتن تصویر پرسنل الزامی است. این بخش تضمین می‌کند که هر تصویر به صورت استاندارد، واضح و مرتبط با هر کارمند ثبت شود.

- +
- +

حضور و غیاب جاری

@@ -172,7 +172,7 @@ برای محاسبه حقوق، پاداش یا جریمه، این اطلاعات ضروری است. همچنین در صورت اعتراض کارمند، سوابق قابل بررسی و اثبات هستند.

- +
@@ -226,13 +226,13 @@ برای بررسی تأخیر، اضافه‌کاری و محاسبه ساعات کاری، مرجع اصلی همین تنظیمات هستند.

- +
- +

تنظیمات حساب کاربری دوربین

@@ -267,13 +267,13 @@ در صورتی که کارمندی درخواست مساعده داشته باشد، اطلاعات مربوط به درخواست، مبلغ تأیید شده، تاریخ پرداخت و نحوه بازپرداخت در این بخش ثبت می‌شود. این بخش به شفاف‌سازی ارتباط مالی بین سازمان و کارمند کمک می‌کند.

- +
- +

جرایم

diff --git a/ServiceHost/Pages/services/workshop.cshtml b/ServiceHost/Pages/services/workshop.cshtml index 7b85b74e..2f7ba4ac 100644 --- a/ServiceHost/Pages/services/workshop.cshtml +++ b/ServiceHost/Pages/services/workshop.cshtml @@ -89,7 +89,7 @@ این قابلیت به شما امکان می‌دهد که سوابق قراردادی افراد را در طول زمان ردیابی کرده و از تطابق آن با قوانین کار اطمینان حاصل کنید.

- +
@@ -116,7 +116,7 @@ در این بخش، اطلاعات مربوط به وضعیت بیمه تأمین اجتماعی هر کارمند ثبت می‌شود. مدیران می‌توانند بررسی کنند که چه کسانی بیمه شده‌اند، چه حق بیمه‌ای پرداخت شده، و وضعیت ارسال لیست بیمه در هر ماه چگونه است. همچنین این بخش امکان تهیه گزارش برای ارسال به سازمان تأمین اجتماعی را نیز فراهم می‌کند.

- + diff --git a/ServiceHost/wwwroot/AssetsMain/images/camera-account.svg b/ServiceHost/wwwroot/AssetsMain/images/camera-account.svg new file mode 100644 index 00000000..7c09f4cf --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/camera-account.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/contract.svg b/ServiceHost/wwwroot/AssetsMain/images/contract.svg new file mode 100644 index 00000000..d63b27d7 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/contract.svg @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/contracts.svg b/ServiceHost/wwwroot/AssetsMain/images/contracts.svg new file mode 100644 index 00000000..c55fa566 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/contracts.svg @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/current-rollcall.svg b/ServiceHost/wwwroot/AssetsMain/images/current-rollcall.svg new file mode 100644 index 00000000..fc743329 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/current-rollcall.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/employee-bank-account.svg b/ServiceHost/wwwroot/AssetsMain/images/employee-bank-account.svg new file mode 100644 index 00000000..44318f67 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/employee-bank-account.svg @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/employee-document.svg b/ServiceHost/wwwroot/AssetsMain/images/employee-document.svg new file mode 100644 index 00000000..81f34c5b --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/employee-document.svg @@ -0,0 +1,270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/employee-list.svg b/ServiceHost/wwwroot/AssetsMain/images/employee-list.svg new file mode 100644 index 00000000..26884737 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/employee-list.svg @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/fine.svg b/ServiceHost/wwwroot/AssetsMain/images/fine.svg new file mode 100644 index 00000000..7563bd01 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/fine.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/insurance-list.svg b/ServiceHost/wwwroot/AssetsMain/images/insurance-list.svg new file mode 100644 index 00000000..865608e0 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/insurance-list.svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/leave-list.svg b/ServiceHost/wwwroot/AssetsMain/images/leave-list.svg new file mode 100644 index 00000000..84f6bd96 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/leave-list.svg @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/loan.svg b/ServiceHost/wwwroot/AssetsMain/images/loan.svg new file mode 100644 index 00000000..50b45373 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/loan.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/reward.svg b/ServiceHost/wwwroot/AssetsMain/images/reward.svg new file mode 100644 index 00000000..7053a959 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/reward.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/roll-call-case-history.svg b/ServiceHost/wwwroot/AssetsMain/images/roll-call-case-history.svg new file mode 100644 index 00000000..363661b3 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/roll-call-case-history.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/roll-call-upload-picture.svg b/ServiceHost/wwwroot/AssetsMain/images/roll-call-upload-picture.svg new file mode 100644 index 00000000..9b290259 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/roll-call-upload-picture.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/salary-aid.svg b/ServiceHost/wwwroot/AssetsMain/images/salary-aid.svg new file mode 100644 index 00000000..6985d5c8 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/salary-aid.svg @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ServiceHost/wwwroot/AssetsMain/images/workshop-time-setting.svg b/ServiceHost/wwwroot/AssetsMain/images/workshop-time-setting.svg new file mode 100644 index 00000000..05a9c432 --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/workshop-time-setting.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a7b7bfc745c730ea704265cb5b062b7bf2eb98db Mon Sep 17 00:00:00 2001 From: MahanCh Date: Mon, 25 Aug 2025 15:03:39 +0330 Subject: [PATCH 2/3] feat: add grouping SVG and update image reference in rollcall --- ServiceHost/Pages/services/rollcall.cshtml | 2 +- .../wwwroot/AssetsMain/images/grouping.svg | 170 ++++++++++++++++++ 2 files changed, 171 insertions(+), 1 deletion(-) create mode 100644 ServiceHost/wwwroot/AssetsMain/images/grouping.svg diff --git a/ServiceHost/Pages/services/rollcall.cshtml b/ServiceHost/Pages/services/rollcall.cshtml index d1b52812..7b5e4788 100644 --- a/ServiceHost/Pages/services/rollcall.cshtml +++ b/ServiceHost/Pages/services/rollcall.cshtml @@ -178,7 +178,7 @@
- +

گروه‌بندی

diff --git a/ServiceHost/wwwroot/AssetsMain/images/grouping.svg b/ServiceHost/wwwroot/AssetsMain/images/grouping.svg new file mode 100644 index 00000000..af7842ea --- /dev/null +++ b/ServiceHost/wwwroot/AssetsMain/images/grouping.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 2b3067dab2f984671fb8dfcce3f3043e012192f2 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Tue, 26 Aug 2025 12:29:17 +0330 Subject: [PATCH 3/3] fix: add ContractingPartyId to institution contract list items --- .../GetInstitutionContractListItemsViewModel.cs | 2 ++ .../Repository/InstitutionContractRepository.cs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CompanyManagment.App.Contracts/InstitutionContract/GetInstitutionContractListItemsViewModel.cs b/CompanyManagment.App.Contracts/InstitutionContract/GetInstitutionContractListItemsViewModel.cs index be7e0f5f..43a8590b 100644 --- a/CompanyManagment.App.Contracts/InstitutionContract/GetInstitutionContractListItemsViewModel.cs +++ b/CompanyManagment.App.Contracts/InstitutionContract/GetInstitutionContractListItemsViewModel.cs @@ -83,4 +83,6 @@ public class GetInstitutionContractListItemsViewModel /// آیا منقضی شده است /// public bool IsExpired { get; set; } + + public long ContractingPartyId { get; set; } } \ No newline at end of file diff --git a/CompanyManagment.EFCore/Repository/InstitutionContractRepository.cs b/CompanyManagment.EFCore/Repository/InstitutionContractRepository.cs index 9049c2f3..156b8d6b 100644 --- a/CompanyManagment.EFCore/Repository/InstitutionContractRepository.cs +++ b/CompanyManagment.EFCore/Repository/InstitutionContractRepository.cs @@ -1217,7 +1217,8 @@ public class InstitutionContractRepository : RepositoryBase l.StartWorkDate <= DateTime.Now && l.LeftWorkDate >= DateTime.Now), EmployerNames = employers.Select(e => e.FullName).ToList(), Status = status.status, - IsExpired = status.isExpiered + IsExpired = status.isExpiered, + ContractingPartyId = x.contractingParty.id, }; }).ToList() };