// removed some buttons in the view of the supply order

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11865 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-12-28 16:10:09 +00:00
parent 97037f5939
commit d3b850558f
@@ -1732,11 +1732,17 @@ class AdminSupplyOrdersControllerCore extends AdminController
$item['id_currency'] = $currency->id;
}
// unsets some buttons
unset($this->toolbar_btn['export-csv-orders']);
unset($this->toolbar_btn['export-csv-details']);
unset($this->toolbar_btn['new']);
// renders list
$helper = new HelperList();
$this->setHelperDisplay($helper);
$helper->actions = array();
$helper->show_toolbar = false;
$helper->toolbar_btn = $this->toolbar_btn;
$content = $helper->generateList($this->_list, $this->fieldsDisplay);