From 4bbf90e800406ff75a5fed09ba5cd71293cda542 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 9 Oct 2001 23:10:17 +0000 Subject: add `unsuspendauto' config file: enable the automatic unsuspension of suspended packages when a customer's balance due changes from positive to zero or negative as the result of a payment or credit add cust_pkg.manual_flag to disable this behaviour per customer package (no UI to set this yet) --- httemplate/docs/config.html | 1 + httemplate/docs/install.html | 2 +- httemplate/docs/schema.html | 1 + httemplate/docs/upgrade8.html | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) (limited to 'httemplate/docs') diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html index 0cafc8280..63f6baba9 100644 --- a/httemplate/docs/config.html +++ b/httemplate/docs/config.html @@ -107,6 +107,7 @@ All further configuration files and directories are located in
  • soaretry - SOA retry for new domains
  • statedefault - Default state or province (if not supplied, the default is `CA')
  • textradiusprepend - DEPRECIATED, use RADIUS check attributes instead. This option will be removed soon. The contents of this file will be prepended to the first line of a user's RADIUS entry in text exports. +
  • unsuspendauto _ The existance of this file will enable the automatic unsuspension of suspended packages when a customer's balance due changes from positive to zero or negative as the result of a payment or credit.
  • usernamemin - Minimum username length (default 2);
  • usernamemax - Maximum username length (default is the size of the SQL column, probably specified when fs-setup was run)
  • username-letter - The existance of this file will turn on the requirement that usernames contain at least one letter. diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 53eb8f856..44644dc91 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -51,7 +51,7 @@ $ mysql -u root -p mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';
  • with PostgreSQL -
  • Add the freeside database to your database engine. (with MySQL) (with PostgreSQL) +
  • Add the freeside database to your database engine. (with MySQL) (with PostgreSQL)
  • Unpack the tarball:
    gunzip -c fs-x.y.z.tar.gz | tar xvf -
  • Build and install the Perl libraries:
    diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html
    index c3cb51425..d831c59f4 100644
    --- a/httemplate/docs/schema.html
    +++ b/httemplate/docs/schema.html
    @@ -154,6 +154,7 @@
             
  • expire - (future) cancellation date
  • cancel - (past) cancellation date
  • otaker - order taker +
  • manual_flag - If this field is set to 1, disables the automatic unsuspensiond of this package when using the unsuspendauto config file.
  • cust_refund - Refunds. The transfer of money to a customer; equivalent to a negative cust_pay record.
      diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index afb84296e..79eb6da3f 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -134,6 +134,7 @@ ALTER TABLE cust_main ADD referral_custnum integer NULL; ALTER TABLE cust_pay ADD custnum integer; ALTER TABLE cust_pay_batch ADD paybatchnum integer; ALTER TABLE cust_refund ADD custnum integer; +ALTER TABLE cust_pkg ADD manual_flag char(1) NULL; 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 ); -- cgit v1.2.1