diff --git a/site/views/elements/accounts.ctp b/site/views/elements/accounts.ctp index db454be..c3a7d84 100644 --- a/site/views/elements/accounts.ctp +++ b/site/views/elements/accounts.ctp @@ -5,10 +5,10 @@ $cols = array(); $cols['ID'] = array('index' => 'Account.id', 'formatter' => 'id'); $cols['Name'] = array('index' => 'Account.name', 'formatter' => 'name', 'width' => '250'); $cols['Type'] = array('index' => 'Account.type', 'width' => '60'); -$cols['Entries'] = array('index' => 'Account.entries', 'width' => '60', 'align' => 'right'); -$cols['Debits'] = array('index' => 'Account.debits', 'formatter' => 'currency'); -$cols['Credits'] = array('index' => 'Account.credits', 'formatter' => 'currency'); -$cols['Balance'] = array('index' => 'Account.balance', 'formatter' => 'currency'); +$cols['Entries'] = array('index' => 'entries', 'width' => '60', 'align' => 'right'); +$cols['Debits'] = array('index' => 'debits', 'formatter' => 'currency'); +$cols['Credits'] = array('index' => 'credits', 'formatter' => 'currency'); +$cols['Balance'] = array('index' => 'balance', 'formatter' => 'currency'); $cols['Comment'] = array('index' => 'Account.comment', 'formatter' => 'comment'); $jqGrid_options = array('jqGridColumns' => $cols,