Commit 169af5d5f2a4aa3eb9b40ea0c8e6b00e604a77c6
1 parent
0b9d9549
add local config
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/app/frontend/controllers/DealerController.php
@@ -681,7 +681,7 @@ class DealerController extends \controllers\ControllerBase | @@ -681,7 +681,7 @@ class DealerController extends \controllers\ControllerBase | ||
681 | } | 681 | } |
682 | 682 | ||
683 | public function onlineOrderHistoryAction() { | 683 | public function onlineOrderHistoryAction() { |
684 | - | 684 | + die('here'); |
685 | if($this->session->has('id')) { | 685 | if($this->session->has('id')) { |
686 | $customer = $this->models->getCustomers()->getOneData($this->session->get('id'))['0']; | 686 | $customer = $this->models->getCustomers()->getOneData($this->session->get('id'))['0']; |
687 | $this->view->setVar('customer', $customer); | 687 | $this->view->setVar('customer', $customer); |
@@ -1653,7 +1653,7 @@ class DealerController extends \controllers\ControllerBase | @@ -1653,7 +1653,7 @@ class DealerController extends \controllers\ControllerBase | ||
1653 | 1653 | ||
1654 | private function getOrder( $order_id, $type ) { | 1654 | private function getOrder( $order_id, $type ) { |
1655 | if($type == 'online_order_history'){ | 1655 | if($type == 'online_order_history'){ |
1656 | - die('here'); | 1656 | + |
1657 | $items = $this->models->getOrders1C()->getOrdersByOrderId( $order_id, $this->lang_id ); | 1657 | $items = $this->models->getOrders1C()->getOrdersByOrderId( $order_id, $this->lang_id ); |
1658 | } else if($type == 'shipment_history'){ | 1658 | } else if($type == 'shipment_history'){ |
1659 | $items = $this->models->getShipments()->getOrdersByOrderId( $order_id, $this->lang_id ); | 1659 | $items = $this->models->getShipments()->getOrdersByOrderId( $order_id, $this->lang_id ); |