1 [% INCLUDE 'includes/header.inc' %]
4 [% IF processingerror %]
7 [% FOREACH errormessage IN processingerrortype.keys %]
10 [% SWITCH errormessage %]
11 [% CASE 'BadBarcode' %]
12 We could not find an item with that barcode
13 [% CASE 'NotIssued' %]
14 The item is not on loan
16 The item is on hold for another borrower
17 [% CASE 'RENEW_ISSUE' %]
18 This item is already on loan to this borrower
22 </ProcessingErrorType>
25 <ProcessingErrorElement>
26 <ElementName>[% processingerrorelement %]</ElementName>
27 <ProcessingErrorValue>[% barcode %]</ProcessingErrorValue>
28 </ProcessingErrorElement>
30 <ProblemDetail>[% error_detail %]</ProblemDetail>