// Fixed #PSTEST-449
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12488 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1812,14 +1812,16 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
|
||||
$content = '<span style="width:20px; margin-right:5px;">';
|
||||
if ($supply_order_state->editable == false)
|
||||
$content .= '<a href="pdf.php?id_supply_order='.(int)$supply_order->id.'" title="Export as PDF"><img src="../img/admin/pdf.gif" alt="invoice" /></a>';
|
||||
$content .= '<a href="pdf.php?id_supply_order='.(int)$supply_order->id.'" title="Export as PDF"><img src="../img/admin/pdf.gif" alt="invoice" target="_blank"/></a>';
|
||||
else
|
||||
$content .= '-';
|
||||
$content .= '</span>';
|
||||
|
||||
$content .= '<span style="width:20px">';
|
||||
if ($supply_order_state->enclosed == true && $supply_order_state->receipt_state == true)
|
||||
$content .= '<a href="'.$this->context->link->getAdminLink('AdminSupplyOrders').'&id_supply_order='.(int)$supply_order->id.'&csv_order_details" title="Export as CSV"><img src="../img/admin/excel_file.png" alt="" /></a>';
|
||||
$content .= '<a href="'.$this->context->link->getAdminLink('AdminSupplyOrders').'&id_supply_order='.(int)$supply_order->id.'
|
||||
&csv_order_details" title="Export as CSV">
|
||||
<img src="../img/admin/excel_file.png" alt="" target="_blank"/></a>';
|
||||
else
|
||||
$content .= '-';
|
||||
$content .= '</span>';
|
||||
|
||||
Reference in New Issue
Block a user