From 45663231e2bf9864f1965642eb5c32ab2b511d78 Mon Sep 17 00:00:00 2001 From: pines Date: Sat, 30 Sep 2006 20:36:45 +0000 Subject: [PATCH] style for checked out items in billing git-svn-id: svn://svn.open-ils.org/ILS/trunk@6299 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/bills.js | 6 ++++++ Open-ILS/xul/staff_client/server/patron/bills_overlay.xul | 2 ++ 2 files changed, 8 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/patron/bills.js b/Open-ILS/xul/staff_client/server/patron/bills.js index 50e9c3309a..58fed9da15 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills.js +++ b/Open-ILS/xul/staff_client/server/patron/bills.js @@ -816,6 +816,12 @@ patron.bills.prototype = { xt_finish.setAttribute('value','Due: ' + r_circ.due_date().toString().substr(0,10) ); } */ + if (! r_circ.checkin_time()) { + xt_value.setAttribute('style','background: red; color: white'); + if (document.getElementById('circulating_hint')) { + document.getElementById('circulating_hint').hidden = false; + } + } obj.network.simple_request( 'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY', [ r_circ.target_copy() ], diff --git a/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul b/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul index 2f7caf1098..b69c1efd90 100644 --- a/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/bills_overlay.xul @@ -15,6 +15,8 @@