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