diff options
author | ivan <ivan> | 2002-05-04 15:00:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-05-04 15:00:18 +0000 |
commit | f36b6a178c9811357ff5d5291874aa239d22bc2a (patch) | |
tree | 6d736d1e181ba0865ad739cc94c971a441d6a4d0 /httemplate/docs | |
parent | 8af9903c96ca6a3d78e7779cbc4c5e773aaf3ae0 (diff) |
schema changes for proper texas tax
Diffstat (limited to 'httemplate/docs')
-rwxr-xr-x | httemplate/docs/admin.html | 2 | ||||
-rw-r--r-- | httemplate/docs/schema.dia | bin | 10766 -> 11176 bytes | |||
-rw-r--r-- | httemplate/docs/schema.html | 11 | ||||
-rw-r--r-- | httemplate/docs/upgrade8.html | 13 |
4 files changed, 25 insertions, 1 deletions
diff --git a/httemplate/docs/admin.html b/httemplate/docs/admin.html index 0093fd2b7..50beafe78 100755 --- a/httemplate/docs/admin.html +++ b/httemplate/docs/admin.html @@ -12,7 +12,7 @@ "your_host" with the name or network address of your web server. <li>Select <u>Configuration</u> from the main menu and update your configuration values. <li>Next you must create a service definition. An example of a service - definition would be a dial-up account or a domain. For starters, it is + definition would be a dial-up account or a domain. First, it is necessary to create a domain definition. Click on <u>View/Edit service definitions</u> and <u>Add a new service definition</u> with <i>Table</i> <b>svc_domain</b> (and no modifiers). diff --git a/httemplate/docs/schema.dia b/httemplate/docs/schema.dia Binary files differindex 4a5465285..148c1dfbc 100644 --- a/httemplate/docs/schema.dia +++ b/httemplate/docs/schema.dia diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html index 07fcb908e..3f627448f 100644 --- a/httemplate/docs/schema.html +++ b/httemplate/docs/schema.html @@ -47,6 +47,7 @@ <li>plan - eventcode plan <li>plandata - additional plan data <li>disabled - Disabled flag, empty or `Y' + <li>taxclass - Texas tax class flag, empty or "none", "access", or "hosting" </ul> <li><a name="cust_bill_pkg" href="man/FS/cust_bill_pkg.html">cust_bill_pkg</a> - Invoice line items <ul> @@ -130,6 +131,16 @@ <li>county <li>country <li>tax - % rate + <li>taxclass + <li>exempt_amount + </ul> + <li><a name="cust_tax_exempt" href="man/FS/cust_tax_exempt.html">cust_tax_exempt</a> - Tax exemption record + <ul> + <li>exemptnum - primary key + <li>taxnum - <a href="#cust_main_county">tax rate</a> + <li>year + <li>month + <li>amount </ul> <li><a name="cust_pay" href="man/FS/cust_pay.html">cust_pay</a> - Payments. Money being transferred from a customer. <ul> diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index 841a053ed..97758fdb2 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -195,6 +195,16 @@ CREATE TABLE msgcat ( ); CREATE INDEX msgcat1 ON msgcat ( msgcode, locale ); +CREATE TABLE cust_tax_exempt ( + exemptnum int primary key, + custnum int not null, + taxnum int not null, + year int not null, + month int not null, + amount decimal(10,2) +); +CREATE UNIQUE INDEX cust_tax_exempt1 ON cust_tax_exempt ( taxnum, year, month ); + ALTER TABLE svc_acct ADD domsvc integer NOT NULL; ALTER TABLE svc_domain ADD catchall integer NULL; ALTER TABLE cust_main ADD referral_custnum integer NULL; @@ -215,6 +225,9 @@ ALTER TABLE cust_refund ADD closed char(1) NULL; ALTER TABLE cust_bill_event ADD status varchar(80); ALTER TABLE cust_bill_event ADD statustext text NULL; ALTER TABLE svc_acct ADD sec_phrase varchar(80) NULL; +ALTER TABLE part_pkg ADD taxclass varchar(80) NULL; +ALTER TABLE cust_main_county ADD taxclass varchar(80) NULL; +ALTER TABLE cust_main_county ADD exempt_amount decimal(10,2); CREATE INDEX cust_main3 ON cust_main ( referral_custnum ); CREATE INDEX cust_credit_bill1 ON cust_credit_bill ( crednum ); CREATE INDEX cust_credit_bill2 ON cust_credit_bill ( invnum ); |