From 673d3640af4454f52acbfdf464c2faadbb192e14 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 30 May 2006 14:21:36 +0000 Subject: [PATCH] patron summary git-svn-id: svn://svn.open-ils.org/ILS/trunk@4434 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../xul/staff_client/server/patron/summary.js | 19 +++--- .../staff_client/server/patron/summary.xul | 1 + .../server/patron/summary_overlay.xul | 65 +++++++++++-------- .../server/skin/patron_summary.css | 5 ++ 4 files changed, 52 insertions(+), 38 deletions(-) create mode 100755 Open-ILS/xul/staff_client/server/skin/patron_summary.css diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index 77af329d20..baa75312aa 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -127,20 +127,19 @@ patron.summary.prototype = { function(e) { return function() { e.setAttribute('value','...'); - var e2 = document.getElementById( - 'patron_overdue' - ); - if (e2) e2.setAttribute('value','...'); + var e2 = document.getElementById( 'patron_overdue' ); if (e2) e2.setAttribute('value','...'); + var e3 = document.getElementById( 'patron_claimed_returned' ); if (e3) e3.setAttribute('value','...'); + var e4 = document.getElementById( 'patron_long_overdue' ); if (e4) e4.setAttribute('value','...'); + var e5 = document.getElementById( 'patron_lost' ); if (e5) e5.setAttribute('value','...'); obj.network.simple_request( 'FM_CIRC_COUNT_RETRIEVE_VIA_USER', [ ses(), obj.patron.id() ], function(req) { - e.setAttribute('value', - req.getResultObject().total - ); - if (e2) e2.setAttribute('value', - req.getResultObject().overdue - ); + e.setAttribute('value', req.getResultObject().out ); + if (e2) e2.setAttribute('value', req.getResultObject().overdue ); + if (e3) e3.setAttribute('value', req.getResultObject().claims_returned ); + if (e4) e4.setAttribute('value', req.getResultObject().long_overdue ); + if (e5) e5.setAttribute('value', req.getResultObject().lost ); } ); }; diff --git a/Open-ILS/xul/staff_client/server/patron/summary.xul b/Open-ILS/xul/staff_client/server/patron/summary.xul index a46dca2092..8bdd27da0f 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.xul +++ b/Open-ILS/xul/staff_client/server/patron/summary.xul @@ -8,6 +8,7 @@ + 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 aebc4b40b8..49a8a83cde 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul +++ b/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul @@ -9,7 +9,7 @@ - + @@ -34,19 +34,14 @@ - + - - @@ -62,31 +57,45 @@ + + + - @@ -112,13 +121,13 @@ - - - - @@ -149,28 +158,28 @@ - - - - - diff --git a/Open-ILS/xul/staff_client/server/skin/patron_summary.css b/Open-ILS/xul/staff_client/server/skin/patron_summary.css new file mode 100755 index 0000000000..bfb05b337b --- /dev/null +++ b/Open-ILS/xul/staff_client/server/skin/patron_summary.css @@ -0,0 +1,5 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/TR/REC-html40"); + +* { font-size: large; } + -- 2.43.2