diff --git a/admin-dev/themes/default/admin.css b/admin-dev/themes/default/admin.css
index 3cf551047..1320884be 100644
--- a/admin-dev/themes/default/admin.css
+++ b/admin-dev/themes/default/admin.css
@@ -222,7 +222,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
.filter-module .button-filter { float:right;}
/*FILTER STOCK*/
-.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:25px;}
+.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:65px;}
.filter-stock #stock_cover {float:left; margin-right:30px;}
.filter-stock #stock_instant_state {float:left; margin-right:30px;}
.filter-stock #supply_orders {float:left; margin-right:30px;}
diff --git a/admin-dev/themes/template/helper/list/list_action_details.tpl b/admin-dev/themes/template/helper/list/list_action_details.tpl
index 0160a654e..195d956c3 100644
--- a/admin-dev/themes/template/helper/list/list_action_details.tpl
+++ b/admin-dev/themes/template/helper/list/list_action_details.tpl
@@ -55,6 +55,10 @@ $(document).ready(function() {
.attr('colspan', $('#details_{$id}').parent().parent().find('td').length)));
$.each(data.data, function(it, row)
{
+ var bg_color = ''; // Color
+ if (row.color)
+ bg_color = 'style="background:' + row.color +';"';
+
var content = $('
');
content.append($(' | '));
var first = true;
@@ -69,9 +73,9 @@ $(document).ready(function() {
if (typeof(row[it]) == 'undefined')
{
if (first || count == 0)
- content.append($(' | '));
+ content.append($(' | '));
else
- content.append($(' | '));
+ content.append($(' | '));
}
else
{
@@ -79,12 +83,12 @@ $(document).ready(function() {
if (first)
{
first = false;
- content.append($(''+row[it]+' | '));
+ content.append($(''+row[it]+' | '));
}
else if (count == 0)
- content.append($(''+row[it]+' | '));
+ content.append($(''+row[it]+' | '));
else
- content.append($(''+row[it]+' | '));
+ content.append($(''+row[it]+' | '));
}
});
content.append($(' | '));
diff --git a/admin-dev/themes/template/stock_cover/list_header.tpl b/admin-dev/themes/template/stock_cover/list_header.tpl
index 0d4aa159c..c90286828 100644
--- a/admin-dev/themes/template/stock_cover/list_header.tpl
+++ b/admin-dev/themes/template/stock_cover/list_header.tpl
@@ -30,20 +30,31 @@
{if count($stock_cover_periods) > 1}
-
-