From 169af5d5f2a4aa3eb9b40ea0c8e6b00e604a77c6 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 10 Jan 2017 17:35:18 +0200 Subject: [PATCH] add local config --- src/app/frontend/controllers/DealerController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/frontend/controllers/DealerController.php b/src/app/frontend/controllers/DealerController.php index b04dc2e..aea5911 100644 --- a/src/app/frontend/controllers/DealerController.php +++ b/src/app/frontend/controllers/DealerController.php @@ -681,7 +681,7 @@ class DealerController extends \controllers\ControllerBase } public function onlineOrderHistoryAction() { - + die('here'); if($this->session->has('id')) { $customer = $this->models->getCustomers()->getOneData($this->session->get('id'))['0']; $this->view->setVar('customer', $customer); @@ -1653,7 +1653,7 @@ class DealerController extends \controllers\ControllerBase private function getOrder( $order_id, $type ) { if($type == 'online_order_history'){ - die('here'); + $items = $this->models->getOrders1C()->getOrdersByOrderId( $order_id, $this->lang_id ); } else if($type == 'shipment_history'){ $items = $this->models->getShipments()->getOrdersByOrderId( $order_id, $this->lang_id ); -- libgit2 0.21.4