From fc3251f58ca52eced5f0528c3e682c547953f2b1 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 10 Jan 2017 18:11:50 +0200 Subject: [PATCH] add local config --- src/app/frontend/controllers/DealerController.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/app/frontend/controllers/DealerController.php b/src/app/frontend/controllers/DealerController.php index 71ed332..6febfdb 100644 --- a/src/app/frontend/controllers/DealerController.php +++ b/src/app/frontend/controllers/DealerController.php @@ -1652,16 +1652,14 @@ class DealerController extends \controllers\ControllerBase private function getOrder( $order_id, $type ) { if($type == 'online_order_history'){ - print_r($order_id); - print("
"); - print_r($this->lang_id ); - die(); + $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 ); } - + print_r($items); + die(); $order['groups'] = $this->getGroups($items); $order['total_price'] = 0; foreach($order['groups'] as $k => $g) { -- libgit2 0.21.4