// AdminSupplierOrdersController : litle fix on content displayed when using the 'callback' in fieldsdisplay

This commit is contained in:
bMancone
2011-11-08 14:13:17 +00:00
parent 3d13b2280b
commit 79abbc000f
@@ -1601,7 +1601,7 @@ class AdminSupplierOrdersControllerCore extends AdminController
if (!Validate::isLoadedObject($supplier_order_state))
return;
$content = '';
$content = '<span style="width:20px; margin-right:5px;">';
if ($supplier_order_state->editable == false) // @TODO Decide what states are allowed
$content .= '<a href="#"><img src="../img/admin/tab-invoice.gif" alt="invoice" /></a>';
else