' . "\n"; /********************************************************************** ********************************************************************** ********************************************************************** ********************************************************************** * Transaction Detail Main Section */ $rows = array(array('ID', $transaction['Transaction']['id']), array('Timestamp', FormatHelper::datetime($transaction['Transaction']['stamp'])), array('Through', FormatHelper::date($transaction['Transaction']['through_date'])), array('Due', FormatHelper::date($transaction['Transaction']['due_date'])), array('Comment', $transaction['Transaction']['comment'])); echo $this->element('table', array('class' => 'item transaction detail', 'caption' => 'Transaction Detail', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * Transaction Info Box */ echo '
' . "\n"; $rows = array(); $rows[] = array('Total:', FormatHelper::currency($total)); 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"; /********************************************************************** * Entries */ echo $this->element('ledger_entries', array('caption' => 'Entries in Transaction', //'ledger_entries' => $transaction['LedgerEntry'], 'transaction_id' => $transaction['Transaction']['id'], 'notxgroup' => true, )); /* End "detail supporting" div */ echo '
' . "\n"; /* End page div */ echo '' . "\n";