Added a ledger listing to the Lease view page, which was otherwise quite empty.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@168 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-18 04:19:17 +00:00
parent d06f34de9a
commit f7bcfef665
2 changed files with 15 additions and 1 deletions

View File

@@ -79,6 +79,16 @@ echo '</div>' . "\n";
echo '<div CLASS="detail supporting">' . "\n";
/**********************************************************************
* Current Ledger
*/
echo $this->element('ledger_entries',
array('caption' => "Current Ledger: (#{$account['id']}-{$account['CurrentLedger']['sequence']})",
'ledger_id' => $account['CurrentLedger']['id'],
'account_type' => $account['type'],
));
/* End "detail supporting" div */
echo '</div>' . "\n";