From 959663cd4d4885295f44de43ac005e55d054102f Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 31 Jan 2000 05:22:23 +0000 Subject: prepaid "internet cards" --- htdocs/docs/schema.html | 10 ++++++++-- htdocs/docs/signup.html | 3 ++- htdocs/docs/upgrade5.html | 7 +++++++ 3 files changed, 17 insertions(+), 3 deletions(-) (limited to 'htdocs') diff --git a/htdocs/docs/schema.html b/htdocs/docs/schema.html index 92965d795..3eea6f69d 100644 --- a/htdocs/docs/schema.html +++ b/htdocs/docs/schema.html @@ -154,8 +154,8 @@
  • part_referral - Referral listing
  • part_svc - Service definitions +
  • prepay_credit +
  • svc_acct - Accounts -(an example file is included as fs_signup/ieak.template) + (an example file is included as fs_signup/ieak.template) +
  • If there are any entries in the prepay_credit table, a user can enter a string matching the identifier column to receive the credit specified in the amount column, after which that identifier is no longer valid. This can be used to implement pre-paid "calling card" type signups. diff --git a/htdocs/docs/upgrade5.html b/htdocs/docs/upgrade5.html index 82a7602a3..fc4bf2c39 100644 --- a/htdocs/docs/upgrade5.html +++ b/htdocs/docs/upgrade5.html @@ -12,6 +12,13 @@
  • Apply the following changes to your database:
     ALTER TABLE svc_acct_pop ADD loc CHAR(4);
    +CREATE TABLE prepay_credit (
    +  prepaynum int NOT NULL,
    +  identifier varchar(80) NOT NULL,
    +  amount decimal(10,2) NOT NULL,
    +  PRIMARY KEY (prepaynum),
    +  INDEX (identifier)
    +);
     
  • Copy or symlink htdocs to the new copy.
  • Remove the symlink or directory (your_site_perl_directory)/FS. -- cgit v1.2.1