'code' => $costsItem->code,
'name' => $costsItem->name,
'plan' => null,
- 'correction' => null,
+ 'adjustment' => null,
'week1' => null,
'week2' => null,
'week3' => null,
if (!isset($result[$key])) {
$result[$key] = array_merge($item, [
'plan' => null,
- 'correction' => null,
+ 'adjustment' => null,
'week1' => null,
'week2' => null,
'week3' => null,
'header' => 'План',
],
[
- 'attribute' => 'correction',
+ 'attribute' => 'adjustment',
'value' => function ($model) {
- if ($model["correction"] !== null && $model["correction"] !== '') {
- return Yii::$app->formatter->asDecimal($model["correction"], 2);
+ if ($model["adjustment"] !== null && $model["adjustment"] !== '') {
+ return Yii::$app->formatter->asDecimal($model["adjustment"], 2);
} else {
return " ";
}