// #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

This commit is contained in:
dSevere
2011-11-03 17:54:55 +00:00
parent 23fd56583e
commit 40882af794
8 changed files with 246 additions and 171 deletions
@@ -44,34 +44,28 @@ class AdminStockCoverControllerCore extends AdminController
'reference' => array(
'title' => $this->l('Reference'),
'align' => 'center',
'width' => 100,
'widthColumn' => 150,
'width' => 200,
'filter_key' => 'a!reference'
),
'ean13' => array(
'title' => $this->l('EAN13'),
'align' => 'center',
'width' => 75,
'widthColumn' => 100,
'width' => 100,
'filter_key' => 'a!ean13'
),
'name' => array(
'title' => $this->l('Name'),
'width' => 350,
'widthColumn' => 'auto',
'filter_key' => 'b!name'
),
'coverage' => array(
'title' => $this->l('Average time left'),
'width' => 50,
'widthColumn' => 60,
'width' => 150,
'orderby' => false,
'search' => false
),
'stock' => array(
'title' => $this->l('Qty in stock'),
'width' => 50,
'widthColumn' => 60,
'width' => 80,
'orderby' => false,
'search' => false
),
@@ -141,6 +135,8 @@ class AdminStockCoverControllerCore extends AdminController
{
$this->addRowAction('details');
$this->toolbar_btn = array();
//no link on list rows
$this->list_no_link = true;