gogs 2 ماه پیش
والد
کامیت
7b8546aecc
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/Service/StatisticService.php

+ 1 - 0
app/Service/StatisticService.php

@@ -240,6 +240,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]['total_hours'] = round($v['total_min']  / 60);
             unset($item_month_list[$k]['work_minutes']);
         }
         $item_month_list = collect($item_month_list)->sortBy('month')->values()->all();