gogs преди 2 месеца
родител
ревизия
8e3ad25473
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Service/StatisticService.php

+ 1 - 1
app/Service/StatisticService.php

@@ -239,7 +239,7 @@ class StatisticService extends Service
         }
 
         foreach ($item_month_list as $k => $v) {
-            $item_month_list[$k]['hours'] = round($v['work_minutes']  / 60);
+            $item_month_list[$k]['work_hours'] = round($v['work_minutes']  / 60);
             $item_month_list[$k]['total_hours'] = round($v['total_min']  / 60);
             unset($item_month_list[$k]['work_minutes']);
         }