clean up lingering comments.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@302 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-11 00:46:31 +00:00
parent 30292bb4f5
commit 62b27ec255

View File

@@ -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