Changeset 9483
- Timestamp:
- 04/29/08 09:49:47 (3 weeks ago)
- Location:
- trunk/Open-ILS/xul/staff_client
- Files:
-
- 9 modified
-
chrome/content/util/browser.js (modified) (2 diffs)
-
chrome/content/util/deck.js (modified) (2 diffs)
-
chrome/content/util/error.js (modified) (1 diff)
-
chrome/content/util/list.js (modified) (1 diff)
-
chrome/content/util/network.js (modified) (3 diffs)
-
chrome/content/util/print.js (modified) (1 diff)
-
server/main/ws_info.xul (modified) (3 diffs)
-
server/patron/ue_config.js (modified) (3 diffs)
-
server/patron/util.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
r5874 r9483 73 73 } 74 74 } 75 ] ,75 ] 76 76 } 77 77 } … … 259 259 this.error.sdump('D_ERROR','util.browser.buildProgressListener: ' + E + '\n'); 260 260 } 261 } ,261 } 262 262 } 263 263 -
trunk/Open-ILS/xul/staff_client/chrome/content/util/deck.js
r6277 r9483 165 165 'alt_print' : false, 166 166 'browser_id' : 'frame_'+obj.id_incr, 167 'passthru_content_params' : content_params ,167 'passthru_content_params' : content_params 168 168 } 169 169 ); … … 181 181 }, 182 182 183 'id_incr' : 0 ,183 'id_incr' : 0 184 184 } 185 185 -
trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
r9259 r9483 510 510 } 511 511 return r; 512 } ,512 } 513 513 } 514 514 -
trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js
r9045 r9483 1295 1295 obj.error.standard_unexpected_error_alert('pre sorting', E); 1296 1296 } 1297 } ,1297 } 1298 1298 1299 1299 } -
trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
r9026 r9483 252 252 'login_type' : 'staff', 253 253 'desc_brief' : text ? 'Session Expired' : 'Operator Change', 254 'desc_full' : text ? 'Please enter the credentials for a new login session.' : 'Please enter the credentials for the new login session. Note that the previous session is still active.' ,254 'desc_full' : text ? 'Please enter the credentials for a new login session.' : 'Please enter the credentials for the new login session. Note that the previous session is still active.' 255 255 //'simple_auth' : (new Date()).toString(), 256 256 } … … 316 316 'login_type' : 'temp', 317 317 'desc_brief' : 'Permission Denied: ' + robj.ilsperm, 318 'desc_full' : 'Another staff member with the above permission may authorize this specific action. Please notify your library administrator if you need this permission. If you feel you have received this exception in error, please inform your friendly Evergreen developers or helpdesk staff of the above permission and this debug information: ' + name ,318 'desc_full' : 'Another staff member with the above permission may authorize this specific action. Please notify your library administrator if you need this permission. If you feel you have received this exception in error, please inform your friendly Evergreen developers or helpdesk staff of the above permission and this debug information: ' + name 319 319 //'simple_auth' : (new Date()).toString(), 320 320 } … … 400 400 throw(E); 401 401 } 402 }, 403 404 402 } 405 403 } 406 404 -
trunk/Open-ILS/xul/staff_client/chrome/content/util/print.js
r8643 r9483 437 437 this.error.standard_unexpected_error_alert("save_settings()",E); 438 438 } 439 } ,439 } 440 440 } 441 441 -
trunk/Open-ILS/xul/staff_client/server/main/ws_info.xul
r8923 r9483 132 132 obj.id(), 133 133 ( !get_bool( g.aout_hash[ obj.ou_type() ].can_have_users() ) ), 134 ( g.aout_hash[ obj.ou_type() ].depth() ) ,134 ( g.aout_hash[ obj.ou_type() ].depth() ) 135 135 ]; 136 136 } … … 151 151 'title' : document.getElementById('commonStrings').getString('staff.main.gen_offline_widgets.registration.override'), 152 152 'overridable_events' : [ 153 1703 /* WORKSTATION_NAME_EXISTS */ ,154 ] ,153 1703 /* WORKSTATION_NAME_EXISTS */ 154 ] 155 155 } 156 156 ); … … 167 167 'name' : g.my_libs_shortname_hash[ g.ml.value ] + '-' + g.tb.value, 168 168 'owning_lib' : g.ml.value, 169 'lib_shortname' : g.my_libs_shortname_hash[ g.ml.value ] ,169 'lib_shortname' : g.my_libs_shortname_hash[ g.ml.value ] 170 170 }; 171 171 xulG.file.get('ws_info'); -
trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js
r9472 r9483 430 430 widget : { 431 431 id : 'ue_group_lead', 432 type : 'checkbox' ,432 type : 'checkbox' 433 433 } 434 434 }, … … 440 440 id : 'ue_claims_returned', 441 441 type : 'input', 442 regex : numRegex ,442 regex : numRegex 443 443 } 444 444 }, … … 449 449 widget : { 450 450 id : 'ue_alert_message', 451 type : 'input' ,451 type : 'input' 452 452 } 453 453 } -
trunk/Open-ILS/xul/staff_client/server/patron/util.js
r9038 r9483 20 20 { 21 21 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : commonStrings.getString('staff.mbts_id_label'), 'flex' : 1, 22 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.id(); } ,22 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.id(); } 23 23 }, 24 24 { 25 25 'persist' : 'hidden width ordinal', 'id' : 'usr', 'label' : commonStrings.getString('staff.mbts_usr_label'), 'flex' : 1, 26 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.usr() ? "Id = " + my.mbts.usr() : ""; } ,26 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.usr() ? "Id = " + my.mbts.usr() : ""; } 27 27 }, 28 28 { 29 29 'persist' : 'hidden width ordinal', 'id' : 'xact_type', 'label' : commonStrings.getString('staff.mbts_xact_type_label'), 'flex' : 1, 30 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_type(); } ,30 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_type(); } 31 31 }, 32 32 { 33 33 'persist' : 'hidden width ordinal', 'id' : 'balance_owed', 'label' : commonStrings.getString('staff.mbts_balance_owed_label'), 'flex' : 1, 34 34 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.money.sanitize( my.mbts.balance_owed() ); }, 35 'sort_type' : 'money' ,35 'sort_type' : 'money' 36 36 }, 37 37 { 38 38 'persist' : 'hidden width ordinal', 'id' : 'total_owed', 'label' : commonStrings.getString('staff.mbts_total_owed_label'), 'flex' : 1, 39 39 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.money.sanitize( my.mbts.total_owed() ); }, 40 'sort_type' : 'money' ,40 'sort_type' : 'money' 41 41 }, 42 42 { 43 43 'persist' : 'hidden width ordinal', 'id' : 'total_paid', 'label' : commonStrings.getString('staff.mbts_total_paid_label'), 'flex' : 1, 44 44 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.money.sanitize( my.mbts.total_paid() ); }, 45 'sort_type' : 'money' ,45 'sort_type' : 'money' 46 46 }, 47 47 { 48 48 'persist' : 'hidden width ordinal', 'id' : 'last_billing_note', 'label' : commonStrings.getString('staff.mbts_last_billing_note_label'), 'flex' : 2, 49 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_billing_note(); } ,49 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_billing_note(); } 50 50 }, 51 51 { 52 52 'persist' : 'hidden width ordinal', 'id' : 'last_billing_type', 'label' : commonStrings.getString('staff.mbts_last_billing_type_label'), 'flex' : 1, 53 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_billing_type(); } ,53 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_billing_type(); } 54 54 }, 55 55 { 56 56 'persist' : 'hidden width ordinal', 'id' : 'last_billing_ts', 'label' : commonStrings.getString('staff.mbts_last_billing_timestamp_label'), 'flex' : 1, 57 'primary' : false, 'hidden' : true, 'render' : function(my) { return util.date.formatted_date( my.mbts.last_billing_ts(), "" ); } ,57 'primary' : false, 'hidden' : true, 'render' : function(my) { return util.date.formatted_date( my.mbts.last_billing_ts(), "" ); } 58 58 }, 59 59 { 60 60 'persist' : 'hidden width ordinal', 'id' : 'last_payment_note', 'label' : commonStrings.getString('staff.mbts_last_payment_note_label'), 'flex' : 2, 61 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_payment_note(); } ,61 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_payment_note(); } 62 62 }, 63 63 { 64 64 'persist' : 'hidden width ordinal', 'id' : 'last_payment_type', 'label' : commonStrings.getString('staff.mbts_last_payment_type_label'), 'flex' : 1, 65 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_payment_type(); } ,65 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mbts.last_payment_type(); } 66 66 }, 67 67 { 68 68 'persist' : 'hidden width ordinal', 'id' : 'last_payment_ts', 'label' : commonStrings.getString('staff.mbts_last_payment_timestamp_label'), 'flex' : 1, 69 'primary' : false, 'hidden' : true, 'render' : function(my) { return util.date.formatted_date( my.mbts.last_payment_ts(), "" ); } ,69 'primary' : false, 'hidden' : true, 'render' : function(my) { return util.date.formatted_date( my.mbts.last_payment_ts(), "" ); } 70 70 }, 71 71 { 72 72 'persist' : 'hidden width ordinal', 'id' : 'xact_start', 'label' : commonStrings.getString('staff.mbts_xact_start_label'), 'flex' : 1, 73 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_start() ? my.mbts.xact_start().toString().substr(0,10) : ""; } ,73 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_start() ? my.mbts.xact_start().toString().substr(0,10) : ""; } 74 74 }, 75 75 { 76 76 'persist' : 'hidden width ordinal', 'id' : 'xact_finish', 'label' : commonStrings.getString('staff.mbts_xact_finish_label'), 'flex' : 1, 77 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_finish() ? my.mbts.xact_finish().toString().substr(0,10) : ""; } ,77 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mbts.xact_finish() ? my.mbts.xact_finish().toString().substr(0,10) : ""; } 78 78 }, 79 79 ]; … … 118 118 { 119 119 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : commonStrings.getString('staff.mb_id_label'), 'flex' : 1, 120 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.id(); } ,120 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.id(); } 121 121 }, 122 122 { 123 123 'persist' : 'hidden width ordinal', 'id' : 'voided', 'label' : commonStrings.getString('staff.mb_voided_label'), 'flex' : 1, 124 'primary' : false, 'hidden' : false, 'render' : function(my) { return get_bool( my.mb.voided() ) ? "Yes" : "No"; } ,124 'primary' : false, 'hidden' : false, 'render' : function(my) { return get_bool( my.mb.voided() ) ? "Yes" : "No"; } 125 125 }, 126 126 { 127 127 'persist' : 'hidden width ordinal', 'id' : 'voider', 'label' : commonStrings.getString('staff.mb_voider_label'), 'flex' : 1, 128 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.voider() ? "Id = " + my.mb.voider() : ""; } ,128 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.voider() ? "Id = " + my.mb.voider() : ""; } 129 129 }, 130 130 { 131 131 'persist' : 'hidden width ordinal', 'id' : 'void_time', 'label' : commonStrings.getString('staff.mb_void_time_label'), 'flex' : 1, 132 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.void_time(); } ,132 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.void_time(); } 133 133 }, 134 134 { 135 135 'persist' : 'hidden width ordinal', 'id' : 'amount', 'label' : commonStrings.getString('staff.mb_amount_label'), 'flex' : 1, 136 136 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.money.sanitize( my.mb.amount() ); }, 137 'sort_type' : 'money' ,137 'sort_type' : 'money' 138 138 }, 139 139 { 140 140 'persist' : 'hidden width ordinal', 'id' : 'billing_type', 'label' : commonStrings.getString('staff.mb_billing_type_label'), 'flex' : 1, 141 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mb.billing_type(); } ,141 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mb.billing_type(); } 142 142 }, 143 143 { 144 144 'persist' : 'hidden width ordinal', 'id' : 'billing_ts', 'label' : commonStrings.getString('staff.mb_billing_ts_label'), 'flex' : 1, 145 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.date.formatted_date( my.mb.billing_ts(), "" ); } ,145 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.date.formatted_date( my.mb.billing_ts(), "" ); } 146 146 }, 147 147 { 148 148 'persist' : 'hidden width ordinal', 'id' : 'note', 'label' : commonStrings.getString('staff.mb_note_label'), 'flex' : 2, 149 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mb.note(); } ,149 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mb.note(); } 150 150 }, 151 151 { 152 152 'persist' : 'hidden width ordinal', 'id' : 'xact', 'label' : commonStrings.getString('staff.mb_xact_label'), 'flex' : 1, 153 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.xact(); } ,153 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mb.xact(); } 154 154 }, 155 155 ]; … … 195 195 { 196 196 'persist' : 'hidden width ordinal', 'id' : 'mp_id', 'label' : commonStrings.getString('staff.mp_id_label'), 'flex' : 1, 197 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mp.id(); } ,197 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mp.id(); } 198 198 }, 199 199 { 200 200 'persist' : 'hidden width ordinal', 'id' : 'mp_amount', 'label' : commonStrings.getString('staff.mp_amount_label'), 'flex' : 1, 201 201 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.money.sanitize( my.mp.amount() ); }, 202 'sort_type' : 'money' ,202 'sort_type' : 'money' 203 203 }, 204 204 { 205 205 'persist' : 'hidden width ordinal', 'id' : 'mp_payment_type', 'label' : commonStrings.getString('staff.mp_payment_type_label'), 'flex' : 1, 206 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.payment_type(); } ,206 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.payment_type(); } 207 207 }, 208 208 { 209 209 'persist' : 'hidden width ordinal', 'id' : 'mp_payment_ts', 'label' : commonStrings.getString('staff.mp_payment_timestamp_label'), 'flex' : 1, 210 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.date.formatted_date( my.mp.payment_ts(), "" ); } ,210 'primary' : false, 'hidden' : false, 'render' : function(my) { return util.date.formatted_date( my.mp.payment_ts(), "" ); } 211 211 }, 212 212 { 213 213 'persist' : 'hidden width ordinal', 'id' : 'mp_note', 'label' : commonStrings.getString('staff.mp_note_label'), 'flex' : 2, 214 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.note(); } ,214 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.note(); } 215 215 }, 216 216 { 217 217 'persist' : 'hidden width ordinal', 'id' : 'mp_ws', 'label' : commonStrings.getString('staff.mp_cash_drawer_label'), 'flex' : 1, 218 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.cash_drawer().name(); } ,218 'primary' : false, 'hidden' : false, 'render' : function(my) { return my.mp.cash_drawer().name(); } 219 219 }, 220 220 { 221 221 'persist' : 'hidden width ordinal', 'id' : 'mp_staff', 'label' : commonStrings.getString('staff.mp_accepting_usr_label'), 'flex' : 1, 222 'primary' : false, 'hidden' : false, 'render' : function(my) { var s = my.mp.accepting_usr(); if (s && typeof s != "object") s = patron.util.retrieve_fleshed_au_via_id(ses(),s); return s.family_name() + " (" + s.card().barcode() + ") @ " + data.hash.aou[ s.home_ou() ].shortname(); } ,222 'primary' : false, 'hidden' : false, 'render' : function(my) { var s = my.mp.accepting_usr(); if (s && typeof s != "object") s = patron.util.retrieve_fleshed_au_via_id(ses(),s); return s.family_name() + " (" + s.card().barcode() + ") @ " + data.hash.aou[ s.home_ou() ].shortname(); } 223 223 }, 224 224 { 225 225 'persist' : 'hidden width ordinal', 'id' : 'mp_xact', 'label' : commonStrings.getString('staff.mp_xact_label'), 'flex' : 1, 226 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mp.xact(); } ,226 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.mp.xact(); } 227 227 }, 228 228 ]; … … 267 267 { 268 268 'persist' : 'hidden width ordinal', 'id' : 'barcode', 'label' : commonStrings.getString('staff.card_barcode_label'), 'flex' : 1, 269 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.card().barcode(); } ,269 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.card().barcode(); } 270 270 }, 271 271 { 272 272 'persist' : 'hidden width ordinal', 'id' : 'usrname', 'label' : commonStrings.getString('staff.au_usrname_label'), 'flex' : 1, 273 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.usrname(); } ,273 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.usrname(); } 274 274 }, 275 275 { 276 276 'persist' : 'hidden width ordinal', 'id' : 'profile', 'label' : commonStrings.getString('staff.au_profile_label'), 'flex' : 1, 277 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.pgt[ my.au.profile() ].name(); } ,277 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.pgt[ my.au.profile() ].name(); } 278 278 }, 279 279 { 280 280 'persist' : 'hidden width ordinal', 'id' : 'active', 'label' : commonStrings.getString('staff.au_active_label'), 'flex' : 1, 281 'primary' : false, 'hidden' : true, 'render' : function(my) { return get_bool( my.au.active() ) ? "Yes" : "No"; } ,281 'primary' : false, 'hidden' : true, 'render' : function(my) { return get_bool( my.au.active() ) ? "Yes" : "No"; } 282 282 }, 283 283 { 284 284 'persist' : 'hidden width ordinal', 'id' : 'barred', 'label' : commonStrings.getString('staff.au_barred_label'), 'flex' : 1, 285 'primary' : false, 'hidden' : true, 'render' : function(my) { return get_bool( my.au.barred() ) ? "Yes" : "No"; } ,285 'primary' : false, 'hidden' : true, 'render' : function(my) { return get_bool( my.au.barred() ) ? "Yes" : "No"; } 286 286 }, 287 287 { 288 288 'persist' : 'hidden width ordinal', 'id' : 'id', 'label' : document.getElementById('commonStrings').getString('staff.au_id_label'), 'flex' : 1, 289 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.id(); } ,289 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.id(); } 290 290 }, 291 291 { 292 292 'persist' : 'hidden width ordinal', 'id' : 'prefix', 'label' : document.getElementById('commonStrings').getString('staff.au_name_prefix_label'), 'flex' : 1, 293 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.prefix(); } ,293 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.prefix(); } 294 294 }, 295 295 { 296 296 'persist' : 'hidden width ordinal', 'id' : 'family_name', 'label' : document.getElementById('commonStrings').getString('staff.au_family_name_label'), 'flex' : 1, 297 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.family_name(); } ,297 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.family_name(); } 298 298 }, 299 299 { 300 300 'persist' : 'hidden width ordinal', 'id' : 'first_given_name', 'label' : document.getElementById('commonStrings').getString('staff.au_first_given_name_label'), 'flex' : 1, 301 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.first_given_name(); } ,301 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.first_given_name(); } 302 302 }, 303 303 { 304 304 'persist' : 'hidden width ordinal', 'id' : 'second_given_name', 'label' : document.getElementById('commonStrings').getString('staff.au_second_given_name_label'), 'flex' : 1, 305 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.second_given_name(); } ,305 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.second_given_name(); } 306 306 }, 307 307 { 308 308 'persist' : 'hidden width ordinal', 'id' : 'suffix', 'label' : document.getElementById('commonStrings').getString('staff.au_name_suffix_label'), 'flex' : 1, 309 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.suffix(); } ,309 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.suffix(); } 310 310 }, 311 311 { 312 312 'persist' : 'hidden width ordinal', 'id' : 'alert_message', 'label' : commonStrings.getString('staff.au_alert_message_label'), 'flex' : 1, 313 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.alert_message(); } ,313 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.alert_message(); } 314 314 }, 315 315 { 316 316 'persist' : 'hidden width ordinal', 'id' : 'claims_returned_count', 'label' : commonStrings.getString('staff.au_claims_returned_count_label'), 'flex' : 1, 317 317 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.claims_returned_count(); }, 318 'sort_type' : 'number' ,318 'sort_type' : 'number' 319 319 }, 320 320 { 321 321 'persist' : 'hidden width ordinal', 'id' : 'create_date', 'label' : commonStrings.getString('staff.au_create_date_label'), 'flex' : 1, 322 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.create_date(); } ,322 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.create_date(); } 323 323 }, 324 324 { 325 325 'persist' : 'hidden width ordinal', 'id' : 'expire_date', 'label' : commonStrings.getString('staff.au_expire_date_label'), 'flex' : 1, 326 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.expire_date().substr(0,10); } ,326 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.expire_date().substr(0,10); } 327 327 }, 328 328 { 329 329 'persist' : 'hidden width ordinal', 'id' : 'home_ou', 'label' : commonStrings.getString('staff.au_home_library_label'), 'flex' : 1, 330 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.aou[ my.au.home_ou() ].shortname(); } ,330 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.aou[ my.au.home_ou() ].shortname(); } 331 331 }, 332 332 { 333 333 'persist' : 'hidden width ordinal', 'id' : 'home_ou_fullname', 'label' : commonStrings.getString('staff.au_home_library_fullname_label'), 'flex' : 1, 334 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.aou[ my.au.home_ou() ].name(); } ,334 'primary' : false, 'hidden' : true, 'render' : function(my) { return data.hash.aou[ my.au.home_ou() ].name(); } 335 335 }, 336 336 { 337 337 'persist' : 'hidden width ordinal', 'id' : 'credit_forward_balance', 'label' : commonStrings.getString('staff.au_credit_forward_balance_label'), 'flex' : 1, 338 338 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.credit_forward_balance(); }, 339 'sort_type' : 'money' ,339 'sort_type' : 'money' 340 340 }, 341 341 { 342 342 'persist' : 'hidden width ordinal', 'id' : 'day_phone', 'label' : commonStrings.getString('staff.au_day_phone_label'), 'flex' : 1, 343 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.day_phone(); } ,343 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.day_phone(); } 344 344 }, 345 345 { 346 346 'persist' : 'hidden width ordinal', 'id' : 'evening_phone', 'label' : commonStrings.getString('staff.au_evening_phone_label'), 'flex' : 1, 347 'primary' : false, 'hidden' : true, 'render' : function(my) { return my.au.evening_phone(); } ,347  
