[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.21.2.3, 1.21.2.4
Ivan,,,
ivan at wavetail.420.am
Wed Feb 13 19:54:15 PST 2008
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv20144/httemplate/view/cust_main
Modified Files:
Tag: FREESIDE_1_7_BRANCH
payment_history.html
Log Message:
add cust_pay.otaker field; populate it based on history on upgrades, and show the order taker on all payments (on customer view and payment search) closes: #2953
Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.21.2.3
retrieving revision 1.21.2.4
diff -u -d -r1.21.2.3 -r1.21.2.4
--- payment_history.html 14 Feb 2008 01:48:59 -0000 1.21.2.3
+++ payment_history.html 14 Feb 2008 03:54:13 -0000 1.21.2.4
@@ -108,7 +108,7 @@
% $payby =~ s/^WEST$/Western Union/;
% $payby =~ s/^MCRD$/Manual credit card/;
% $payby =~ s/^BILL$//;
-% my $info = $payby ? " ($payby$payinfo)" : '';
+% my $info = $payby ? "($payby$payinfo)" : '';
%
% my( $pre, $post, $desc, $apply, $ext ) = ( '', '', '', '', '' );
% if ( scalar(@cust_bill_pay) == 0
@@ -235,9 +235,13 @@
% qq!>unapply</A>)!;
% }
%
+% my $otaker = $cust_pay->otaker;
+% $otaker = '<i>auto billing</i>' if $otaker eq 'fs_daily';
+% $otaker = '<i>customer self-service</i>' if $otaker eq 'fs_selfservice';
+%
% push @history, {
% 'date' => $cust_pay->_date,
-% 'desc' => $pre. "Payment$post$info$desc".
+% 'desc' => $pre. "Payment$post by $otaker $info$desc".
% "$view$apply$refund$void$delete$unapply",
% 'payment' => $cust_pay->paid,
% 'target' => $target,
More information about the freeside-commits
mailing list