From f245bacd310b025a1339caa71463d6ac9aaba761 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 4 Sep 2024 18:27:21 +0300 Subject: [PATCH] =?utf8?q?[ERP-140]=20=D0=BF=D1=80=D0=BE=D1=86=D0=B5=D0=BD?= =?utf8?q?=D1=82=D1=8B=20=D0=B2=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B8=20?= =?utf8?q?=D1=87=D0=B8=D1=81=D0=BB=D0=B0=20=D0=B2=D0=B0=D0=B6=D0=BD=D1=8B?= =?utf8?q?=20=D0=BA=D0=B0=D0=BA=20=D0=B8=20=D1=83=D0=BC=D0=BD=D0=BE=D0=B6?= =?utf8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=20100=20=D0=BF=D1=80?= =?utf8?q?=D0=B8=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D0=B5=20?= =?utf8?q?=D0=B2=20=D0=BD=D0=B8=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/motivation/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erp24/views/motivation/index.php b/erp24/views/motivation/index.php index 189ea595..7b3ccd48 100644 --- a/erp24/views/motivation/index.php +++ b/erp24/views/motivation/index.php @@ -227,11 +227,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"]) : " "; + return $model["deviation"] !== null ? FormatHelper::asDecimalMotivation($model["deviation"] * 100) . "%" : " "; }, - ] - ], 'rowOptions' => function ($model, $key, $index, $grid) { $style = ''; -- 2.39.5