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/site@334 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -153,6 +153,8 @@ class AccountsController extends AppController {
|
||||
}
|
||||
|
||||
$payment_accounts = $this->Account->paymentAccounts();
|
||||
$payment_accounts[$this->Account->nsfAccountID()] =
|
||||
$this->Account->name($this->Account->nsfAccountID());
|
||||
$default_accounts = array_diff_key($payment_accounts,
|
||||
array($this->Account->concessionAccountID() => 1));
|
||||
$this->set(compact('payment_accounts', 'default_accounts'));
|
||||
|
||||
Reference in New Issue
Block a user