[freeside-commits] freeside/httemplate/edit/cust_main billing.html, 1.11, 1.12

Ivan,,, ivan at wavetail.420.am
Tue Dec 19 02:02:08 PST 2006


Update of /home/cvs/cvsroot/freeside/httemplate/edit/cust_main
In directory wavetail:/tmp/cvs-serv18716/httemplate/edit/cust_main

Modified Files:
	billing.html 
Log Message:
clean up payinfo_Mixin to use payby.pm for payby info and have card masking full 6-digit BIN prefix for card identification.  have cust_pay_batch use payinfo_Mixin.  require B:CC 0.30 for mask-aware cardtype().  fix payment reports to use mask too if available, so credit card type selection still works with encryption.

Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main/billing.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- billing.html	15 Dec 2006 08:25:44 -0000	1.11
+++ billing.html	19 Dec 2006 10:02:06 -0000	1.12
@@ -149,8 +149,6 @@
 %  my $disabled = 'DISABLED style="background-color: #dddddd"';
 %  my $text_disabled = 'style="color: #999999"';
 %
-%  # this is not going to work unless the mask-generation recognizes
-%  # Switch/Solo cards
 %  if ( $payby =~ /^(CARD|DCRD)$/ && cardtype($paymask) =~ /^(Switch|Solo)$/ ) {
 %    $disabled = 'style="background-color: #ffffff"';
 %    $text_disabled = 'style="color: #000000";'
@@ -194,7 +192,7 @@
 %                    'end_year'   => (localtime())[5] + 1900,
 %                    'selected_date' => (
 %                      ( $payby =~ /^(CARD|DCRD)$/
-%                        && cardtype($paymask) =~ /^(Switch|Solo)$/ ) #also
+%                        && cardtype($paymask) =~ /^(Switch|Solo)$/ )
 %                          ? $cust_main->paystart_month. '-'.
 %                            $cust_main->paystart_year 
 %                          : ''



More information about the freeside-commits mailing list