[% BLOCK html_head %] [% END %] [% PROCESS "default/opac/common.tt2" %] [% WRAPPER "default/opac/base.tt2" %] [% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "circs" %] [% IF ctx.circs.size == 0 %] No Items Checked Out [% STOP; END %]
[% IF ctx.success_renewals > 0 %]
Successfully renewed [% ctx.success_renewals %] items.
[% END %] [% IF ctx.failed_renewals > 0 %]
Failed to renew [% ctx.failed_renewals %] items.
[% END %]
[% FOR circ IN ctx.circs %] [% attrs = {marc_xml => circ.marc_xml}; %] [% PROCESS get_marc_attrs args=attrs; %] [% IF circ.renewal_response and circ.renewal_response.textcode != 'SUCCESS' %] [% END %] [% END %]
Title Author Due Date Renewals Remaining Select
[% attrs.title %] [% attrs.author %] [% date.format(ctx.parse_datetime(circ.circ.due_date),'%Y-%m-%d') %] [% circ.circ.renewal_remaining %]
[% circ.renewal_response.textcode %] [% IF circ.renewal_response.payload.fail_part and circ.renewal_response.payload.fail_part != circ.renewal_response.textcode %] [% circ.renewal_response.payload.fail_part %] [% END %]
[% END %]