[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.53, 1.54
Erik Levinson
levinse at wavetail.420.am
Mon May 16 11:48:27 PDT 2011
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main locations.html, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history attempted_payment.html, 1.1, 1.2 credit.html, 1.6, 1.7 invoice.html, 1.2, 1.3 payment.html, 1.8, 1.9 pending_payment.html, 1.2, 1.3 refund.html, 1.3, 1.4 voided_payment.html, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv10956
Modified Files:
payment_history.html
Log Message:
internationalization/localization, RT12515
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -w -d -r1.53 -r1.54
--- payment_history.html 16 May 2011 16:29:49 -0000 1.53
+++ payment_history.html 16 May 2011 18:48:24 -0000 1.54
@@ -450,4 +450,32 @@
}
+sub translate_payby {
+ my ($payby,$payinfo) = (shift,shift);
+ my %payby = (
+ BILL => $payinfo ? mt('Check #') : '',
+ CHEK => mt('Electronic check '),
+ PREP => mt('Prepaid card '),
+ CARD => mt('Credit card #'),
+ COMP => mt('Complimentary by '),
+ CASH => mt('Cash'),
+ WEST => mt('Western Union'),
+ MCRD => mt('Manual credit card'),
+ );
+ $payby = (exists $payby{$payby}) ? $payby{$payby} : $payby;
+ $payby;
+};
+
+sub translate_payby_refund {
+ my ($payby,$payinfo) = (shift,shift);
+ my %payby = (
+ BILL => $payinfo ? mt('Check #') : mt('Check'),
+ CHEK => mt('Electronic check '),
+ CARD => 'CARD ',
+ COMP => 'COMP ',
+ );
+ $payby = (exists $payby{$payby}) ? $payby{$payby} : $payby;
+ $payby;
+};
+
</%init>
- Previous message: [freeside-commits] freeside/httemplate/view/cust_main locations.html, 1.2, 1.3
- Next message: [freeside-commits] freeside/httemplate/view/cust_main/payment_history attempted_payment.html, 1.1, 1.2 credit.html, 1.6, 1.7 invoice.html, 1.2, 1.3 payment.html, 1.8, 1.9 pending_payment.html, 1.2, 1.3 refund.html, 1.3, 1.4 voided_payment.html, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list