// Advanced stock bootstrap design

This commit is contained in:
Jerome Nadaud
2013-09-27 12:24:44 +02:00
parent 48966f7916
commit 9e58e3edfd
14 changed files with 178 additions and 163 deletions
@@ -47,6 +47,7 @@ class AdminStockConfigurationControllerCore extends AdminController
'title' => $this->l('ID'),
'align' => 'center',
'search' => false,
'class' => 'fixed-width-xs'
),
'sign' => array(
'title' => $this->l('Sign'),
@@ -61,7 +62,8 @@ class AdminStockConfigurationControllerCore extends AdminController
-1 => 'remove_stock.png',
1 => 'add_stock.png'
),
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'name' => array(
'title' => $this->l('Name'),
@@ -438,8 +440,8 @@ class AdminStockConfigurationControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'width' => 170,
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'delivery_note' => array(
'title' => $this->l('Is there a delivery note available?'),
@@ -449,8 +451,8 @@ class AdminStockConfigurationControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'width' => 170,
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'pending_receipt' => array(
'title' => $this->l('Is there a pending receipt?'),
@@ -460,8 +462,8 @@ class AdminStockConfigurationControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'width' => 170,
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'receipt_state' => array(
'title' => $this->l('Delivery state?'),
@@ -471,8 +473,8 @@ class AdminStockConfigurationControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'width' => 170,
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
'enclosed' => array(
'title' => $this->l('Enclosed order state?'),
@@ -482,8 +484,8 @@ class AdminStockConfigurationControllerCore extends AdminController
'0' => 'disabled.gif'
),
'type' => 'bool',
'width' => 170,
'orderby' => false
'orderby' => false,
'class' => 'fixed-width-sm'
),
);
@@ -371,12 +371,14 @@ class AdminSupplyOrdersControllerCore extends AdminController
'short' => 'Export Orders',
'href' => $this->context->link->getAdminLink('AdminSupplyOrders').'&csv_orders&id_warehouse='.$this->getCurrentWarehouse(),
'desc' => $this->l('Export Orders (CSV)'),
'class' => 'process-icon-export'
);
$this->toolbar_btn['export-csv-details'] = array(
'short' => 'Export Orders Details',
'href' => $this->context->link->getAdminLink('AdminSupplyOrders').'&csv_orders_details&id_warehouse='.$this->getCurrentWarehouse(),
'desc' => $this->l('Export Orders Details (CSV)'),
'class' => 'process-icon-export'
);
unset($this->toolbar_btn['new']);
@@ -592,7 +594,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
$this->fields_form[]['form'] = array(
'legend' => array(
'title' => $this->l('Supply order status'),
'image' => '../img/admin/cms.gif'
'icon' => 'icon-pencil'
),
);
@@ -103,7 +103,7 @@ class AdminWebserviceControllerCore extends AdminController
$this->fields_form = array(
'legend' => array(
'title' => $this->l('Webservice Accounts:'),
'image' => '../img/admin/access.png'
'icon' => 'icon-lock'
),
'input' => array(
array(