'columns' => [
[
'attribute' => 'name',
-
-
'header' => 'Наименование статьи доходов/расходов',
],
[
'attribute' => 'plan',
'value' => function ($model) {
-
return $model["plan"] !== null ? FormatHelper::asDecimalMotivation($model["plan"]) : " ";
-
},
'header' => 'План',
],
[
'attribute' => 'adjustment',
'value' => function ($model) {
-
-
return $model["adjustment"] !== null ? FormatHelper::asDecimalMotivation($model["adjustment"]) : " ";
-
-
-
-
},
'header' => 'Корректировка',
],
return $model["week1"] !== null ? FormatHelper::asDecimalMotivation($model["week1"]) : " ";
},
-
],
[
'attribute' => 'week2',
return $model["week5"] !== null ? FormatHelper::asDecimalMotivation($model["week5"]) : " ";
},
-
],
[
'attribute' => 'forecast',
-
-
'header' => 'Прогноз за месяц',
'value' => function ($model) {
return $model["forecast"] !== null ? FormatHelper::asDecimalMotivation($model["forecast"]) : " ";
],
[
'attribute' => 'fact',
-
-
'header' => 'Факт за месяц',
'value' => function ($model) {
return $model["fact"] !== null ? FormatHelper::asDecimalMotivation($model["fact"]) : " ";
],
[
'attribute' => 'deviation',
-
'header' => 'Отклонение, %',
'value' => function ($model) {
-
return $model["deviation"] !== null ? FormatHelper::asDecimalMotivation($model["deviation"]) : " ";
-
-
-
},
]