[freeside-commits] freeside/httemplate/view/cust_main payment_history.html, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Mon Nov 21 02:47:14 PST 2005


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv1481/httemplate/view/cust_main

Modified Files:
	payment_history.html 
Log Message:
add MCRD payment type for manually processed ccards

Index: payment_history.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/payment_history.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- payment_history.html	21 Oct 2005 15:21:37 -0000	1.4
+++ payment_history.html	21 Nov 2005 10:47:12 -0000	1.5
@@ -51,6 +51,13 @@
 
 <% } %>
 
+<% if ( $payby{'MCRD'} ) { %>
+
+  <%= $s++ ? ' | ' : '' %>
+  <A HREF="<%= $p %>edit/cust_pay.cgi?payby=MCRD;custnum=<%= $custnum %>">Post manual credit card payment</A>
+
+<% } %>
+
 <BR><A HREF="<%= $p %>edit/cust_credit.cgi?<%= $custnum %>">Post credit</A>
 <BR>
 
@@ -98,6 +105,7 @@
   $payby =~ s/^COMP$/Complimentary by /; 
   $payby =~ s/^CASH$/Cash/;
   $payby =~ s/^WEST$/Western Union/;
+  $payby =~ s/^MCRD$/Manual credit card/;
   $payby =~ s/^BILL$//;
   my $info = $payby ? " ($payby$payinfo)" : '';
 



More information about the freeside-commits mailing list