X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=07266b9a6fc8ed4d94ca723d73d2b12a6191dc57;hp=7c053dcfb6dea8006a657fbbaaa3b0d510977220;hb=b5dbd9e1bcbb701a20ed23e723b1e0105fd7c1a1;hpb=d884f87c167fa00a24b2347c46606585b8420657 diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index 7c053dcfb..07266b9a6 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -1,5 +1,4 @@ %if ( $payby_default eq 'HIDE' ) { -% % $cust_main->payby('BILL') unless $cust_main->payby; % my $payby = $cust_main->payby; @@ -35,11 +34,11 @@ % % my $r = qq!* !; -
Billing information +
<% mt('Billing information') |h %> <% &ntable("#cccccc") %> - <%$r%>Billing type + <%$r%><% mt('Billing type') |h %> - <% include('/elements/init_overlib.html') %> + <& /elements/init_overlib.html &> % my $payby = $cust_main->payby; % my $paytype = $cust_main->paytype; @@ -147,10 +146,10 @@ % % ''. % -% qq!!. +% qq!!. % qq!!. % -% qq!!. +% qq!!. % ''. % -% qq!!. % '!. +% qq!!. % '!. % -% qq!!. +% qq!!. % qq!!. % -% qq!!. +% qq!!. % % ( $conf->exists('cust_main-select-billday') ? % qq!
${r}Card number
${r}!.emt('Card number').qq!
${r}Expiration
${r}!.emt('Expiration').qq! '. % % include('/elements/select-month_year.html', @@ -161,14 +160,13 @@ % % '
CVV2 !. +% qq!
!.emt('CVV2').qq! !. % -% qq!(help)!. +% qq!(!.emt('help').qq!)!. % qq!'. % -% -% qq!
Start date
!.emt('Start date').qq! '. % % include('/elements/select-month_year.html', @@ -186,13 +184,13 @@ % ) % ). % -% qq! or Issue number !. +% qq!!.emt('or Issue number').qq! !. % '
${r}Exact name on card
${r}!.emt('Exact name on card').qq!
Charge future payments to this card automatically
!.emt('Charge future payments to this card automatically').qq!
@@ -207,27 +205,27 @@ % % ''. % -% qq!!. +% qq!!. % qq!'. -% qq!!. % -% qq!!. +% qq!!. % qq!!. % % qq!!. % qq!!. % -% qq!!. +% qq!!. % qq!!. % ( $conf->exists('show_bankstate') ? % qq!!. % qq!!. +% qq!!. % % ( $conf->exists('cust_main-select-billday') ? % qq!
${r}Account number
${r}!.emt('Account number').qq! Type!.emt('Type').qq!
${r}ABA/Routing number
${r}!.emt('ABA/Routing number').qq! !. -% qq!(help)!. +% qq!(!.emt('help').qq!)!. % qq!
${r}Bank name
${r}!.emt('Bank name').qq!
$paystate_label!. % include('/elements/select-state.html', -% 'empty' => '(choose)', +% 'empty' => emt('(choose)'), % 'state' => $cust_main->paystate, % 'country' => $cust_main->country, % 'prefix' => 'CHEK_pay', @@ -237,7 +235,7 @@ % ). % % -% qq!
Charge future payments to this electronic check automatically
!.emt('Charge future payments to this electronic check automatically').qq!
@@ -256,7 +254,7 @@ % % ''. % -% qq!!. +% qq!!. % qq!!. % % qq!!. @@ -276,13 +274,13 @@ % % '
${r}Phone number
${r}!.emt('Phone number').qq!
'. % -% qq!!. +% qq!!. % qq!!. % % qq!!. % qq!!. % -% qq!!. +% qq!!. % qq!!. % % ''. @@ -297,10 +295,10 @@ % % '
P.O.
!.emt('P.O.').qq!
Attention
!.emt('Attention').qq!
 
'. % -% qq!!. +% qq!!. % qq!!. % -% qq!!. +% qq!!. % ' @@ -437,7 +434,7 @@ ? 'CHECKED' : '' - %>> Fax invoice + %>> <% mt('Fax invoice') |h %> @@ -452,17 +449,16 @@ - + - + % if ( $conf->exists('voip-cust_cdr_spools') ) { - + % } else { @@ -484,7 +480,7 @@ function toggle(obj) { % if ( $conf->exists('voip-cust_cdr_squelch') ) { - + % } else { @@ -492,7 +488,7 @@ function toggle(obj) { % if ( $conf->exists('voip-cust_email_csv_cdr') ) { - + % } else { @@ -505,7 +501,7 @@ function toggle(obj) { NAME="accountcode_cdr" VALUE="Y" <% $cust_main->accountcode_cdr eq "Y" ? 'CHECKED' : '' %> - > Breakdown CDRs by accountcode + > <% mt('Breakdown CDRs by accountcode') |h %> % } else { @@ -513,7 +509,7 @@ function toggle(obj) { % if ( $show_term || $cust_main->cdr_termination_percentage ) { - +
${r}Approved by
${r}!.emt('Approved by').qq!
${r}Expiration
${r}!.emt('Expiration').qq! '. % % include('/elements/select-month_year.html', @@ -323,7 +321,7 @@ % % ''. % -% qq!!. +% qq!!. % qq!!. % % ''. @@ -339,7 +337,7 @@ % % '
${r}Amount
${r}!.emt('Amount').qq!
 
'. % -% qq!!. +% qq!!. % qq!!. % % ''. @@ -355,7 +353,7 @@ % % '
${r}Amount
${r}!.emt('Amount').qq!
 
'. % -% qq!!. +% qq!!. % qq!!. % % ''. @@ -388,15 +386,14 @@ % );
${r}Amount
${r}!.emt('Amount').qq!
 
- <% include( '/elements/selectlayers.html', + <& /elements/selectlayers.html, 'field' => 'payby', 'curr_value' => $payby2option{$payby || $payby_default || $payby[0] }, 'options' => \@options, 'labels' => \%allopt, 'html_between' => '
', 'layer_callback' => sub { my $layer = shift; $payby{$layer}; }, - ) - %> + &> <% &ntable("#cccccc") %> @@ -425,7 +422,7 @@ ? 'CHECKED' : '' - %>> Postal mail invoice + %>> <% mt('Postal mail invoice') |h %>
Invoice terms <% mt('Invoice terms') |h %> - <% include('/elements/select-terms.html', + <& /elements/select-terms.html, 'curr_value' => $cust_main->invoice_terms, - ) - %> + &>
Credit limit <% mt('Credit limit') |h %> credit_limit) %><% length($cust_main->credit_limit) ? '' : ' DISABLED' %>> - credit_limit) ? '' : ' CHECKED'%>> Unlimited + credit_limit) ? '' : ' CHECKED'%>> <% mt('Unlimited') |h %>
spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRsspool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %>
squelch_cdr eq "Y" ? 'CHECKED' : '' %>> Omit CDRs from printed invoicessquelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Omit CDRs from printed invoices') |h %>
email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> Attach CDRs as CSV to emailed invoicesemail_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as CSV to emailed invoices') |h %>
CDR termination settlement<% mt('CDR termination settlement') |h %> - <% $r %> required fields + <% $r %> <% mt('required fields') |h %> % } <%once>