<?php
// +---------------------------------------------------------------------------------------+
// | TenderSystem                                                                          |
// +---------------------------------------------------------------------------------------+
// | The contents of this file are subject to the TenderSystem Public License Version 1.1  |
// | ("License"); you may not use this file except in compliance with the License. You may |
// | obtain a copy of the License at http://www.tendersystem.com/tpl/                      |
// |                                                                                       |
// | Software distributed under the License is distributed on an "AS IS" basis, WITHOUT    |
// | WARRANTY OF ANY KIND, either express or implied. See the License for the specific     |
// | language governing rights and limitations under the License.                          |
// |                                                                                       |
// | All copies of the Covered Code must include the "Powered by TenderSystem" logo and    |
// | ValueCard copyright notice on every user interface screen and in every outgoing       |
// | email in the same form as they appear in the distribution.                            |
// |                                                                                       |
// | The Original Code is: TenderSystem                                                    |
// | The Initial Developer of the Original Code is ValueCard (Pty) Limited.                |
// | Portions created by ValueCard are Copyright (C) 2002 ValueCard (Pty) Limited.         |
// | All Rights Reserved.                                                                  |
// | Contributor(s): __________________.                                                   |
// +---------------------------------------------------------------------------------------+


/*CREATE TABLE ~organisation (
  id integer NOT NULL,
  classification integer default '0' NOT NULL,
  rep_user_id integer default '0' NOT NULL,
  rep_position varchar(50) default '' NOT NULL,
  transaction_fee decimal(5,2) default '0' NOT NULL,
  transaction_min decimal(7,2) default '0' NOT NULL,
  user_fee decimal(7,2) default '0' NOT NULL,
  sms_fee decimal(5,2) default '0' NOT NULL,
  rating char(1) default 'C' NOT NULL,
  status char(1) default '0' NOT NULL,
  created_date date, created_time time,
  created_by integer default '0' NOT NULL,
  deleted_date date, deleted_time time,
  deleted_by integer default '0',
  PRIMARY KEY  (id)
);

ALTER TABLE ~organisation ADD name varchar(50) default '' NOT NULL;
ALTER TABLE ~organisation ADD vat_number varchar(50) default '' NOT NULL;
ALTER TABLE ~organisation ADD registration_number varchar(50) default '' NOT NULL;
ALTER TABLE ~organisation ADD registered_name varchar(250) default '' NOT NULL;
ALTER TABLE ~organisation ADD attachment integer default '0';

**/
$table['organisation']['set_area']		= array("integer",	"0");
$table['organisation']['set_category']	= array("integer",	"0");


?>
