Modified the application to reflect the changed field names in the accounts table. For example, payable is now payments.

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@380 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-24 03:22:56 +00:00
parent 446ba0ce28
commit 991d4d717e
2 changed files with 25 additions and 40 deletions

View File

@@ -208,8 +208,8 @@ class AccountsController extends AppController {
}
// Prepare a close page...
$tillable_account = $this->Account->relatedAccounts('tillable');
$depositable_account = $this->Account->relatedAccounts('depositable');
$tillable_account = $this->Account->paymentAccounts();
$depositable_account = $this->Account->depositAccounts();
foreach ($tillable_account AS &$acct) {
$acct['Account']['stats'] = $this->Account->stats($acct['Account']['id']);