From 02a8eb8d7e34f23add401d4bb7ef6fc2305da00c Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 1 Apr 2025 12:55:46 +0300 Subject: [PATCH] [ERP-394] debug --- erp24/controllers/OrdersController.php | 4 ++-- erp24/views/orders/delivery.php | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/erp24/controllers/OrdersController.php b/erp24/controllers/OrdersController.php index defdc3c2..14275ee6 100644 --- a/erp24/controllers/OrdersController.php +++ b/erp24/controllers/OrdersController.php @@ -19,7 +19,7 @@ class OrdersController extends Controller { return ArrayHelper::merge(parent::actions(), [ 'fill-phone' => \yii_app\actions\orders\FillPhoneAction::class, -// 'delivery' => \yii_app\actions\orders\DeliveryAction::class, + 'delivery' => \yii_app\actions\orders\DeliveryAction::class, ]); } @@ -31,7 +31,7 @@ class OrdersController extends Controller return $this->render('amobaza'); } - public function actionDelivery() { + public function actionDeliveryOld() { return $this->render('delivery_old'); } diff --git a/erp24/views/orders/delivery.php b/erp24/views/orders/delivery.php index 0e0eb92e..9bc6b3fb 100644 --- a/erp24/views/orders/delivery.php +++ b/erp24/views/orders/delivery.php @@ -243,6 +243,12 @@ $this->registerCss(' $orderAmo["store"] == "ул. Аэродромная, 28" || $orderAmo["store"] == "") && $yeses[$ind] == 0 && $orderAmo["payment_type_id"] != "Оплачен в магазине"): ?> 0 && $ords[$ind] && $seller_id[$ind]): ?> + -- 2.39.5