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
19 There is no hold on this item
23 </ProcessingErrorType>
26 <ProcessingErrorElement>
27 <ElementName>[% processingerrorelement %]</ElementName>
28 <ProcessingErrorValue>[% barcode %]</ProcessingErrorValue>
29 </ProcessingErrorElement>
31 <ProblemDetail>[% error_detail %]</ProblemDetail>