RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / edit / cust_class.html
1 <% include( 'elements/class_Common.html',
2               'name_singular'        => 'Customer Class',
3               'table'       => 'cust_class',
4               'addl_fields' => \@addl_fields,
5               'addl_labels' => { 'tax' => 'Tax Exempt' },
6           )
7 %>
8 <%init>
9
10 my $conf = new FS::Conf;
11
12 my @addl_fields = ();
13 if ( $conf->exists('cust_class-tax_exempt') ) {
14   push @addl_fields, { 'field' => 'tax',
15                        'type'  => 'checkbox',
16                        'value' => 'Y',
17                      };
18 } else {
19   push @addl_fields, { 'field' => 'tax',
20                        'type'  => 'hidden',
21                      };
22 }
23
24 </%init>