]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Имя чека
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 29 Aug 2025 11:34:13 +0000 (14:34 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Fri, 29 Aug 2025 11:34:13 +0000 (14:34 +0300)
erp24/views/marketplace-orders/view.php

index 89d6db217915a001797e78dcf89960dfef6e2725..64b82d2d10c2d9fdeb3aac0fbadc08a7488a06ce 100644 (file)
@@ -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',