X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=d3cd77dbb31e1b83828e843ca30a54b4918f974d;hp=77db7b6c690894ece0dca474c1c2c26b4bdd3651;hb=a0ddcb6b2ac38076c48e8f0b69e0758d5283303a;hpb=25c113d3edad9809e3834a298f79987fa65e6d7c 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 % : ''