Implemented very crude attempt at security privleges. This is not really intended to be security, just a quick and dirty mechanism to avoid prying eyes. More robust security is left to future implementation.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@538 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -872,47 +872,45 @@ CREATE TABLE `pmgr_accounts` (
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
LOCK TABLES `pmgr_accounts` WRITE;
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `level`)
|
||||
VALUES
|
||||
('EQUITY', 'Equity', 1),
|
||||
('LIABILITY', 'Loan', 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`)
|
||||
VALUES
|
||||
('ASSET', 'A/R' ),
|
||||
-- REVISIT <AP>: 20090710 : We don't really need NSF, as it
|
||||
-- will always run a zero balance. However, it will help
|
||||
-- us identify how serious the NSF situation is.
|
||||
('ASSET', 'NSF' ),
|
||||
('LIABILITY', 'A/P' );
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `receipts`, `refunds`)
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `receipts`)
|
||||
VALUES
|
||||
('ASSET', 'Cash', 1, 0),
|
||||
('ASSET', 'Check', 1, 0),
|
||||
('ASSET', 'Money Order', 1, 0),
|
||||
('ASSET', 'ACH', 1, 0),
|
||||
('ASSET', 'Closing', 0, 0), -- REVISIT <AP>: Temporary
|
||||
('EXPENSE', 'Concession', 1, 0),
|
||||
('EXPENSE', 'Waiver', 0, 0);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `refunds`, `deposits`)
|
||||
('ASSET', 'Cash', 1),
|
||||
('ASSET', 'Check', 1),
|
||||
('ASSET', 'Money Order', 1),
|
||||
('ASSET', 'ACH', 1),
|
||||
('EXPENSE', 'Concession', 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`)
|
||||
VALUES
|
||||
-- REVISIT <AP>: 20090710 : We probably don't really want petty cash depositable.
|
||||
-- This is just for testing our deposit code
|
||||
('ASSET', 'Petty Cash', 1, 1);
|
||||
('ASSET', 'NSF' ),
|
||||
('EXPENSE', 'Waiver' ),
|
||||
('EXPENSE', 'Bad Debt' );
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `invoices`)
|
||||
VALUES
|
||||
('LIABILITY', 'Tax', 1),
|
||||
('LIABILITY', 'Tax', 0),
|
||||
('LIABILITY', 'Security Deposit', 1),
|
||||
('INCOME', 'Rent', 1),
|
||||
('INCOME', 'Late Charge', 1),
|
||||
('INCOME', 'NSF Charge', 1),
|
||||
('INCOME', 'Cleaning', 1),
|
||||
('INCOME', 'Damage', 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `deposits`, `refunds`)
|
||||
VALUES
|
||||
('ASSET', 'Bank', 1, 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`)
|
||||
VALUES
|
||||
('EXPENSE', 'Bad Debt' ),
|
||||
('EXPENSE', 'Maintenance' );
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `refunds`)
|
||||
VALUES
|
||||
('ASSET', 'Petty Cash', 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `level`, `deposits`, `refunds`)
|
||||
VALUES
|
||||
('ASSET', 'Bank', 6, 1, 1);
|
||||
INSERT INTO `pmgr_accounts` (`type`, `name`, `level`)
|
||||
VALUES
|
||||
('ASSET', 'Closing', 6),
|
||||
('LIABILITY', 'Loan', 1),
|
||||
('EQUITY', 'Equity', 1);
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user