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

This commit is contained in:
bMancone committed 2011-12-28 16:10:09 +00:00
1 parent c24ddde577
commit 2f6ef9d02d
1 file changed
+6
@@ -1732,11 +1732,17 @@ class AdminSupplyOrdersControllerCore extends AdminController
$item['id_currency'] = $currency->id; $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 // renders list
$helper = new HelperList(); $helper = new HelperList();
$this->setHelperDisplay($helper); $this->setHelperDisplay($helper);
$helper->actions = array(); $helper->actions = array();
$helper->show_toolbar = false; $helper->show_toolbar = false;
$helper->toolbar_btn = $this->toolbar_btn;
$content = $helper->generateList($this->_list, $this->fieldsDisplay); $content = $helper->generateList($this->_list, $this->fieldsDisplay);