From fc8e53b440fae743255b30ae644ad32338cadbc9 Mon Sep 17 00:00:00 2001 From: fomichev Date: Thu, 19 Dec 2024 10:35:52 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?utf8?q?=D0=BE=20=D0=BF=D0=BE=D0=BB=D1=8F=D0=BC=20=D0=B2=20=D0=B4=D0=BE?= =?utf8?q?=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B5=20=D1=81=D0=BF=D0=B8?= =?utf8?q?=D1=81=D0=B0=D0=BD=D0=B8=D1=8F=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/waybill-write-offs/view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/views/waybill-write-offs/view.php b/erp24/views/waybill-write-offs/view.php index 790c0499..d7d60342 100644 --- a/erp24/views/waybill-write-offs/view.php +++ b/erp24/views/waybill-write-offs/view.php @@ -48,7 +48,7 @@ $this->params['breadcrumbs'][] = $this->title; 'label' => 'Текст ошибки', 'attribute' => 'error_text', 'value' => function ($model) { - return $model->status == 8 ? $model->error_text : 'Нет ошибки'; + return $model->status == 8 ? $model->error_text : ''; } ], [ @@ -57,7 +57,7 @@ $this->params['breadcrumbs'][] = $this->title; 'value' => function ($model) { return $model->status == \yii_app\records\WriteOffsErp::STATUS_CREATED_1С ? - $model->number_1c : 'Документ не создан'; + $model->number_1c : ''; } ], [ -- 2.39.5