Checking in changes from some time ago, changing the reports screen to give direct Quickbooks invoice and credits info.

git-svn-id: file:///svn-source/pmgr/branches/v0.3_work@1013 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2012-06-14 01:32:44 +00:00
parent 4dffa540a0
commit b6ed57c02c
4 changed files with 16 additions and 10 deletions

View File

@@ -100,7 +100,7 @@ echo $this->element('ledger_entries', array
'filter' => array('Account.id' => $account['id']),
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Balance',
empty($account['receipts']) ? 'Tender' : null),
'include' => array('Debit', 'Credit', 'Sub-Total'),
'include' => array('Transaction', 'Debit', 'Credit', 'Sub-Total'),
'limit' => 50,
)));

View File

@@ -10,7 +10,7 @@ echo '<div class="statement_entry overview">' . "\n";
*/
$rows = array();
$rows[] = array("$months Month Total", FormatHelper::currency($overview['amount']));
$rows[] = array("$months Month Total", FormatHelper::currency($overview['amount']) . " / (" . FormatHelper::currency($overview['amount'] / $months) . " per month)");
echo $this->element('table',
array('class' => 'item statement_entry detail',