]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Вывод ошибки при просмотре
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 24 Dec 2025 07:08:14 +0000 (10:08 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 24 Dec 2025 07:08:14 +0000 (10:08 +0300)
erp24/views/marketplace-orders/view.php

index f77ea20243eb3f1377b507e3e7bc8610df727bbd..a2ddc57b22ce4e0121c020f5b22a1badb1e04ecb 100644 (file)
@@ -125,7 +125,17 @@ $this->params['breadcrumbs'][] = $this->title;
                 },
 
             ],
-            'error_text',
+            [
+                'attribute' => 'check_guid',
+                'label' => 'Ошибка создания чека',
+                'format' => 'raw',
+                'value' => function ($model) {
+
+                    $check = $model->check;
+                    return $check->error_text ?? '-';
+                },
+
+            ],
             [
                 'attribute' => 'check_guid',
                 'label' => 'Наименование чека',