[%# INCLUDE 'includes/header.inc' %] <[% messagetype %]> [% IF processingerror %] [% FOREACH errormessage IN processingerrortype.keys %] [% SWITCH errormessage %] [% CASE 'BadBarcode' %] We could not find an item with that barcode [% CASE 'NotIssued' %] The item is not on loan [% CASE 'RESERVED' %] The item is on hold for another borrower [% CASE 'RENEW_ISSUE' %] This item is already on loan to this borrower [% CASE 'NO_HOLD' %] There is no hold on this item [% END %] [% END %] [% END %] [% processingerrorelement %] [% barcode %] [% error_detail %]