element('table', array('class' => 'item account detail', 'caption' => 'Account Detail', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * Account Info Box */ ?>
Account Balance:
element('ledgers', array('caption' => $account['Account']['name'] . " Ledgers", 'ledgers' => $account['Ledger'])); /********************************************************************** * Current Ledger */ echo $this->element('ledger_entries', array('caption' => "Current Ledger: (#{$account['CurrentLedger']['sequence']})", 'ledger_entries' => $account['CurrentLedger']['LedgerEntry'])); /* End "detail supporting" DIV */ ?>