X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=f2d6271d08258c8e2483da8245418a516505a4d3;hb=3d62ec9362d0b22c17a17da6197f8b2fc219a54e;hp=a1927fa6e0dbf04acc5ff064c951dd9ee7f6f65c;hpb=fdc247b504359ca9e74f63daa771f49393fd70ed;p=freeside.git diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index a1927fa6e..f2d6271d0 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -125,6 +125,8 @@ % my $payby = $cust_main->payby; % my $paytype = $cust_main->paytype; % my( $account, $aba ) = split('@', $payinfo); +% my $branch = ''; +% ($branch,$aba) = split('\.',$aba) if $conf->exists('cust_main-require-bank-branch'); % % my $disabled = 'DISABLED style="background-color: #dddddd"'; % my $text_disabled = 'style="color: #999999"'; @@ -232,14 +234,23 @@ % join('', map { qq!" } @FS::cust_main::paytypes). % qq!!. % -% qq!${r}!.emt('ABA/Routing number').qq! !. -% qq! !. -% qq!(!.emt('help').qq!)!. -% qq!!. +% ( $conf->exists('echeck-no_routing') +% ? '' +% : +% qq!${r}!.emt('ABA/Routing number').qq! !. +% qq! !. +% qq!(!.emt('help').qq!)!. +% qq!! +% ). % % qq!!. % qq!!. % +% ( $conf->exists('cust_main-require-bank-branch') ? +% qq!$r !.emt('Branch number').qq! +% ! : '' ). +% % qq!${r}!.emt('Bank name').qq! !. % qq!!. % ( $conf->exists('show_bankstate') ? @@ -503,7 +514,7 @@ function toggle(obj) { % if ( $conf->exists('voip-cust_cdr_squelch') ) { - squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Omit CDRs from printed invoices') |h %> + squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %> % } else { @@ -549,6 +560,10 @@ function toggle(obj) { <% $r %> <% mt('required fields') |h %> % } + + <%once> my $paystate_label = FS::Msgcat::_gettext('paystate');