diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-04-12 16:14:23 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-04-12 16:14:23 -0700 |
commit | 3ccf7174fccb0b576a8c34838b3db4a429635483 (patch) | |
tree | 4a4d0dc7bd1f8db24c149e46eb9011fd4f4939ed /httemplate/view/cust_main | |
parent | c683be2e0bc89b9d11dfd5454a6cd21161b752ef (diff) |
display apple and android store payments by name
Diffstat (limited to 'httemplate/view/cust_main')
-rw-r--r-- | httemplate/view/cust_main/payment_history.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html index c453ffadc..c7a7c8024 100644 --- a/httemplate/view/cust_main/payment_history.html +++ b/httemplate/view/cust_main/payment_history.html @@ -500,14 +500,15 @@ foreach my $cust_refund ($cust_main->cust_refund) { sub translate_payby { my ($payby,$payinfo) = (shift,shift); my %payby = ( + FS::payby->payby2shortname, BILL => $payinfo ? emt('Check #') : '', CHEK => emt('Electronic check '), PREP => emt('Prepaid card '), CARD => emt('Credit card #'), COMP => emt('Complimentary by '), - CASH => emt('Cash'), - WEST => emt('Western Union'), - MCRD => emt('Manual credit card'), + #CASH => emt('Cash'), + #WEST => emt('Western Union'), + #MCRD => emt('Manual credit card'), ); $payby = (exists $payby{$payby}) ? $payby{$payby} : $payby; $payby; @@ -516,6 +517,7 @@ sub translate_payby { sub translate_payby_refund { my ($payby,$payinfo) = (shift,shift); my %payby = ( + FS::payby->payby2shortname, BILL => $payinfo ? emt('Check #') : emt('Check'), CHEK => emt('Electronic check '), CARD => emt('Credit card #'), |