Moved ledgers over the jqGrid. Working reasonably well at the moment.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@131 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user