From a4942de68bcad67159a4bb31ad0c3196c35c8a63 Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 26 Feb 2025 16:00:51 +0300 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D1=82=D0=BA=D0=B8=20=D1=81=D1=82?= =?utf8?q?=D0=B0=D1=82=D1=83=D1=81=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D0=BE?= =?utf8?q?=D1=81=D1=82=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/marketplace-order-status-history/index.php | 4 ++++ erp24/views/marketplace-orders/index.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/erp24/views/marketplace-order-status-history/index.php b/erp24/views/marketplace-order-status-history/index.php index 6eef9d2e..31d6a092 100644 --- a/erp24/views/marketplace-order-status-history/index.php +++ b/erp24/views/marketplace-order-status-history/index.php @@ -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"]); }, diff --git a/erp24/views/marketplace-orders/index.php b/erp24/views/marketplace-orders/index.php index e2afb514..34d4f856 100644 --- a/erp24/views/marketplace-orders/index.php +++ b/erp24/views/marketplace-orders/index.php @@ -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"]); }, -- 2.39.5