Исправление вывода дат для модальных окон

This commit is contained in:
brusnitsyn
2026-07-13 16:45:35 +09:00
parent 6b3a4bfceb
commit 69d2bd8ce1
5 changed files with 19 additions and 46 deletions

View File

@@ -108,7 +108,7 @@ class StatisticsService
->join('report_duties as rd', 'rd.id', '=', 'rdp.report_duty_id')
->whereIn('rd.rf_department_id', $allDeptIds)
->where('omh.observable_in', '>=', $startDate)
->where('omh.observable_in', '<=', $endDate)
->where('omh.observable_in', '<', $endDate)
->select('rd.rf_department_id', DB::raw('COUNT(DISTINCT omh.id) as count'))
->groupBy('rd.rf_department_id')
->get()