From: Alexander Smirnov Date: Tue, 1 Apr 2025 09:55:46 +0000 (+0300) Subject: [ERP-394] debug X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=02a8eb8d7e34f23add401d4bb7ef6fc2305da00c;p=erp24_rep%2Fyii-erp24%2F.git [ERP-394] debug --- 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]): ?> +