|
|
@ -71,6 +71,7 @@ class MasterFunctionsHelper { |
|
|
|
// foreach ($gantt as $key => $value) { |
|
|
|
// foreach ($gantt as $key => $value) { |
|
|
|
// Log::info('gantt '.$value.' index '.$key); |
|
|
|
// Log::info('gantt '.$value.' index '.$key); |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
if (isset($gantt['calculation_type'])) { |
|
|
|
if($gantt['calculation_type'] == 'simple') { |
|
|
|
if($gantt['calculation_type'] == 'simple') { |
|
|
|
// to do |
|
|
|
// to do |
|
|
|
return MasterFunctionsHelper::calculateProgressBasedOnSimple($gantt); |
|
|
|
return MasterFunctionsHelper::calculateProgressBasedOnSimple($gantt); |
|
|
@ -79,6 +80,7 @@ class MasterFunctionsHelper { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function calculateProgressBasedOnReportMaterial($keyGantt) |
|
|
|
public function calculateProgressBasedOnReportMaterial($keyGantt) |
|
|
|
{ |
|
|
|
{ |
|
|
|