id)->whereIsarchived(1)->orderBy('budget_date', 'desc')->get(); ?> getAllMonthCost($projectMonthBudget->budget_date); $cellBgColor = ''; $divergence = round(($projectMonthBudget->month_plan/100 - $projectMonthCost), 2); if($divergence > 0){ $cellBgColor = '#99FFCC;'; }elseif ($divergence < 0) { $cellBgColor = '#FF6666;'; }else{ $cellBgColor = '#CCCCCC;'; } ?>
Дата формирования:
Помесячный контроль план-факта
Месяц План Факт Отклонение
аб., руб.
Отклонение
относ., %
getMonthName($projectMonthBudget->budget_date); ?> month_plan/100; ?> month_plan)? round( 100*$divergence/($projectMonthBudget->month_plan/100), 2 ):0; ?>