Moved ledgers over the jqGrid. Working reasonably well at the moment.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@131 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-15 06:22:38 +00:00
parent 5fd7483ac1
commit e3b838d62a
6 changed files with 132 additions and 168 deletions

View File

@@ -1,14 +0,0 @@
<div class="ledgers index">
<?php
function currency($number) {
if (!isset($number))
return null;
if ($number < 0)
return "($ " . number_format(-1*$number, 2) . ")";
else
return "$ " . number_format($number, 2);
}
?>
<?php echo $this->element('ledgers', array('heading' => '<h2>'.$heading.'</h2>')) ?>
</div>