X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fbilling.html;h=d25e8871240dec944cb9629d0c0d090463893637;hp=fa392bbb7af0e838430eff43c2b99ec93cd79107;hb=0870a4c1fb02be43ea5524f58650d99c81477681;hpb=2c5aa117162ef4dfce93da42ea3391dcdece4bb9 diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html index fa392bbb7..d25e88712 100644 --- a/httemplate/edit/cust_main/billing.html +++ b/httemplate/edit/cust_main/billing.html @@ -18,6 +18,27 @@ <% &ntable("#cccccc") %> % my $curuser = $FS::CurrentUser::CurrentUser; + +% ### +% # complimentry flag +% ### + +% if ( $curuser->access_right('Complimentary customer') ) { + + + complimentary eq "Y" ? 'CHECKED' : '' %>>Complimentary customer + + +% } else { + + + +% } + +% ### +% # tax exemptions +% ### + % my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); % if ( $conf->exists('cust_class-tax_exempt') % || $conf->exists('tax-cust_exempt-groups-require_individual_nums') @@ -31,7 +52,7 @@ % } else { - tax eq "Y" ? 'CHECKED' : '' %>> Tax Exempt<% @exempt_groups ? ' (all taxes)' : '' %> + tax eq "Y" ? 'CHECKED' : '' %>> Tax Exempt<% @exempt_groups ? ' (all taxes)' : '' %> % } @@ -48,10 +69,14 @@ % } % } +% ### +% # postal invoices +% ### + % unless ( $conf->exists('emailinvoiceonly') ) { - - invoice_noemail eq 'Y' ) ? '' @@ -93,6 +122,10 @@ % } +% ### +% # prorate_day +% ### + % if ( $conf->exists('cust_main-select-prorate_day') ) { <% mt('Prorate day (1-28)') |h %> @@ -104,6 +137,10 @@ % } +% ### +% # billday +% ### + <% mt('Charge card/e-check on this day of the month') |h %> @@ -124,6 +161,10 @@ % $ret; % } +% ### +% # invoice_terms +% ### + <% mt('Invoice terms') |h %> @@ -134,6 +175,10 @@ +% ### +% # credit_limit +% ### + <% mt('Credit limit') |h %> @@ -162,6 +207,10 @@ function toggle(obj) { +% ### +% # CDR flags / options +% ### + % if ( $conf->exists('voip-cust_cdr_spools') ) { spool_cdr eq "Y" ? 'CHECKED' : '' %>> <% mt('Spool CDRs') |h %> @@ -213,6 +262,10 @@ function toggle(obj) { % } +% ### +% # Invoicing currency +% ### + %my @currencies = $conf->config('currencies'); %if ( scalar(@currencies) ) { % unshift @currencies, ''; #default @@ -229,6 +282,9 @@ function toggle(obj) { &> % } +% ### +% # Invoicing locale +% ### %my @available_locales = $conf->config('available-locales'); %if ( scalar(@available_locales) ) { @@ -268,11 +324,6 @@ my $conf = new FS::Conf; my $money_char = $conf->config('money_char') || '$'; -my @payby = grep /\w/, $conf->config('payby'); -#@payby = (qw( CARD DCRD CHEK DCHK BILL CASH WEST COMP )) -@payby = (qw( CARD DCRD CHEK DCHK BILL CASH COMP )) - unless @payby; - my $show_term = ''; if ( $cust_main->custnum ) { #false laziness w/view/cust_main/billing.html