From 8296292e4987cb5d1f1d21881877c1d3f3034498 Mon Sep 17 00:00:00 2001 From: SamSys Date: Wed, 17 Dec 2025 13:25:24 +0330 Subject: [PATCH] checkout week finder switch fixed bug --- .../Repository/RollCallMandatoryRepository.cs | 6 ++++-- .../Admin/Pages/Company/Workshops/AutoExtension.cshtml.cs | 5 +++-- ServiceHost/Properties/launchSettings.json | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CompanyManagment.EFCore/Repository/RollCallMandatoryRepository.cs b/CompanyManagment.EFCore/Repository/RollCallMandatoryRepository.cs index 4a781e52..904ce85f 100644 --- a/CompanyManagment.EFCore/Repository/RollCallMandatoryRepository.cs +++ b/CompanyManagment.EFCore/Repository/RollCallMandatoryRepository.cs @@ -1994,8 +1994,9 @@ public class RollCallMandatoryRepository : RepositoryBase, IRoll case "شنبه": w1 = 7; w2 = 14; - w3 = 28; - w4 = 31; + w3 = 21; + w4 = 28; + w5 = 31; break; case "یکشنبه": w1 = 6; @@ -2361,6 +2362,7 @@ public class RollCallMandatoryRepository : RepositoryBase, IRoll break; } } + } #endregion diff --git a/ServiceHost/Areas/Admin/Pages/Company/Workshops/AutoExtension.cshtml.cs b/ServiceHost/Areas/Admin/Pages/Company/Workshops/AutoExtension.cshtml.cs index fb4af99a..bbee42de 100644 --- a/ServiceHost/Areas/Admin/Pages/Company/Workshops/AutoExtension.cshtml.cs +++ b/ServiceHost/Areas/Admin/Pages/Company/Workshops/AutoExtension.cshtml.cs @@ -2642,8 +2642,9 @@ public class AutoExtensionModel : PageModel case "شنبه": w1 = 7; w2 = 14; - w3 = 28; - w4 = 31; + w3 = 21; + w4 = 28; + w5 = 31; break; case "یکشنبه": w1 = 6; diff --git a/ServiceHost/Properties/launchSettings.json b/ServiceHost/Properties/launchSettings.json index c785652a..788962e4 100644 --- a/ServiceHost/Properties/launchSettings.json +++ b/ServiceHost/Properties/launchSettings.json @@ -19,7 +19,7 @@ "sqlDebugging": true, "dotnetRunMessages": "true", "nativeDebugging": true, - "applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.117:5006;", + "applicationUrl": "https://localhost:5004;http://localhost:5003;", "jsWebView2Debugging": false, "hotReloadEnabled": true },