From d59c7b64fad04fcda4915de27cd5c2da80a31d7b Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 11 Feb 2025 09:25:02 +0300 Subject: [PATCH] =?utf8?q?ERP-302=20=D0=A0=D0=B5=D0=B4=D0=B0=D0=BA=D1=82?= =?utf8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B1=D1=83?= =?utf8?q?=D0=BA=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/controllers/BouquetController.php | 6 +++-- erp24/views/bouquet/view.php | 36 +++++++++++++------------ 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/erp24/controllers/BouquetController.php b/erp24/controllers/BouquetController.php index 32b2dfb0..50257490 100644 --- a/erp24/controllers/BouquetController.php +++ b/erp24/controllers/BouquetController.php @@ -27,10 +27,12 @@ class BouquetController extends Controller public function actionView() { - $storesTypeList = ArrayHelper::map(StoreType::find()->all(), 'id', 'name'); + $storesTypeList = ArrayHelper::map(StoreType::find()->orderBy('sequence_number')->all(), 'id', 'name'); $storesList = ArrayHelper::map(CityStore::findAll(['visible' => CityStore::IS_VISIBLE]), 'id', 'name'); + return $this->render('view', [ - 'storesList' => $storesList + 'storesList' => $storesList, + 'storesTypeList' => $storesTypeList, ]); } diff --git a/erp24/views/bouquet/view.php b/erp24/views/bouquet/view.php index 9dc55b1d..59f528d9 100644 --- a/erp24/views/bouquet/view.php +++ b/erp24/views/bouquet/view.php @@ -53,8 +53,8 @@ $this->registerCss("
-
-
Название
+
+
Название
Кол-во
% списания
мрж-ть
@@ -62,9 +62,9 @@ $this->registerCss("
ср.шт. в сборке
-
-
-
Гладиолусы краш
+
+
+
Гладиолусы краш
3.0
10%
30%
@@ -171,14 +171,16 @@ $this->registerCss(" 'text-center font-weight-bold pt-4 h6']) ?>
-
+
-
- -
-
- -
+ + +
+
+ +
'; + } ?>
@@ -186,14 +188,14 @@ $this->registerCss(" 'text-center font-weight-bold pt-3 h6']) ?>
-
+
- +
- +
'; } ?>
@@ -203,11 +205,11 @@ $this->registerCss(" 'text-center font-weight-bold pt-3 h6']) ?>
-
+
- +
-- 2.39.5