update receive delta column + responsive css
This commit is contained in:
parent
56bd527a8b
commit
90c81de872
4 changed files with 36 additions and 13 deletions
|
|
@ -16,10 +16,13 @@
|
|||
} else if (units == expected) {
|
||||
// equal value
|
||||
html = '<i class="icon-ok" style="color: green"></i>';
|
||||
} else if (units < expected) {
|
||||
html = '<span style="color: red">- '+(expected-units)+'</span>';
|
||||
} else /*if (units> expected)*/ {
|
||||
html = '<span style="color: green">+ '+(units-expected)+'</span>';
|
||||
} else {
|
||||
if (units < expected) {
|
||||
html = '<span style="color: red">- '+(expected-units)+'</span>';
|
||||
} else /*if (units> expected)*/ {
|
||||
html = '<span style="color: green">+ '+(units-expected)+'</span>';
|
||||
}
|
||||
html += '#{j pkg_helper_icon}';
|
||||
}
|
||||
|
||||
$(input).closest('tr').find('.units_delta').html(html);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue