style for checked out items in billing
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 30 Sep 2006 20:36:45 +0000 (20:36 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 30 Sep 2006 20:36:45 +0000 (20:36 +0000)
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
Open-ILS/xul/staff_client/server/patron/bills_overlay.xul

index 50e9c33..58fed9d 100644 (file)
@@ -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() ],
index 2f7caf1..b69c1ef 100644 (file)
@@ -15,6 +15,8 @@
                <label style="font-weight: bold;" value="Selected Balance:"/><label id="selected_balance"/>
                <label style="font-weight: bold;" value="Un-Selected:"/><label id="unselected_balance"/>
                <label style="font-weight: bold;" value="Voided:"/><label id="voided_balance"/>
+               <spacer flex="1"/>
+               <label id="circulating_hint" hidden="true" style="background: red; color: white" value="Red Items are still Checked Out"/>
        </hbox>
        <listbox id="bill_list" flex="1"/>
        <hbox>