some CSS and styling tweaks for some information under the navigation buttons in...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Dec 2009 15:24:33 +0000 (15:24 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Dec 2009 15:24:33 +0000 (15:24 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15246 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/bill2.js
Open-ILS/xul/staff_client/server/patron/summary.js
Open-ILS/xul/staff_client/server/skin/patron_display.css

index f5e36e3..77659e4 100644 (file)
@@ -61,6 +61,8 @@ function my_init() {
 
         default_focus();
 
+        tally_all();
+
     } catch(E) {
         var err_msg = $("commonStrings").getFormattedString('common.exception', ['patron/bill2.xul', E]);
         try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
index 240debc..0bd464d 100644 (file)
@@ -364,8 +364,8 @@ patron.summary.prototype = {
                                             if (e4) util.widgets.set_text(e4, robj.long_overdue    );
                                             if (e5) util.widgets.set_text(e5, robj.lost    );
                                             if (under_btn) util.widgets.set_text(under_btn, 
-                                                String( robj.out + robj.overdue + robj.claims_returned + robj.long_overdue) 
-                                                ( robj.overdue > 0 ? '*' : '' )
+                                                String( robj.out + robj.overdue + robj.claims_returned + robj.long_overdue) 
+                                                /* + ( robj.overdue > 0 ? '*' : '' ) */
                                             );
                                         } catch(E) {
                                             alert(E);
index 30d1425..1555907 100755 (executable)
@@ -30,6 +30,7 @@ row#row_billing_zip { padding-bottom: 10px; }
 /* .PATRON_HAS_OVERDUES label.items_overdue.label { text-decoration: underline; } */
 .PATRON_HAS_OVERDUES label.items_overdue.value { }
 .PATRON_HAS_OVERDUES label.overdues_indicator { display: inline; color: #AA4400; }
+.PATRON_HAS_OVERDUES label#under_items { color: red; }
 
 .PATRON_EXCEEDS_CHECKOUT_COUNT .patronNameLarge { border: solid thick #C99DFF; padding: 10px; }
 .PATRON_EXCEEDS_CHECKOUT_COUNT label.items_out { color: purple; }
@@ -47,6 +48,7 @@ row#row_billing_zip { padding-bottom: 10px; }
 /* .PATRON_EXCEEDS_FINES label.bill.label { text-decoration: underline; } */
 .PATRON_EXCEEDS_FINES label.bill.value { }
 .PATRON_EXCEEDS_FINES label.max_bills_indicator { display: inline; color: purple; }
+.PATRON_EXCEEDS_FINES label#under_bills { color: red; }
 
 .PATRON_AGE_LT_18 .dob { color: purple; }
 .PATRON_AGE_LT_18 label.juvenile_indicator { display: inline; color: purple; }