Added the charges controller and views. Fixed a couple minor bugs found with receipts.

git-svn-id: file:///svn-source/pmgr/branches/initial_20090526/site@62 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-01 08:05:53 +00:00
parent cdd274adf7
commit f473a91870
6 changed files with 301 additions and 2 deletions

View File

@@ -22,7 +22,8 @@ function datefmt($date) {
* Receipt Info
*/
$rows = array(array('Timestamp', $receipt['Receipt']['stamp']),
$rows = array(array('ID', $receipt['Receipt']['id']),
array('Timestamp', datefmt($receipt['Receipt']['stamp'])),
array('Comment', $receipt['Receipt']['comment']));
echo $this->element('table',