gogs 1 месяц назад
Родитель
Сommit
7c0e299524
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Service/Statistic/StatisticCommonService.php

+ 1 - 1
app/Service/Statistic/StatisticCommonService.php

@@ -313,7 +313,7 @@ class StatisticCommonService extends Service
                 $all_key_salary[$key] = 1;
             }
             $item_month_list[$item_key]['total_salary'] = $total_salary;
-            $item_month_list[$item_key]['total_hour'] = round($total_min/60,2);
+            $item_month_list[$item_key]['total_hours'] = round($total_min/60,2);
             $item_month_list[$item_key]['total_min'] += $total_salary;
             // B. 计算工资分摊:(项目工时 / 月总工时) * 月工资
             if ($total_min > 0) {