diff --git a/adm/tabs/AdminOrders.php b/adm/tabs/AdminOrders.php index 5990c6f9..e2718087 100755 --- a/adm/tabs/AdminOrders.php +++ b/adm/tabs/AdminOrders.php @@ -72,13 +72,13 @@ class AdminOrders extends AdminTab foreach(Country::getCountries((int) $cookie->id_lang, TRUE) as $country) { $country_array[(int) $country['id_country']] = $country['name']; } - + $deviceList = array( 0 => 'Site', 1 => 'Appli', 2 => 'Mobile', ); - + foreach ($states AS $state){ $statesArray[$state['id_order_state']] = $state['name']; } @@ -94,7 +94,7 @@ class AdminOrders extends AdminTab foreach ($carriers as $row) { $carriersArray[(int)$row['id_carrier']] = $row['name']; } - + $this->fieldsDisplay = array( 'id_order' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25), 'new' => array('title' => $this->l('New'), 'width' => 25, 'align' => 'center', 'type' => 'bool', 'filter_key' => 'new', 'tmpTableFilter' => true, 'icon' => array(0 => 'blank.gif', 1 => 'news-new.gif'), 'orderby' => false), @@ -109,7 +109,7 @@ class AdminOrders extends AdminTab 'id_country' => array('title' => $this->l('Pays'), 'callback' => 'printCountry', 'orderby' => false, 'type' => 'select', 'select' => $country_array, 'filter_key' => 'x!id_country', 'filter_type' => 'int', 'width' => 35,), 'appli' => array('title' => $this->l('Device'), 'width' => 25, 'align' => 'center', 'type' => 'select', 'select' => $deviceList, 'filter_key' => 'a!appli', 'callback' => 'printDeviceIcons', 'orderby' => false), ); - + parent::__construct(); if(!isset($_POST['submitFilter']) && !isset($_POST['orderFilter_a!date_add'])) { @@ -1432,9 +1432,9 @@ class AdminOrders extends AdminTab
'.$data['order_address'].'