// Fixed #PSTEST-1076

This commit is contained in:
bMancone
2012-03-22 14:26:35 +00:00
parent 547be55e41
commit 36d0c6fd3f
2 changed files with 8 additions and 5 deletions
@@ -137,12 +137,15 @@ class AdminWarehousesControllerCore extends AdminController
$employees_array = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($query);
// sets the title of the toolbar
$this->toolbar_title = $this->l('Stock: Warehouse management');
if (Tools::isSubmit('add'.$this->table))
$this->toolbar_title = $this->l('Stock: create warehouse');
else
$this->toolbar_title = $this->l('Stock: warehouse management');
// sets the fields of the form
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Warehouse management'),
'title' => $this->l('Warehouse informations'),
'image' => '../img/admin/edit.gif'
),
'input' => array(