X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=6e36e99e87823a09d918b06f03a0905d79f4cb65;hb=5f1cd2ddf1b38ce35bb6c49de8bf4268f208df41;hp=26bd5814ecfa8305ec955906c49bc0014ea12804;hpb=08f4f553676033549452dae97b2e35b236bbcb14;p=freeside.git diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 26bd5814e..6e36e99e8 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -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>