From: pines Date: Mon, 22 Jan 2007 21:26:28 +0000 (+0000) Subject: expiration date in patron summary X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=781678f2b611aad771097bbf9e9c6bed9e25a047;p=Evergreen.git expiration date in patron summary git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6803 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index e092127e27..3329499b65 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -292,6 +292,20 @@ patron.summary.prototype = { }; } ], + 'patron_date_of_exp' : [ + ['render'], + function(e) { + return function() { + e.setAttribute('value', + 'Expires on ' + ( + obj.patron.expire_date() ? + obj.patron.expire_date().substr(0,10) : + '' + ) + ); + }; + } + ], 'patron_date_of_birth' : [ ['render'], function(e) { diff --git a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul index 1daedf4009..2e0d23e8c8 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul @@ -48,6 +48,9 @@ + + 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 9413c4a3c3..beac0fa824 100755 --- a/Open-ILS/xul/staff_client/server/skin/patron_display.css +++ b/Open-ILS/xul/staff_client/server/skin/patron_display.css @@ -61,6 +61,7 @@ deck#patron_deck { border-left: solid thin black; } .PATRON_EXPIRED .patronNameLarge { background-color: #666666; color: white;} .PATRON_EXPIRED label.expired_indicator { display: inline; color: black; } +.PATRON_EXPIRED label.expire_date { background-color: #666666; color: white } .PATRON_BARRED .patronNameLarge { background-color: #CC3300; color: white; } .PATRON_BARRED label.barred_indicator { display: inline; color: #CC3300; } @@ -69,3 +70,7 @@ deck#patron_deck { border-left: solid thin black; } .PATRON_NET_ACCESS_2 .net_access { color: green; } /* Unfiltered */ .PATRON_NET_ACCESS_3 .net_access { color: #CC3300; } /* No Access */ +.bad_barcode { color: red; } +.line_item { font-family: monospace; } +.checking_barcode { color: orange; text-decoration: blink; } +