// Supply Orders: the supply order form is now generated (PDF)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10374 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1765,8 +1765,8 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
return;
|
||||
|
||||
$content = '<span style="width:20px; margin-right:5px;">';
|
||||
if ($supply_order_state->editable == false) // @TODO Decide what states are allowed
|
||||
$content .= '<a href="#"><img src="../img/admin/pdf.gif" alt="invoice" /></a>';
|
||||
if ($supply_order_state->editable == false)
|
||||
$content .= '<a href="pdf.php?id_supply_order='.(int)$supply_order->id.'"><img src="../img/admin/pdf.gif" alt="invoice" /></a>';
|
||||
else
|
||||
$content .= '-';
|
||||
$content .= '</span>';
|
||||
|
||||
Reference in New Issue
Block a user