feat: implement commission calculation strategy with ORM and SP options
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m43s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m43s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user