]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-130] Поправка девелопа 4
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 14:43:56 +0000 (17:43 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 14:43:56 +0000 (17:43 +0300)
erp24/views/motivation/index.php

index eebe217d84119a1b24ed9d7b7bcd6d97913ab800..189ea595ded0c269d4138562c0072f15039cc044 100644 (file)
@@ -137,29 +137,19 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
                     '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' => 'Корректировка',
                         ],
@@ -172,7 +162,6 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
                                 return $model["week1"] !== null ? FormatHelper::asDecimalMotivation($model["week1"]) : " ";
 
                             },
-
                         ],
                         [
                             'attribute' => 'week2',
@@ -216,12 +205,9 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
                                 return $model["week5"] !== null ? FormatHelper::asDecimalMotivation($model["week5"]) : " ";
 
                             },
-
                         ],
                         [
                             'attribute' => 'forecast',
-
-
                             'header' => 'Прогноз за месяц',
                             'value' => function ($model) {
                                 return $model["forecast"] !== null ? FormatHelper::asDecimalMotivation($model["forecast"]) : " ";
@@ -231,8 +217,6 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
                         ],
                         [
                             'attribute' => 'fact',
-
-
                             'header' => 'Факт за месяц',
                             'value' => function ($model) {
                                 return $model["fact"] !== null ? FormatHelper::asDecimalMotivation($model["fact"]) : " ";
@@ -241,14 +225,9 @@ $this->registerJsFile('/js/motivation/index.js', ['position' => \yii\web\View::P
                         ],
                         [
                             'attribute' => 'deviation',
-
                             'header' => 'Отклонение, %',
                             'value' => function ($model) {
-
                                 return $model["deviation"] !== null ? FormatHelper::asDecimalMotivation($model["deviation"]) : " ";
-
-
-                              
                             },
 
                         ]