@@ -, +, @@ the checkouts table yellow, if the return was not allowed, the row is highlighted in red. --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 3 +++ 2 files changed, 9 insertions(+) --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -289,6 +289,12 @@ tr.warn:nth-child(odd) td { background-color: #FF9090; } +tr.ok td, +tr.ok:nth-child(odd) td, +tr.ok:nth-child(even) td { + background-color: #FFFFCC; +} + tr.onissue td { background-color: #FFFFCC; } --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -65,8 +65,11 @@ $(document).ready(function() { content = ""; if ( data.returned ) { content = CIRCULATION_RETURNED; + $(id).parent().parent().addClass('ok'); + $('#date_due_' + data.itemnumber).html(_("Returned")); } else { content = CIRCULATION_NOT_RETURNED; + $(id).parent().parent().addClass('warn'); } $(id).replaceWith( content ); --