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