[% PROCESS "default/opac/parts/header.tt2"; PROCESS "default/opac/parts/misc_util.tt2"; WRAPPER "default/opac/parts/myopac/base.tt2"; myopac_page = "circs" %]
[% l('Current Items Checked Out') %] [% l('Export List') %]
[% IF ctx.circs.size < 1 %]
[% l('You have no items checked out.') %]
[% ELSE %] [% IF ctx.success_renewals %]
[% l("Successfully renewed [_1] item(s)", ctx.success_renewals) %]
[% END %] [% IF ctx.failed_renewals %]
[% l("Failed to renew [_1] item(s)", ctx.failed_renewals) %]
[% END %]
Renewing Help
Title / Author Renews
Left
Due Date barcode call number
[% 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 %]
[% attrs.title %] [% IF attrs.author %] / [% attrs.author %] [% END %] [% circ.circ.renewal_remaining %] [% date.format(ctx.parse_datetime(circ.circ.due_date),DATE_FORMAT) %] [% circ.circ.target_copy.barcode %] [% circ.circ.target_copy.call_number.label %]
[%# XXX colspan="0" does not work in IE %] [% circ.renewal_response.desc || circ.renewal_response.payload.fail_part || circ.renewal_response.textcode %]
[% END %]

[% l("Other Circulations") %]
[% l("Circulating Library") %] [% l("Circulation Type") %] [% l("Please return by ...") %]
[% END %]