X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fbilling.html;h=6e36e99e87823a09d918b06f03a0905d79f4cb65;hb=4f9c889961fa8a07034cf486bfd17f7f075cdaec;hp=3d8adf985def7faaefdf108ce7705e4163f14b2c;hpb=dd65ba99bb9281571f19744154a3b03bcd3f01ab;p=freeside.git diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index 3d8adf985..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 %> % } @@ -235,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 %> % } @@ -261,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>