5 <title>[% l('Receipt') %]</title>
7 <body onload="if (document.getElementById('printable-receipt')) window.print();">
8 [% IF ctx.printable_receipt.template_output %]
9 <tt id="printable-receipt">
10 [% ctx.printable_receipt.template_output.data %]
13 <div class="payment-error">
15 'Error preparing receipt: [_1]',
16 (ctx.printable_receipt.textcode ? ctx.printable_receipt.textcode _ ' / ' _ ctx.printable_receipt.desc : 0) ||
17 ctx.printable_receipt.error_output.data ||
18 l('No receipt data returned from server')
23 <p>[ <a href="[% ctx.opac_root %]/myopac/main_payments">[%
24 l("Back to Payments History") %]</a> ]</p>