[% l(
'Error creating receipt: [_1]',
+ (ctx.printable_receipt.textcode ? ctx.printable_receipt.textcode _ ' / ' _ ctx.printable_receipt.desc : 0) ||
ctx.printable_receipt.error_output.data ||
l('No receipt data returned from server')
) %]
diff --git a/Open-ILS/web/templates/default/opac/myopac/main_payments.tt2 b/Open-ILS/web/templates/default/opac/myopac/main_payments.tt2
index bf956b6..2c4daa4 100644
--- a/Open-ILS/web/templates/default/opac/myopac/main_payments.tt2
+++ b/Open-ILS/web/templates/default/opac/myopac/main_payments.tt2
@@ -34,8 +34,10 @@
[% (payment.xact_type == 'grocery') ? payment.last_billing_type : payment.title %] |
[% money(payment.mp.amount) %] |
- [%# post to print/email form... %]
- [% l('Print') %] / [% l('Email') %]
+ [%# post to print/email form... XXX wait, why post? -senator %]
+ [% l('Print') %]
+ /
+ [% l('Email') %]
|
[% END %]
diff --git a/Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2 b/Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2
new file mode 100644
index 0000000..4867561
--- /dev/null
+++ b/Open-ILS/web/templates/default/opac/myopac/receipt_print.tt2
@@ -0,0 +1,22 @@
+[%# sic! no wrapper %]
+
+
+
[% l('Receipt') %]
+
+
+ [% IF ctx.printable_receipt.template_output %]
+
+ [% ctx.printable_receipt.template_output.data %]
+
+ [% ELSE %]
+
+ [% l(
+ 'Error creating receipt: [_1]',
+ (ctx.printable_receipt.textcode ? ctx.printable_receipt.textcode _ ' / ' _ ctx.printable_receipt.desc : 0) ||
+ ctx.printable_receipt.error_output.data ||
+ l('No receipt data returned from server')
+ ) %]
+
+ [% END %]
+
+
--
1.7.2.5