X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=394c5d8d52f2fcbe841ab377cb36e62858416c0c;hb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;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..394c5d8d5 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 )) { @@ -119,6 +119,7 @@ % my $payby = $cust_main->payby; +% my $paytype = $cust_main->paytype; % my( $account, $aba ) = split('@', $payinfo); % % my $disabled = 'DISABLED style="background-color: #dddddd"'; @@ -189,10 +190,13 @@ % ''. % % qq!!. -% qq!'. +% qq!'. +% qq!!. % % qq!!. -% qq!!. % @@ -200,9 +204,22 @@ % qq!!. % % qq!!. -% qq!!. +% qq!!. +% ( $conf->exists('show_bankstate') ? +% qq!!. +% qq!" +% : '' +% ). % -% qq!'. +% +% qq!'. % % ''. % ''. @@ -379,6 +396,8 @@ +% unless ( $conf->exists('emailinvoiceonly') ) { + +% } + -% if ( $conf->exists('voip-cust_cdr_spools') ) { + + + + + +% if ( $conf->exists('voip-cust_cdr_spools') ) { @@ -418,7 +453,6 @@ % } -
${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
Invoice terms + +
spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRs
@@ -426,6 +460,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 ) = @_;