// You shall not DIE!

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13448 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-02-20 09:14:01 +00:00
parent cd20b82227
commit 2c7720ab08
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1120,7 +1120,7 @@ class OrderCore extends ObjectModel
$order = new Order($id_order);
$orderState = $order->getCurrentOrderState();
if (!Validate::isLoadedObject($orderState) || !Validate::isLoadedObject($order))
throw new PrestaShopException(sprintf('unable to load order id %s and/or its state', $id_order));
return '';
echo '<span style="width:20px; margin-right:5px;">';
if (($orderState->invoice && $order->invoice_number) && (int)($tr['product_number']))
echo '<a target="_blank" href="pdf.php?id_order='.(int)$order->id.'&pdf"><img src="../img/admin/tab-invoice.gif" alt="invoice" /></a>';