X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=d4c5034124593d5e279b72c0acd071bfa4fe34e8;hb=efc68f41987d007de5e792b88df1c63bf3dedf4c;hp=b38d284c46967dc8e0fbe79103cf64487a240d4a;hpb=da757c2af713bedd8706e30ac002658b0c97ce28;p=freeside.git diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index b38d284c4..d4c503412 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -10,7 +10,7 @@ -% foreach my $field (qw( payname paycvv paystart_month paystart_year payissue payip )) { +% foreach my $field (qw( payname paycvv paystart_month paystart_year payissue payip paytype paystate )) { @@ -107,18 +107,10 @@ - - - - + <% include('/elements/init_overlib.html') %> % my $payby = $cust_main->payby; +% my $paytype = $cust_main->paytype; % my( $account, $aba ) = split('@', $payinfo); % % my $disabled = 'DISABLED style="background-color: #dddddd"'; @@ -189,10 +181,13 @@ % ''. % % qq!!. -% qq!'. +% qq!'. +% qq!!. % % qq!!. -% qq!!. % @@ -200,9 +195,22 @@ % qq!!. % % qq!!. -% qq!!. +% qq!!. +% ( $conf->exists('show_bankstate') ? +% qq!!. +% qq!" +% : '' +% ). +% % -% qq!'. +% qq!'. % % ''. % ''. @@ -379,6 +387,8 @@ +% unless ( $conf->exists('emailinvoiceonly') ) { + +% } + - + -% if ( $conf->exists('voip-cust_cdr_spools') ) { + + + + + +% if ( $conf->exists('voip-cust_cdr_spools') ) { @@ -418,6 +446,14 @@ % } +% if ( $conf->exists('voip-cust_cdr_squelch') ) { + + + +% } else { + + +% }
${r}Account number
Type
${r}ABA/Routing number !. +% qq! !. % qq!(help)!. % qq!
${r}Bank name
$paystate_label!. +% include('select-state.html', +% 'empty' => '(choose)', +% 'state' => $cust_main->paystate, +% 'country' => $cust_main->country, +% 'prefix' => 'pay', +% ). "
Charge future payments to this electronic check automatically
Charge future payments to this electronic check automatically
 
 
tax eq "Y" ? 'CHECKED' : '' %>> Tax Exempt
Email invoice + <% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es) +
Invoice terms + +
spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRs
squelch_cdr eq "Y" ? 'CHECKED' : '' %>> Omit CDRs from invoices
@@ -426,6 +462,12 @@ <% $r %> required fields % } +<%once> + +my $paystate_label = FS::Msgcat::_gettext('paystate'); +$paystate_label = 'Bank state' if $paystate_label =~/^paystate$/; + + <%init> my( $cust_main, %options ) = @_;