From b4a9f06df4aa39f5c154910ecdcc7918c71e7b36 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 17:43:56 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2?= =?utf8?q?=D0=BA=D0=B0=20=D0=B4=D0=B5=D0=B2=D0=B5=D0=BB=D0=BE=D0=BF=D0=B0?= =?utf8?q?=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/motivation/index.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/erp24/views/motivation/index.php b/erp24/views/motivation/index.php index eebe217d..189ea595 100644 --- a/erp24/views/motivation/index.php +++ b/erp24/views/motivation/index.php @@ -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"]) : " "; - - - }, ] -- 2.39.5