X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=cf22ff7017493906dbd7e2a4f68e84a83deb4132;hb=3d62ec9362d0b22c17a17da6197f8b2fc219a54e;hp=fec30f87a47a089a29dd07b67b0038c587787f16;hpb=998f029ef805c73e90543b34192e16d38a23c69c;p=freeside.git diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index fec30f87a..cf22ff701 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -1,4 +1,4 @@ -<% emt('Billing information') |h %> +<% mt('Billing information') |h %> %# If we can't see the unencrypted card, then bill now is an exercise in %# frustration (without some sort of job queue magic to send it to a secure %# machine, anyway) @@ -84,26 +84,38 @@ % } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') { % my( $account, $aba ) = split('@', $cust_main->paymask ); +% my $branch = ''; +% ($branch,$aba) = split('\.',$aba) if $conf->exists('cust_main-require-bank-branch'); % my $autodemand = $cust_main->payby eq 'CHEK' ? 'automatic' : 'on-demand'; <% mt("Electronic check ([_1])",$autodemand) |h %> + +% unless ( $conf->exists('echeck-no_routing') ) { + + <% mt('ABA/Routing code') |h %> + <% $aba %> + +% } + +% if ( $conf->exists('cust_main-require-bank-branch') ) { - <% mt('ABA/Routing code') |h %> - <% $aba %> - + <% mt('Branch number') |h %> + <% $branch %> +% } + <% mt('Account number') |h %> <% $account %> - Account type') |h %> + <% mt('Account type') |h %> <% $cust_main->paytype %> - Bank name') |h %> + <% mt('Bank name') |h %> <% $cust_main->payname %> % if ( $conf->exists('show_bankstate') ) { @@ -203,12 +215,14 @@ <% ( grep { $_ eq 'FAX' } @invoicing_list ) ? $yes : $no %> +% unless ( $conf->exists('cust-email-high-visibility')) { <% mt('Email invoices') |h %> <% join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ) || $no %> +% } <% mt('Invoice terms') |h %> @@ -220,7 +234,7 @@ <% length($cust_main->credit_limit) ? $money_char.sprintf("%.2f", $cust_main->credit_limit) : - 'Unlimited' %> + emt('Unlimited') %> @@ -233,7 +247,7 @@ % if ( $conf->exists('voip-cust_cdr_squelch') ) { - <% mt('Print CDRs') |h %> + <% mt($conf->exists('voip-cdr_email') ? 'Print CDRs' : 'Show CDRs') |h %> <% $cust_main->squelch_cdr ? $no : $yes %> % }