[freeside-commits] branch FREESIDE_3_BRANCH updated. dbe3f0addc4b75de57b988004a1be49bf8af9904
Ivan
ivan at 420.am
Tue Dec 24 16:55:39 PST 2013
The branch, FREESIDE_3_BRANCH has been updated
via dbe3f0addc4b75de57b988004a1be49bf8af9904 (commit)
from ada72090e5e5c97b81388f7591e9c20a54a293ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dbe3f0addc4b75de57b988004a1be49bf8af9904
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Dec 24 16:55:38 2013 -0800
fix refund links, RT#26615, fallout from RT#26416 optimizations
diff --git a/httemplate/view/cust_main/payment_history/payment.html b/httemplate/view/cust_main/payment_history/payment.html
index b71d73f..9379207 100644
--- a/httemplate/view/cust_main/payment_history/payment.html
+++ b/httemplate/view/cust_main/payment_history/payment.html
@@ -146,8 +146,8 @@ my $view =
my $refund = '';
my $refund_days = $opt{'card_refund-days'} || 120;
my $refund_right = '';
-$refund_right = 'Refund credit card payment' if $payby eq 'CARD';
-$refund_right = 'Refund Echeck payment' if $payby eq 'CHEK';
+$refund_right = 'Refund credit card payment' if $cust_pay->payby eq 'CARD';
+$refund_right = 'Refund Echeck payment' if $cust_pay->payby eq 'CHEK';
if ( $cust_pay->closed !~ /^Y/i
&& $cust_pay->payby =~ /^(CARD|CHEK)$/
&& time-$cust_pay->_date < $refund_days*86400
-----------------------------------------------------------------------
Summary of changes:
.../view/cust_main/payment_history/payment.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list