From d6436c7251a94c9597c7b2195d63bd7c86f956e9 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 25 Sep 2003 10:42:28 +0000 Subject: [PATCH 1/1] add setuptax and recurtax fields to cust_main_county --- FS/bin/freeside-setup | 2 ++ httemplate/docs/schema.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 197542086..27d02529c 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -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' => [], diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html index a59755e76..9204bdc8f 100644 --- a/httemplate/docs/schema.html +++ b/httemplate/docs/schema.html @@ -142,6 +142,8 @@
  • taxclass
  • exempt_amount
  • taxname - if defined, printed on invoices instead of "Tax" +
  • setuptax - if 'Y', this tax does not apply to setup fees +
  • recurtax - if 'Y', this tax does not apply to recurring fees
  • cust_tax_exempt - Tax exemption record