' . "\n"; /********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** * MonetarySource Detail Main Section */ $source = $monetarySource['MonetarySource']; $rows = array(array('ID', $source['id']), array('Name', $source['name']), array('Data 1', $source['data1']), array('Data 2', $source['data2']), array('Data 3', $source['data3']), array('Data 4', $source['data4']), array('Comment', $source['comment'])); echo $this->element('table', array('class' => 'item monetary-source detail', 'caption' => 'Monetary Source Detail', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * MonetarySource Info Box */ echo '
' . "\n"; $rows = array(); echo $this->element('table', array('class' => 'summary', 'rows' => $rows, 'column_class' => array('field', 'value'), 'suppress_alternate_rows' => true, )); echo '
' . "\n"; /********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** * Supporting Elements Section */ echo '
' . "\n"; /********************************************************************** * Ledger Entries */ echo $this->element('ledger_entries', array (// Element configuration 'monetary_source_id' => $source['id'], // Grid configuration 'config' => array ('caption' => "Ledger Entries", ), )); /* End "detail supporting" div */ echo '
' . "\n"; /* End page div */ echo '' . "\n";