Supply Orders: updates rights on receipt update
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10163 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
58fbf5f9e8
commit
b407c8f737
1 file changed
+1
-1
@@ -1078,7 +1078,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
// Checks access
|
||||
if (Tools::isSubmit('submitAddsupply_order') && !($this->tabAccess['add'] === '1'))
|
||||
$this->_errors[] = Tools::displayError($this->l('You do not have the required permission to add a supply order.'));
|
||||
if (Tools::isSubmit('submitUpdateReceipt') && !($this->tabAccess['edit'] === '1'))
|
||||
if (Tools::isSubmit('submitBulkUpdatesupply_order_detail') && !($this->tabAccess['edit'] === '1'))
|
||||
$this->_errors[] = Tools::displayError($this->l('You do not have the required permission to edit an order.'));
|
||||
// Global checks when add / update a supply order
|
||||
if (Tools::isSubmit('submitAddsupply_order'))
|
||||
|
||||
Reference in new issue
Block a user