diff --git a/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php b/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php index c3db949e..952e6f15 100644 --- a/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php +++ b/modules/EcmReports/BimIT-Reports/productionSchedule/productionSchedule.php @@ -149,7 +149,7 @@ WHERE ps.deleted = 0 "; $row['action_index'] = $r['action_index']; $row['action_category'] = $app_list_strings['ecmactions_category_dom'][$r['action_category']]; - $timeInHours = $r['action_performance'] / $r['scheduledQuantity']; + $timeInHours = $r['scheduledQuantity'] / $r['action_performance']; $hours = floor($timeInHours); $minutes = round(($timeInHours - $hours) * 60); $row['action_time'] = sprintf('%02d:%02d', $hours, $minutes);