[open-ils-commits] r15246 - in trunk/Open-ILS/xul/staff_client/server: patron skin (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Dec 30 10:24:36 EST 2009


Author: phasefx
Date: 2009-12-30 10:24:33 -0500 (Wed, 30 Dec 2009)
New Revision: 15246

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
   trunk/Open-ILS/xul/staff_client/server/patron/summary.js
   trunk/Open-ILS/xul/staff_client/server/skin/patron_display.css
Log:
some CSS and styling tweaks for some information under the navigation buttons in the patron display, and a cosmetic bug fix in the billing interface for patrons with no bills

Modified: trunk/Open-ILS/xul/staff_client/server/patron/bill2.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/bill2.js	2009-12-30 14:52:55 UTC (rev 15245)
+++ trunk/Open-ILS/xul/staff_client/server/patron/bill2.js	2009-12-30 15:24:33 UTC (rev 15246)
@@ -61,6 +61,8 @@
 
         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); }

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-12-30 14:52:55 UTC (rev 15245)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-12-30 15:24:33 UTC (rev 15246)
@@ -364,8 +364,8 @@
                                             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);

Modified: trunk/Open-ILS/xul/staff_client/server/skin/patron_display.css
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/skin/patron_display.css	2009-12-30 14:52:55 UTC (rev 15245)
+++ trunk/Open-ILS/xul/staff_client/server/skin/patron_display.css	2009-12-30 15:24:33 UTC (rev 15246)
@@ -30,6 +30,7 @@
 /* .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 @@
 /* .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; }



More information about the open-ils-commits mailing list