From 12543ea7c2201c306959c149cae152d72d204e3e Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Fri, 29 Aug 2025 14:34:13 +0300 Subject: [PATCH] =?utf8?q?=D0=98=D0=BC=D1=8F=20=D1=87=D0=B5=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/marketplace-orders/view.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/erp24/views/marketplace-orders/view.php b/erp24/views/marketplace-orders/view.php index 89d6db21..64b82d2d 100644 --- a/erp24/views/marketplace-orders/view.php +++ b/erp24/views/marketplace-orders/view.php @@ -120,6 +120,24 @@ $this->params['breadcrumbs'][] = $this->title; return '-'; }, + ], + [ + 'attribute' => 'check_guid', + 'label' => 'Наименование чека', + 'format' => 'raw', + 'value' => function ($model) { + if (!$model->check_guid) { + return 'Чек не создан'; + } + + $check = $model->check; + if ($check && $check->name) { + return $check->name; + } + + return '-'; + }, + ], [ 'attribute' => 'status_processing_1c', -- 2.39.5