diff --git a/site/views/ledger_entries/view.ctp b/site/views/ledger_entries/view.ctp index ceddf47..8302350 100644 --- a/site/views/ledger_entries/view.ctp +++ b/site/views/ledger_entries/view.ctp @@ -82,7 +82,6 @@ $rows[] = array('Monetary Source', (isset($source['name']) 'action' => 'view', $source['id'])) : null)); -//$rows[] = array('Amount', FormatHelper::currency($entry['amount'])); $rows[] = array('Comment', $entry['comment']); echo $this->element('table', @@ -165,10 +164,6 @@ foreach ($ledgers AS $type => $ledger) { if (!$ledger['Account']['trackable']) continue; - //$verb = ($ledger['Account']['ftype'] == $type) ? 'REDUCTION' : 'INCREASE'; - $caption = ('Matching ' . (($type == 'credit') ? 'DEBITS' : 'CREDITS') . - ' from Account ' . $ledger['Account']['name']); - //$caption = ('Reconciled Entries ' . ($ledger['Account']['ftype'] == $type ? 'OUT OF' : 'INTO') . $caption = ('Applied transfers ' . ($ledger['Account']['ftype'] == $type ? 'out of' : 'into') . ' Account: ' . $ledger['Account']['name']); echo $this->element('ledger_entries', array