Minor formatting issue for the Transaction.type enums

git-svn-id: file:///svn-source/pmgr/branches/surplus_account_20090815@589 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-08-16 22:48:00 +00:00
parent 080c82fc10
commit 00d509f23d
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ $customer = $entry['Customer'];
$lease = $entry['Lease'];
$entry = $entry['StatementEntry'];
$Ttype = ucfirst(strtolower($transaction['type']));
$Ttype = ucwords(strtolower(str_replace('_', ' ', $transaction['type'])));
$rows = array();
$rows[] = array('ID', $entry['id']);

View File

@@ -18,7 +18,7 @@ if (isset($transaction['Transaction']))
$rows = array();
$rows[] = array('ID', $transaction['id']);
$rows[] = array('Type', $transaction['type']);
$rows[] = array('Type', str_replace('_', ' ', $transaction['type']));
$rows[] = array('Timestamp', FormatHelper::datetime($transaction['stamp']));
$rows[] = array('Amount', FormatHelper::currency($transaction['amount']));
$rows[] = array('Account', $html->link($account['name'],