} else {
                 $keywords = explode(' ', $search_keywords);
                 foreach ($keywords as $key) {
                     $searchfilter .= " AND o.customers_name LIKE '%{$key}%'";
                 }
             }
             break;
         case 'a':
             $searchfilter .= " AND op.products_model LIKE '%{$search_keywords}%'";
             break;
         case 'o':
             $searchfilter .= " AND o.orders_no LIKE '%{$search_keywords}%'";
             break;
     }
 }
 $returns = $class_o->retrieveReturnListData($searchfilter);
 if (count($returns) > 0) {
     $orders = array();
     $o = array();
     $o['d2'] = 'Date';
     $o['i'] = 'Return info';
     $o['o'] = 'Order No';
     $o['a'] = 'Product Code';
     $o['p'] = 'Price';
     $o['q'] = 'Qty';
     $orders[] = $o;
     $show_upload_retcon = false;
     foreach ($returns as $row) {
         $o = array();
         $o['d2'] = date('d-M-y', strtotime($row['return_date']));
         $o['i'] = $row['customers_name'] . ' <a href="" id="rid-' . $row['orders_products_return_id'] . '" class="detail" title="View Return Detail">[more]</a>';