// #PSFV-94 : add product management on suppliers order + Submit button integrated to the toolbar on add/edit form view + adaptations after form and list helper update + bugs fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9864 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
e00763b927
commit
250546f245
8 files changed
+246
-171
No files matched your search
@@ -39,30 +39,29 @@ class AdminWarehousesControllerCore extends AdminController
|
||||
$this->fieldsDisplay = array(
|
||||
'reference' => array(
|
||||
'title' => $this->l('Reference'),
|
||||
'width' => 40,
|
||||
'width' => 150,
|
||||
),
|
||||
'name' => array(
|
||||
'title' => $this->l('Name'),
|
||||
'width' => 300,
|
||||
),
|
||||
'management_type' => array(
|
||||
'title' => $this->l('Managment type'),
|
||||
'width' => 40,
|
||||
'width' => 80,
|
||||
),
|
||||
'employee' => array(
|
||||
'title' => $this->l('Manager'),
|
||||
'width' => 150,
|
||||
'width' => 200,
|
||||
),
|
||||
'location' => array(
|
||||
'title' => $this->l('Location'),
|
||||
'width' => 150,
|
||||
'width' => 200,
|
||||
'orderby' => false,
|
||||
'filter' => false,
|
||||
'search' => false,
|
||||
),
|
||||
'contact' => array(
|
||||
'title' => $this->l('Phone Number'),
|
||||
'width' => 50,
|
||||
'width' => 200,
|
||||
'orderby' => false,
|
||||
'filter' => false,
|
||||
'search' => false,
|
||||
@@ -80,7 +79,7 @@ class AdminWarehousesControllerCore extends AdminController
|
||||
{
|
||||
// Checks access
|
||||
if (!($this->tabAccess['add'] === '1'))
|
||||
$this->no_add = true;
|
||||
unset($this->toolbar_btn['new']);
|
||||
|
||||
$this->list_no_link = true;
|
||||
$this->addRowAction('edit');
|
||||
|
||||
Reference in new issue
Block a user