Finally, a working NSF implementation. Ledger Entry tracking stops at the Bank account, since we switch from positive to negative ledger entries. However, we're not going to reconcile debits to credits in the bank account anyway, so I just disabled tracking on the account.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@334 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-15 03:06:59 +00:00
parent d1075a2ea2
commit 50c4ee225f
6 changed files with 85 additions and 47 deletions

View File

@@ -883,10 +883,11 @@ INSERT INTO `pmgr_accounts` (`type`, `name`, `tillable`, `payable`, `refundable`
('ASSET', 'Money Order', 1, 1, 0),
('ASSET', 'ACH', 0, 1, 0),
('EXPENSE', 'Concession', 0, 1, 0);
INSERT INTO `pmgr_accounts` (`type`, `name`, `tillable`, `payable`, `refundable`, `depositable`)
INSERT INTO `pmgr_accounts` (`type`, `name`, `refundable`, `depositable`)
VALUES
-- REVISIT <AP>: 20090710 : We probably don't really want petty cash depositable
('ASSET', 'Petty Cash', 0, 0, 1, 1);
-- 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);
INSERT INTO `pmgr_accounts` (`type`, `name`, `chargeable`, `trackable`)
VALUES
('LIABILITY', 'Tax', 1, 1),
@@ -895,9 +896,9 @@ INSERT INTO `pmgr_accounts` (`type`, `name`, `chargeable`, `trackable`)
('INCOME', 'Late Charge', 1, 0),
('INCOME', 'NSF Charge', 1, 0),
('INCOME', 'Damage', 1, 0);
INSERT INTO `pmgr_accounts` (`type`, `name`, `depositable`)
INSERT INTO `pmgr_accounts` (`type`, `name`, `depositable`, `trackable`)
VALUES
('ASSET', 'Bank', 1);
('ASSET', 'Bank', 1, 0);
INSERT INTO `pmgr_accounts` (`type`, `name`, `trackable`)
VALUES
('EXPENSE', 'Bad Debt', 0),