From 55b2df1c731e8e2f7165d1309fc2540301009722 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 30 Dec 2009 15:24:33 +0000 Subject: [PATCH] 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 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 | 2 ++ Open-ILS/xul/staff_client/server/patron/summary.js | 4 ++-- Open-ILS/xul/staff_client/server/skin/patron_display.css | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/bill2.js b/Open-ILS/xul/staff_client/server/patron/bill2.js index f5e36e3078..77659e4f1c 100644 --- a/Open-ILS/xul/staff_client/server/patron/bill2.js +++ b/Open-ILS/xul/staff_client/server/patron/bill2.js @@ -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); } diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index 240debc055..0bd464df35 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -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); diff --git a/Open-ILS/xul/staff_client/server/skin/patron_display.css b/Open-ILS/xul/staff_client/server/skin/patron_display.css index 30d1425a9a..1555907cb3 100755 --- a/Open-ILS/xul/staff_client/server/skin/patron_display.css +++ b/Open-ILS/xul/staff_client/server/skin/patron_display.css @@ -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; } -- 2.11.0