[freeside-commits] freeside/httemplate/search report_cust_pay.html,
1.8, 1.9 cust_pay.cgi, 1.23, 1.24
Ivan,,,
ivan at wavetail.420.am
Mon Nov 21 02:47:14 PST 2005
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv1481/httemplate/search
Modified Files:
report_cust_pay.html cust_pay.cgi
Log Message:
add MCRD payment type for manually processed ccards
Index: report_cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pay.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- report_cust_pay.html 21 Oct 2005 15:21:37 -0000 1.8
+++ report_cust_pay.html 21 Nov 2005 10:47:12 -0000 1.9
@@ -25,6 +25,7 @@
<OPTION VALUE="PREP">prepaid card</OPTION>
<OPTION VALUE="CASH">cash</OPTION>
<OPTION VALUE="WEST">Western Union</OPTION>
+ <OPTION VALUE="MCRD">manual credit card</OPTION>
</SELECT>
</TD>
</TR>
Index: cust_pay.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay.cgi,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- cust_pay.cgi 7 Nov 2005 22:07:01 -0000 1.23
+++ cust_pay.cgi 21 Nov 2005 10:47:12 -0000 1.24
@@ -17,7 +17,7 @@
if ( $cgi->param('payby') ) {
$cgi->param('payby') =~
- /^(CARD|CHEK|BILL|PREP|CASH|WEST)(-(VisaMC|Amex|Discover|Maestro))?$/
+ /^(CARD|CHEK|BILL|PREP|CASH|WEST|MCRD)(-(VisaMC|Amex|Discover|Maestro))?$/
or die "illegal payby ". $cgi->param('payby');
push @search, "cust_pay.payby = '$1'";
if ( $3 ) {
@@ -170,6 +170,8 @@
'Cash '. $cust_pay->payinfo;
} elsif ( $cust_pay->payby eq 'WEST' ) {
'Western Union'; #. $cust_pay->payinfo;
+ } elsif ( $cust_pay->payby eq 'MCRD' ) {
+ 'Manual credit card'; #. $cust_pay->payinfo;
} else {
$cust_pay->payby. ' '. $cust_pay->payinfo;
}
More information about the freeside-commits
mailing list