]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Метки статуса для остальных
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 26 Feb 2025 13:00:51 +0000 (16:00 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 26 Feb 2025 13:00:51 +0000 (16:00 +0300)
erp24/views/marketplace-order-status-history/index.php
erp24/views/marketplace-orders/index.php

index 6eef9d2e96e3c40ad8a110c33aebd12650f6468f..31d6a0925c9124c4f2875f65dca52e6bd4e4e243 100644 (file)
@@ -52,6 +52,10 @@ $this->params['breadcrumbs'][] = $this->title;
                         $class = 'bg-success text-white';
                     } elseif ($status === 'CANCELLED') {
                         $class = 'bg-danger text-white';
+                    } elseif ($status === 'PROCESSING') {
+                        $class = 'bg-primary text-white';
+                    } else {
+                        $class = 'bg-secondary text-white';
                     }
                     return Html::tag('span', $status, ['class' => "badge $class"]);
                 },
index e2afb51485783ee73268172016fa3c48530d3281..34d4f856a4dd27ce6e3db9dc3954cdd7f4d36efa 100644 (file)
@@ -51,6 +51,10 @@ $this->params['breadcrumbs'][] = $this->title;
                         $class = 'bg-success text-white';
                     } elseif ($status === 'CANCELLED') {
                         $class = 'bg-danger text-white';
+                    } elseif ($status === 'PROCESSING') {
+                        $class = 'bg-primary text-white';
+                    } else {
+                        $class = 'bg-secondary text-white';
                     }
                     return Html::tag('span', $status, ['class' => "badge $class"]);
                 },