diff --git a/admin-dev/themes/default/template/controllers/stock_cover/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/stock_cover/helpers/list/list_header.tpl index e91f33f10..8b4e132b3 100644 --- a/admin-dev/themes/default/template/controllers/stock_cover/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/stock_cover/helpers/list/list_header.tpl @@ -24,40 +24,43 @@ *} {extends file="helpers/list/list_header.tpl"} {block name=override_header} -
-
- - - {if count($stock_cover_periods) > 1} -
- -
- +
+

{l s='Filters'}

+
+ + + + {if count($stock_cover_periods) > 1} +
+ +
+ +
-
- {/if} - {if count($stock_cover_warehouses) > 0} -
- -
- + {/if} + {if count($stock_cover_warehouses) > 0} +
+ +
+ +
-
- {/if} -
- -
- + {/if} +
+ +
+ +
-
- -
+ +
+
{/block} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/stock_instant_state/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/stock_instant_state/helpers/list/list_header.tpl index b54181ee6..d86729b22 100644 --- a/admin-dev/themes/default/template/controllers/stock_instant_state/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/stock_instant_state/helpers/list/list_header.tpl @@ -24,22 +24,25 @@ *} {extends file="helpers/list/list_header.tpl"} {block name=override_header} -
-
- - - {if count($stock_instant_state_warehouses) > 0} -
- -
- +
+

{l s='Filters'}

+
+ + + + {if count($stock_instant_state_warehouses) > 0} +
+ +
+ +
-
- {/if} - -
+ {/if} + +
+ {/block} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/stock_mvt/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/stock_mvt/helpers/list/list_header.tpl index 4c2abf445..983160bb4 100644 --- a/admin-dev/themes/default/template/controllers/stock_mvt/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/stock_mvt/helpers/list/list_header.tpl @@ -25,21 +25,24 @@ {extends file="helpers/list/list_header.tpl"} {block name=override_header} {if count($list_warehouses) > 0} -
-
- - -
- -
- +
+

{l s='Filters'}

+
+ + + +
+ +
+ +
-
- - {/if} -
+ + {/if} +
+ {/block} diff --git a/admin-dev/themes/default/template/controllers/supply_orders/helpers/list/list_header.tpl b/admin-dev/themes/default/template/controllers/supply_orders/helpers/list/list_header.tpl index 1d0df261c..87af2c852 100644 --- a/admin-dev/themes/default/template/controllers/supply_orders/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/controllers/supply_orders/helpers/list/list_header.tpl @@ -25,28 +25,31 @@ {extends file="helpers/list/list_header.tpl"} {block name=override_header} {if isset($warehouses) && count($warehouses) > 0 && isset($filter_status)} -
-
- - -
- -
- +
+

{l s='Filters'}

+
+ + + +
+ +
+ +
-
-
-
- +
+
+ +
-
- -
+ +
+ {/if} {/block} \ No newline at end of file diff --git a/controllers/admin/AdminStockInstantStateController.php b/controllers/admin/AdminStockInstantStateController.php index 5dc0b6f8e..c0649f3e4 100644 --- a/controllers/admin/AdminStockInstantStateController.php +++ b/controllers/admin/AdminStockInstantStateController.php @@ -75,19 +75,22 @@ class AdminStockInstantStateControllerCore extends AdminController ), 'physical_quantity' => array( 'title' => $this->l('Physical quantity'), - 'width' => 80, + 'class' => 'fixed-width-xs', + 'align' => 'center', 'orderby' => true, 'search' => false ), 'usable_quantity' => array( 'title' => $this->l('Usable quantity'), - 'width' => 80, + 'class' => 'fixed-width-xs', + 'align' => 'center', 'orderby' => true, 'search' => false, ), 'real_quantity' => array( 'title' => $this->l('Real quantity'), - 'width' => 80, + 'class' => 'fixed-width-xs', + 'align' => 'center', 'orderby' => false, 'search' => false, 'hint' => $this->l('Physical quantity (usable) - Client orders + Supply Orders'), diff --git a/controllers/admin/AdminStockMvtController.php b/controllers/admin/AdminStockMvtController.php index e9fd5be3b..685016b41 100644 --- a/controllers/admin/AdminStockMvtController.php +++ b/controllers/admin/AdminStockMvtController.php @@ -67,7 +67,6 @@ class AdminStockMvtControllerCore extends AdminController ), 'sign' => array( 'title' => $this->l('Sign'), - 'width' => 100, 'align' => 'center', 'type' => 'select', 'filter_key' => 'a!sign', @@ -79,15 +78,16 @@ class AdminStockMvtControllerCore extends AdminController -1 => 'remove_stock.png', 1 => 'add_stock.png' ), + 'class' => 'fixed-width-xs' ), 'physical_quantity' => array( 'title' => $this->l('Quantity'), - 'filter_key' => 'a!physical_quantity' + 'align' => 'center', + 'filter_key' => 'a!physical_quantity', + 'class' => 'fixed-width-sm' ), 'price_te' => array( 'title' => $this->l('Price (tax excl.)'), - 'width' => 70, - 'align' => 'right', 'type' => 'price', 'currency' => true, 'filter_key' => 'a!price_te' @@ -102,7 +102,6 @@ class AdminStockMvtControllerCore extends AdminController ), 'date_add' => array( 'title' => $this->l('Date'), - 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add' ),