Browse Source

Merge pull request 'fix curva S site' (#60) from dev-ibnu into staging

Reviewed-on: ordo/adw-backend#60
pull/3/head
ibnu 2 years ago
parent
commit
d426c7684c
  1. 2
      app/Helpers/MasterFunctionsHelper.php

2
app/Helpers/MasterFunctionsHelper.php

@ -225,7 +225,7 @@ class MasterFunctionsHelper {
// $sumPercentageActual+=($keyActualM->qty/$sumVolActual->ttl_qty_plan)*$keyActualM->bobot_planning;
// if($keyActualM->qty/$sumVolActual->ttl_qty_plan >= 1){
if($checkStatusActivity->status_activity == 'done'){
$sumPercentageActual+=($keyActualM->qty/$sumVolActual->ttl_qty_plan)*$keyActualM->bobot_planning;
$sumPercentageActual+=$keyActualM->bobot_planning;
// $sumPercentageActual = $sumPercentageActual > $keyGantt['progress'] ? $keyGantt['progress'] : $sumPercentageActual;
}else{
if($keyActualM->qty/$sumVolActual->ttl_qty_plan >= 1){

Loading…
Cancel
Save