diff options
author | ivan <ivan> | 2006-12-19 10:02:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-12-19 10:02:06 +0000 |
commit | a0ddcb6b2ac38076c48e8f0b69e0758d5283303a (patch) | |
tree | b25903c85e28afc60b1d8b31ba6d06d1067ae6f4 /httemplate/edit/cust_main/billing.html | |
parent | 25c113d3edad9809e3834a298f79987fa65e6d7c (diff) |
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.
Diffstat (limited to 'httemplate/edit/cust_main/billing.html')
-rw-r--r-- | httemplate/edit/cust_main/billing.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 77db7b6c6..d3cd77dbb 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -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 % : '' |