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:
@@ -15,7 +15,7 @@ $customer = $entry['Customer'];
|
|||||||
$lease = $entry['Lease'];
|
$lease = $entry['Lease'];
|
||||||
$entry = $entry['StatementEntry'];
|
$entry = $entry['StatementEntry'];
|
||||||
|
|
||||||
$Ttype = ucfirst(strtolower($transaction['type']));
|
$Ttype = ucwords(strtolower(str_replace('_', ' ', $transaction['type'])));
|
||||||
|
|
||||||
$rows = array();
|
$rows = array();
|
||||||
$rows[] = array('ID', $entry['id']);
|
$rows[] = array('ID', $entry['id']);
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ if (isset($transaction['Transaction']))
|
|||||||
|
|
||||||
$rows = array();
|
$rows = array();
|
||||||
$rows[] = array('ID', $transaction['id']);
|
$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('Timestamp', FormatHelper::datetime($transaction['stamp']));
|
||||||
$rows[] = array('Amount', FormatHelper::currency($transaction['amount']));
|
$rows[] = array('Amount', FormatHelper::currency($transaction['amount']));
|
||||||
$rows[] = array('Account', $html->link($account['name'],
|
$rows[] = array('Account', $html->link($account['name'],
|
||||||
|
|||||||
Reference in New Issue
Block a user