X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=6e36e99e87823a09d918b06f03a0905d79f4cb65;hb=79ae09bffa5efc73ee1195ea06f8c14d399cef36;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..6e36e99e8 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,36 @@ % } 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 %> + <% mt('ABA/Routing code') |h %> <% $aba %> + +% if ( $conf->exists('cust_main-require-bank-branch') ) { + + <% 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') ) { @@ -131,7 +141,7 @@ % if ( $cust_main->payinfo ) { - P.O.') |h %> + <% $cust_main->payinfo %> % } @@ -203,12 +213,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 +232,7 @@ <% length($cust_main->credit_limit) ? $money_char.sprintf("%.2f", $cust_main->credit_limit) : - 'Unlimited' %> + emt('Unlimited') %> @@ -233,7 +245,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 %> % } @@ -259,6 +271,15 @@ % } +% if ( $cust_main->locale ) { +% my %locale_info = FS::Locales->locale_info($cust_main->locale); + + <% mt('Invoicing locale') |h %> + <% $locale_info{name} . " (" . $locale_info{country} .")" %> + +% } + + <%once>