[open-ils-commits] r9181 -
branches/rel_1_2/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 1 16:39:38 EDT 2008
Author: phasefx
Date: 2008-04-01 16:03:27 -0400 (Tue, 01 Apr 2008)
New Revision: 9181
Modified:
branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
Log:
columns for hold .frozen and .thaw_date
Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js 2008-04-01 16:24:16 UTC (rev 9180)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/circ/util.js 2008-04-01 20:03:27 UTC (rev 9181)
@@ -793,6 +793,36 @@
'persist' : 'hidden width ordinal', 'id' : 'fulfillment_time', 'label' : getString('staff.ahr_fulfillment_time_label'), 'flex' : 1,
'primary' : false, 'hidden' : true, 'render' : function(my) { return my.ahr.fulfillment_time(); },
},
+ {
+ 'persist' : 'hidden width ordinal',
+ 'id' : 'frozen',
+ 'label' : 'Active',
+ 'flex' : 0,
+ 'primary' : false,
+ 'hidden' : true,
+ 'render' : function(my) {
+ if (!get_bool( my.ahr.frozen() )) {
+ return 'Yes';
+ } else {
+ return 'No';
+ }
+ }
+ },
+ {
+ 'persist' : 'hidden width ordinal',
+ 'id' : 'thaw_date',
+ 'label' : 'Activation Date'
+ 'flex' : 0,
+ 'primary' : false,
+ 'hidden' : true,
+ 'render' : function(my) {
+ if (my.ahr.thaw_date() == null) {
+ return 'None';
+ } else {
+ return my.ahr.thaw_date().substr(0,10);
+ }
+ }
+ },
{
'persist' : 'hidden width ordinal', 'id' : 'holdable_formats', 'label' : getString('staff.ahr_holdable_formats_label'), 'flex' : 1,
'primary' : false, 'hidden' : true, 'render' : function(my) { return my.ahr.holdable_formats(); },
More information about the open-ils-commits
mailing list