From: Vladimir Fomichev Date: Fri, 29 Aug 2025 11:34:13 +0000 (+0300) Subject: Имя чека X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=12543ea7c2201c306959c149cae152d72d204e3e;p=erp24_rep%2Fyii-erp24%2F.git Имя чека --- 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',