add setuptax and recurtax fields to cust_main_county
authorivan <ivan>
Thu, 25 Sep 2003 10:42:28 +0000 (10:42 +0000)
committerivan <ivan>
Thu, 25 Sep 2003 10:42:28 +0000 (10:42 +0000)
FS/bin/freeside-setup
httemplate/docs/schema.html

index 1975420..27d0252 100755 (executable)
@@ -539,6 +539,8 @@ sub tables_hash_hack {
         'exempt_amount', @money_type,
         'tax',      'real',  '',    '', #tax %
         'taxname',  'varchar',  'NULL',    $char_d,
+        'setuptax',  'char', 'NULL', 1, # Y = setup tax exempt
+        'recurtax',  'char', 'NULL', 1, # Y = recur tax exempt
       ],
       'primary_key' => 'taxnum',
       'unique' => [],
index a59755e..9204bdc 100644 (file)
         <li>taxclass
         <li>exempt_amount
         <li>taxname - if defined, printed on invoices instead of "Tax"
+        <li>setuptax - if 'Y', this tax does not apply to setup fees
+        <li>recurtax - if 'Y', this tax does not apply to recurring fees
       </ul>
     <li><a name="cust_tax_exempt" href="man/FS/cust_tax_exempt.html">cust_tax_exempt</a> - Tax exemption record
       <ul>