[*] BO : added new button on manufacturers view

This commit is contained in:
vAugagneur
2013-04-22 14:56:59 +02:00
parent d8b39d060d
commit 3d6d97af5f
2 changed files with 7 additions and 2 deletions
@@ -569,7 +569,12 @@ class AdminManufacturersControllerCore extends AdminController
{
if (!($manufacturer = $this->loadObject()))
return;
$this->toolbar_btn['new'] = array(
'href' => $this->context->link->getAdminLink('AdminManufacturers').'&addaddress=1&id_manufacturer='.(int)$manufacturer->id,
'desc' => $this->l('Add address')
);
$addresses = $manufacturer->getAddresses($this->context->language->id);
$products = $manufacturer->getProductsLite($this->context->language->id);