link('#'.$entry['Transaction']['id'], array('controller' => 'transactions', 'action' => 'view', $entry['Transaction']['id']))), array('Timestamp', FormatHelper::datetime($entry['Transaction']['stamp'])), array('Source', $entry['MonetarySource']['id']), array('Amount', FormatHelper::currency($entry['LedgerEntry']['amount'])), array('Debit', ($html->link($entry['DebitLedger']['Account']['name'], array('controller' => 'accounts', 'action' => 'view', $entry['DebitLedger']['Account']['id'])) . ' (' . $html->link('#' . $entry['DebitLedger']['Account']['id'] . '-' . $entry['DebitLedger']['sequence'], array('controller' => 'ledgers', 'action' => 'view', $entry['DebitLedger']['id'])) . ')')), array('Credit', ($html->link($entry['CreditLedger']['Account']['name'], array('controller' => 'accounts', 'action' => 'view', $entry['CreditLedger']['Account']['id'])) . ' (' . $html->link('#' . $entry['CreditLedger']['Account']['id'] . '-' . $entry['CreditLedger']['sequence'], array('controller' => 'ledgers', 'action' => 'view', $entry['CreditLedger']['id'])) . ')')), array('Comment', $entry['LedgerEntry']['comment'])); echo $this->element('table', array('class' => 'item ledger-entry detail', 'caption' => 'Ledger Entry Detail', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * LedgerEntry Info Box */ ?>