From 112369c2a554965cd5cf8bb66cc9c2d2d785d815 Mon Sep 17 00:00:00 2001 From: mahan Date: Sun, 21 Sep 2025 11:30:46 +0330 Subject: [PATCH] add fridays to holiday in DashboardController --- ServiceHost/Areas/Admin/Controllers/DashboardController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServiceHost/Areas/Admin/Controllers/DashboardController.cs b/ServiceHost/Areas/Admin/Controllers/DashboardController.cs index 4df39f0a..d132095c 100644 --- a/ServiceHost/Areas/Admin/Controllers/DashboardController.cs +++ b/ServiceHost/Areas/Admin/Controllers/DashboardController.cs @@ -51,7 +51,7 @@ public class DashboardController : AdminBaseController DayNumber = day.ToString("dd"), IsToday = day.DateTime == todayGr, DayOfWeek = day.DayOfWeek, - Holiday = _holidayItemApplication.IsHoliday(day.ToGregorianDateTime()) + Holiday = _holidayItemApplication.IsHoliday(day.ToGregorianDateTime()) || day.DayOfWeek== "جمعه" }; calenderList.Add(calenderNewItem); }