summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main
diff options
context:
space:
mode:
authorivan <ivan>2005-11-21 10:47:12 +0000
committerivan <ivan>2005-11-21 10:47:12 +0000
commitf10cd68f08a6bfbd565a83b40bacc3f55a1265b3 (patch)
tree2f2d35fd69cc7ea44ac4801dc6fad6278d09b7c6 /httemplate/view/cust_main
parent91c861a52c70f7dd67cc2b9b2705e74640957921 (diff)
add MCRD payment type for manually processed ccards
Diffstat (limited to 'httemplate/view/cust_main')
-rw-r--r--httemplate/view/cust_main/payment_history.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index e58b6248e..f794ccf4a 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -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 @@ foreach my $cust_pay ($cust_main->cust_pay) {
$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)" : '';