X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=1440db4a8240af3130e2e94164a3c81b405e5969;hb=c42fe413bd1b9a38e4818dcd7117a8abeee674e8;hp=ba10929eddb3e1d27d50fda7521a5649ffe5b1ee;hpb=4a0dddbf7361428155698bacec70942be9029586;p=freeside.git diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index ba10929ed..1440db4a8 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -10,7 +10,7 @@ -% foreach my $field (qw( payname paycvv paystart_month paystart_year payissue payip )) { +% foreach my $field (qw( payname paycvv paystart_month paystart_year payissue payip paytype paystate )) { @@ -119,6 +119,7 @@ % my $payby = $cust_main->payby; +% my $paytype = $cust_main->paytype; % my( $account, $aba ) = split('@', $payinfo); % % my $disabled = 'DISABLED style="background-color: #dddddd"'; @@ -189,10 +190,13 @@ % ''. % % qq!!. -% qq!'. +% qq!'. +% qq!!. % % qq!!. -% qq!!. % @@ -200,9 +204,18 @@ % qq!!. % % qq!!. -% qq!!. +% qq!!. +% qq!!. +% qq!". % -% qq!'. +% +% qq!'. % % ''. % ''. @@ -408,8 +421,22 @@ -% if ( $conf->exists('voip-cust_cdr_spools') ) { + + + + + +% if ( $conf->exists('voip-cust_cdr_spools') ) { @@ -418,7 +445,6 @@ % } -
${r}Account number
Type!. +% join('', map { qq!" } @FS::cust_main::paytypes). +% qq!
${r}ABA/Routing number !. +% qq! !. % qq!(help)!. % qq!
${r}Bank name
$paystate_label!. +% include('select-state.html', +% 'empty' => '(choose)', +% 'state' => $cust_main->paystate, +% 'country' => $cust_main->country, +% 'prefix' => 'pay', +% ). "
Charge future payments to this electronic check automatically
Charge future payments to this electronic check automatically
 
 
Email invoice
Invoice terms + +
spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRs
@@ -426,6 +452,12 @@ <% $r %> required fields % } +<%once> + +my $paystate_label = FS::Msgcat::_gettext('paystate'); +$paystate_label = 'Bank state' if $paystate_label =~/^paystate$/; + + <%init> my( $cust_main, %options ) = @_;