Исправления дат для отчетов дежурного и мед. сестры

This commit is contained in:
brusnitsyn
2026-07-17 14:38:56 +09:00
parent 27fefb7e54
commit 6350159943

View File

@@ -160,7 +160,7 @@ class DateRangeService
private function getDefaultDateRange($user): array
{
$requestPath = request()->path();
$switchToday = $requestPath === 'report';
$switchToday = $requestPath === 'report' || $requestPath === 'nurse/report';
[$startDate, $endDate] = $this->currentShiftBoundaries($switchToday);