${r}!.emt('Expiration').qq! | !.
% ''.
%
% include('/elements/select-month_year.html',
@@ -280,7 +347,7 @@
%
% ''.
%
-% qq!${r}Amount | !.
+% qq! ${r}!.emt('Amount').qq! | !.
% qq! | !.
%
% ' | '.
@@ -296,7 +363,7 @@
%
% ''.
%
-% qq!${r}Amount | !.
+% qq! ${r}!.emt('Amount').qq! | !.
% qq! | !.
%
% ' | '.
@@ -312,7 +379,7 @@
%
% '',
'layer_callback' => sub { my $layer = shift; $payby{$layer}; },
- )
- %>
+ 'onchange' => 'init_payauto_changed();',
+ &>
<% &ntable("#cccccc") %>
@@ -382,7 +449,7 @@
? 'CHECKED'
: ''
- %>> Postal mail invoice
+ %>> <% mt('Postal mail invoice') |h %>
@@ -394,33 +461,47 @@
? 'CHECKED'
: ''
- %>> Fax invoice
+ %>> <% mt('Fax invoice') |h %>
% }
+% unless ( $conf->exists('cust-email-high-visibility')) {
<% $conf->exists('cust_main-require_invoicing_list_email') ? $r : '' %>Email address(es)
|
|
+% }
- Invoice terms |
+ <% mt('Invoice terms') |h %> |
- <% include('/elements/select-terms.html',
+ <& /elements/select-terms.html,
'curr_value' => $cust_main->invoice_terms,
- )
- %>
+ &>
+ |
+
+
+
+ <% mt('Credit limit') |h %> |
+
+
+ credit_limit) %><% length($cust_main->credit_limit) ? '' : ' DISABLED' %>>
+ credit_limit) ? '' : ' CHECKED'%>> <% mt('Unlimited') |h %>
|
% if ( $conf->exists('voip-cust_cdr_spools') ) {
- spool_cdr eq "Y" ? 'CHECKED' : '' %>> Spool CDRs |
+ spool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %> |
% } else {
@@ -428,7 +509,7 @@
% if ( $conf->exists('voip-cust_cdr_squelch') ) {
- squelch_cdr eq "Y" ? 'CHECKED' : '' %>> Omit CDRs from invoices |
+ squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %> |
% } else {
@@ -436,15 +517,28 @@
% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
- email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> Attach CDRs as CSV to emailed invoices |
+ email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as CSV to emailed invoices') |h %> |
% } else {
% }
+% if ( $conf->exists('voip-cust_accountcode_cdr') ) {
+
+
+ accountcode_cdr eq "Y" ? 'CHECKED' : '' %>
+ > <% mt('Breakdown CDRs by accountcode') |h %> |
+
+% } else {
+
+% }
+
% if ( $show_term || $cust_main->cdr_termination_percentage ) {
- CDR termination settlement |
+ <% mt('CDR termination settlement') |h %> |
% }
+%my @available_locales = $conf->config('available-locales');
+%if ( scalar(@available_locales) ) {
+% push @available_locales, '';
+% my %locale_labels = map {
+% my %ll;
+% my %info = FS::Locales->locale_info($_);
+% $ll{$_} = $info{name} . " (" . $info{country} . ")";
+% %ll;
+% } FS::Locales->locales;
+ <& /elements/tr-select.html,
+ 'label' => emt('Invoicing locale'),
+ 'field' => 'locale',
+ 'options' => \@available_locales,
+ 'labels' => \%locale_labels,
+ 'curr_value' => $cust_main->locale,
+ &>
+% }
+
|
- <% $r %> required fields
+ <% $r %> <% mt('required fields') |h %>
% }
+
+
<%once>
my $paystate_label = FS::Msgcat::_gettext('paystate');
|