diff --git a/adm/tabs/AdminInvoices.php b/adm/tabs/AdminInvoices.php index 7dd3d73f..0133b6a1 100755 --- a/adm/tabs/AdminInvoices.php +++ b/adm/tabs/AdminInvoices.php @@ -617,7 +617,6 @@ class AdminInvoices extends AdminTab $statuts = array(17, Configuration::get('PS_OS_PAYMENT')); $carrier = Tools::getValue('carrier') ? Tools::getValue('carrier'):'lp'; $orders = $sale->getOrdersFromSale($statuts, FALSE, TRUE, $carrier); - echo '
';var_dump($orders);echo '';die(); if(sizeof($orders)) { if(Tools::getValue('gift') == 1) { Tools::redirectAdmin('pdf.php?privatesalesAll&gift=1&id_sale='.(int) $sale->id.'&carrier='.$carrier.'&token='.$this->token); @@ -636,7 +635,6 @@ class AdminInvoices extends AdminTab $statuts = array(17, Configuration::get('PS_OS_PAYMENT')); $carrier = Tools::getValue('carrier') ? Tools::getValue('carrier'):'lp'; $orders = $sale->getOrdersFromSale($statuts, TRUE, FALSE, $carrier); - echo '
';var_dump($orders);echo '';die(); if(sizeof($orders)) { if(Tools::getValue('gift') == 1) { Tools::redirectAdmin('pdf.php?privatesales&gift=1&id_sale='.(int) $sale->id.(Tools::getValue('carrier')?'&carrier='.Tools::getValue('carrier'):'').'&token='.$this->token);