Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Typo in row id value
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Need to use obj.patron.last_update_date not obj.patron.update_date
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
staff.patron.summary.retrieve.no_barcode=summary: No barcode or ID
staff.patron.summary.patron_net_access=Internet
staff.patron.summary.expires_on=Expires on
+staff.patron.summary.updated_on=Last updated on
staff.patron.summary.standing_penalty.remove=Remove
staff.patron.summary.standing_penalty.none=No Blocks/Penalties
staff.patron.summary.group_list.column.family_name.label=Family Name
};
}
],
+ 'patron_date_of_last_update' : [
+ ['render'],
+ function(e) {
+ return function() {
+ util.widgets.set_text(e,
+ patronStrings.getString('staff.patron.summary.updated_on') + ' ' + (
+ obj.patron.last_update_time() ?
+ util.date.formatted_date( obj.patron.last_update_time(), '%{localized_date}' ) :
+ patronStrings.getString('staff.patron.field.unset')
+ )
+ );
+ };
+ }
+ ],
'patron_hold_alias' : [
['render'],
function(e) {
<row id="pdsgr5aa">
<description id="patron_date_of_exp" class="copyable expire_date value"/>
</row>
+ <row id="pdsgr5aaa">
+ <description id="patron_date_of_last_update" class="copyable last_update_time value"/>
+ </row>
</rows></grid>
<grid id="PatronSummaryStatus_grid" flex="1"/>