feat: implement commission calculation strategy with ORM and SP options
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m43s

This commit is contained in:
masoodafar-web
2025-12-20 03:15:28 +03:30
parent 9864302bab
commit 25476ba120
18 changed files with 1687 additions and 21 deletions
@@ -61,7 +61,7 @@ public class WeekDefinitionSeeder
while (currentDate <= endDate)
{
var weekStart = currentDate; // شنبه
var weekEnd = currentDate.AddDays(6); // جمعه
var weekEnd = currentDate.AddDays(6).Date.AddHours(23).AddMinutes(59).AddSeconds(59); // جمعه 23:59:59
// محاسبه شماره ترتیبی هفته (از 1 شروع می‌شود)
var weekOrder = CalculateWeekOrder(weekStart);