Removed monetary_source_type. It was redundant, and it's entirely unclear what purpose it ultimately would or could serve. Our use of different accounts for Check, Cash, etc likely obsoleted any intention we might have had for monetary_source_type

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@288 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-09 08:28:34 +00:00
parent 112aa7cf59
commit 7a31f5cbd2
11 changed files with 36 additions and 133 deletions

View File

@@ -871,14 +871,18 @@ INSERT INTO `pmgr_accounts` (`type`, `name`, `tillable`, `depositable`, `chargea
('LIABILITY', 'Customer Credit', 0, 0, 1, 1),
('ASSET', 'Petty Cash', 0, 0, 0, 0),
('ASSET', 'Bank', 0, 1, 0, 0),
('ASSET', 'Cash', 1, 0, 0, 0),
('ASSET', 'Check', 1, 0, 0, 0),
('ASSET', 'Money Order', 1, 0, 0, 0),
('ASSET', 'ACH', 0, 0, 0, 1),
('ASSET', 'Cash', 1, 0, 0, 1),
('ASSET', 'Check', 1, 0, 0, 1),
('ASSET', 'Money Order', 1, 0, 0, 1),
('LIABILITY', 'Security Deposit', 0, 0, 1, 1),
('INCOME', 'Rent', 0, 0, 1, 0),
('INCOME', 'Late Charge', 0, 0, 1, 0),
('EXPENSE', 'Concession', 0, 0, 0, 1),
('EXPENSE', 'Bad Debt', 0, 0, 0, 1);
('EXPENSE', 'Bad Debt', 0, 0, 0, 1),
('EXPENSE', 'Cleaning', 0, 0, 0, 0),
('EXPENSE', 'Maintenance', 0, 0, 0, 0);
UNLOCK TABLES;
@@ -1028,7 +1032,6 @@ CREATE TABLE `pmgr_monetary_sources` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` VARCHAR(80) DEFAULT NULL,
monetary_type_id INT(10) UNSIGNED NOT NULL,
-- REVISIT <AP>: 20090605
-- Check Number;
@@ -1054,37 +1057,6 @@ CREATE TABLE `pmgr_monetary_sources` (
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------------------------------------------------
-- ----------------------------------------------------------------------
-- TABLE pmgr_monetary_types
DROP TABLE IF EXISTS `pmgr_monetary_types`;
CREATE TABLE `pmgr_monetary_types` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` VARCHAR(80) NOT NULL,
`comment` VARCHAR(255) DEFAULT NULL,
`tillable` TINYINT(1) NOT NULL DEFAULT 1, -- Does manager collect by hand?
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
LOCK TABLES `pmgr_monetary_types` WRITE;
INSERT INTO `pmgr_monetary_types` (`id`, `name`, `tillable`)
VALUES
-- (1, 'Transfer', 0),
(2, 'Cash', 1),
(3, 'Check', 1),
(4, 'Money Order', 1),
(5, 'ACH', 0),
(6, 'Debit Card', 0),
(7, 'Credit Card', 0),
(8, 'Other Tillable', 1),
(9, 'Other Non-Tillable', 0);
UNLOCK TABLES;
-- ######################################################################
-- ######################################################################