X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county.html;h=b0823098f0f579ab9c2bddc78c313eb38f1b1474;hb=20f03d52cc6c930f610c0b4466eeeeda54fdbb40;hp=11b8e43cd1bb88199809293f3041b9b65134ed80;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/edit/cust_main_county.html b/httemplate/edit/cust_main_county.html index 11b8e43cd..b0823098f 100644 --- a/httemplate/edit/cust_main_county.html +++ b/httemplate/edit/cust_main_county.html @@ -7,12 +7,14 @@ 'state' => 'State', 'county' => 'County', 'city' => 'City', + 'district' => 'District', 'taxclass' => 'Tax class', 'taxname' => 'Tax name', 'tax' => 'Tax rate', 'setuptax' => 'This tax not applicable to setup fees', 'recurtax' => 'This tax not applicable to recurring fees', 'exempt_amount' => 'Monthly exemption per customer ($25 "Texas tax")', + 'charge_prediscount' => 'Charge this tax prior to any discounts', }, 'fields' => \@fields, ) @@ -46,8 +48,12 @@ my @fields = ( { field=>'state', type=>'fixed-state', }, { field=>'county', type=>'fixed', }, { field=>'city', type=>'fixed', }, + { field=>'source', type=>'hidden', }, ); +push @fields, { field=>'district', type=>'fixed', } + if $cust_main_county->district; + push @fields, { field=>'taxclass', type=>'fixed', } if $conf->exists('enable_taxclasses'); @@ -55,6 +61,9 @@ push @fields, 'taxname', { field=>'tax', type=>'percentage', }, + { type=>'tablebreak-tr-title', value=>'Charging options' }, + { field=>'charge_prediscount', type=>'checkbox', value=>'Y', }, + { type=>'tablebreak-tr-title', value=>'Exemptions' }, { field=>'setuptax', type=>'checkbox', value=>'Y', }, { field=>'recurtax', type=>'checkbox', value=>'Y', },