X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=5714f9a2be860e1503d2874983e84ab475f2748c;hp=fbe3e485c505e5f2451c17292d833f90eec8f865;hb=ea1f12bb5c5764f784e884fa8d7c37e5cd0b28e0;hpb=5d5ed9e94c8c9520f8d36ef23bbe47a135c35639 diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index fbe3e485c..5714f9a2b 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -124,6 +124,12 @@ + <& /elements/checkbox.html, + field => 'force_prorate_day', + value => 'Y', + curr_value => $cust_main->force_prorate_day + &> + @@ -218,14 +224,6 @@ function toggle(obj) { % # CDR flags / options % ### -% if ( $conf->exists('voip-cust_cdr_spools') ) { - - spool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %> - -% } else { - -% } - % if ( $conf->exists('voip-cust_cdr_squelch') ) { squelch_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt($conf->exists('voip-cdr_email') ? 'Omit CDRs from printed invoices' : 'Omit CDRs from invoices') |h %> @@ -234,9 +232,9 @@ function toggle(obj) { % } -% if ( $conf->exists('voip-cust_email_csv_cdr') ) { +% if ( my $attach = $conf->config('voip-cdr_email_attach') ) { - email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as CSV to emailed invoices') |h %> + email_csv_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Attach CDRs as '. uc($attach). ' to emailed invoices') |h %> % } else {