${r}!.emt('Expiration').qq! | !.
% ''.
%
% include('/elements/select-month_year.html',
@@ -280,7 +321,7 @@
%
% ''.
%
-% qq!${r}Amount | !.
+% qq! ${r}!.emt('Amount').qq! | !.
% qq! | !.
%
% ' | '.
@@ -296,7 +337,7 @@
%
% ''.
%
-% qq!${r}Amount | !.
+% qq! ${r}!.emt('Amount').qq! | !.
% qq! | !.
%
% ' | '.
@@ -312,7 +353,7 @@
%
% '',
'layer_callback' => sub { my $layer = shift; $payby{$layer}; },
- )
- %>
+ &>
<% &ntable("#cccccc") %>
@@ -382,7 +422,7 @@
? 'CHECKED'
: ''
- %>> Postal mail invoice
+ %>> <% mt('Postal mail invoice') |h %>
@@ -394,7 +434,7 @@
? 'CHECKED'
: ''
- %>> Fax invoice
+ %>> <% mt('Fax invoice') |h %>
@@ -409,22 +449,30 @@
- Invoice terms |
+ <% mt('Invoice terms') |h %> |
+
+ <& /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 {
@@ -432,16 +480,36 @@
% if ( $conf->exists('voip-cust_cdr_squelch') ) {
- squelch_cdr eq "Y" ? 'CHECKED' : '' %>> Omit CDRs from invoices |
+ squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Omit CDRs from printed invoices') |h %> |
% } else {
% }
+% if ( $conf->exists('voip-cust_email_csv_cdr') ) {
+
+ 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 %> |
- <% $r %> required fields
+ <% $r %> <% mt('required fields') |h %>
% }
<%once>
| |