diff --git a/adm/tabs/AdminOrders.php b/adm/tabs/AdminOrders.php index e2718087..2d95c6dc 100755 --- a/adm/tabs/AdminOrders.php +++ b/adm/tabs/AdminOrders.php @@ -1285,6 +1285,20 @@ class AdminOrders extends AdminTab } $html.=' '; + + switch($order->appli) { + default: + case 0: + $deviceHtml = '
'.$this->l('Commande faite via le site').'
'; + break; + case 1: + $deviceHtml = ''.$this->l('Commande faite via l\'appli').'
'; + break; + case 2: + $deviceHtml = ''.$this->l('Commande faite via le site mobile').'
'; + break; + } + $html.=''.$this->l('Commande faite via l\'appli').'
':''.$this->l('Commande faite via le site').'
').' + '.$deviceHtml.''.Tools::substr($order->payment, 0, 32).' '.($order->module ? '('.$order->module.')' : '').'
'.$this->l('Cart #').sprintf('%06d', $cart->id).'
'.$this->l('Recycled package').'