link($ledger['Account']['name'], array('controller' => 'accounts', 'action' => 'view', $ledger['Account']['id']))), array('Status', $ledger['Ledger']['closed'] ? 'Closed' : 'Open'), array('Comment', $ledger['Ledger']['comment'])); echo $this->element('table', array('class' => 'item ledger detail', 'caption' => 'Ledger Detail', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * Ledger Info Box */ ?>
Ledger Balance:
element('ledger_entries', array('caption' => $ledger['Ledger']['name'], 'ledger_entries' => $ledger['LedgerEntry'])); /* End "detail supporting" DIV */ ?>