[open-ils-commits] r15617 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Feb 22 15:35:52 EST 2010
Author: phasefx
Date: 2010-02-22 15:35:47 -0500 (Mon, 22 Feb 2010)
New Revision: 15617
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
Log:
Trigger patron 'stop sign' page for the ALERT_NOTE penalty
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2010-02-22 20:20:23 UTC (rev 15616)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2010-02-22 20:35:47 UTC (rev 15617)
@@ -911,7 +911,7 @@
}
var penalties = obj.patron.standing_penalties();
for (var i = 0; i < penalties.length; i++) {
- if (penalties[i].standing_penalty().block_list()) {
+ if (penalties[i].standing_penalty().block_list() || penalties[i].standing_penalty().id() == 20 /* ALERT_NOTE */) {
msg += obj.OpenILS.data.hash.aou[ penalties[i].org_unit() ].shortname() + ' : ' + penalties[i].standing_penalty().label() + '<br/>';
}
}
More information about the open-ils-commits
mailing list