// AdminSupplierOrdersController : litle fix on content displayed when using the 'callback' in fieldsdisplay
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9959 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1601,7 +1601,8 @@ class AdminSupplierOrdersControllerCore extends AdminController
|
|||||||
if (!Validate::isLoadedObject($supplier_order_state))
|
if (!Validate::isLoadedObject($supplier_order_state))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ($supplier_order_state->editable == false && $supplier_order_state->delivery_note == true)
|
$content = '';
|
||||||
|
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>';
|
$content .= '<a href="#"><img src="../img/admin/tab-invoice.gif" alt="invoice" /></a>';
|
||||||
else
|
else
|
||||||
$content .= '-';
|
$content .= '-';
|
||||||
|
|||||||
Reference in New Issue
Block a user