Commit fc3251f58ca52eced5f0528c3e682c547953f2b1

Authored by Administrator
1 parent 2e0a9c16

add local config

Showing 1 changed file with 3 additions and 5 deletions   Show diff stats
src/app/frontend/controllers/DealerController.php
@@ -1652,16 +1652,14 @@ class DealerController extends \controllers\ControllerBase @@ -1652,16 +1652,14 @@ class DealerController extends \controllers\ControllerBase
1652 1652
1653 private function getOrder( $order_id, $type ) { 1653 private function getOrder( $order_id, $type ) {
1654 if($type == 'online_order_history'){ 1654 if($type == 'online_order_history'){
1655 - print_r($order_id);  
1656 - print("</br>");  
1657 - print_r($this->lang_id );  
1658 - die(); 1655 +
1659 $items = $this->models->getOrders1C()->getOrdersByOrderId( $order_id, $this->lang_id ); 1656 $items = $this->models->getOrders1C()->getOrdersByOrderId( $order_id, $this->lang_id );
1660 } else if($type == 'shipment_history'){ 1657 } else if($type == 'shipment_history'){
1661 $items = $this->models->getShipments()->getOrdersByOrderId( $order_id, $this->lang_id ); 1658 $items = $this->models->getShipments()->getOrdersByOrderId( $order_id, $this->lang_id );
1662 } 1659 }
1663 1660
1664 - 1661 + print_r($items);
  1662 + die();
1665 $order['groups'] = $this->getGroups($items); 1663 $order['groups'] = $this->getGroups($items);
1666 $order['total_price'] = 0; 1664 $order['total_price'] = 0;
1667 foreach($order['groups'] as $k => $g) { 1665 foreach($order['groups'] as $k => $g) {