Example #1
0
 public function dispShopToolManageOrders()
 {
     $extraParams = array();
     if ($search = Context::get('search')) {
         $col = (Context::get('column') ? Context::get('column') : 'billing_address');
         $extraParams[$col] = $search;
     }
     $repo = new OrderRepository();
     $extraParams['order_type'] = 'desc';
     $orders = $repo->getList($this->module_info->module_srl, null, $extraParams, Context::get('page'));
     Context::set('orders', $orders->data);
     Context::set('page_navigation', $orders->page_navigation);
 }