Added links everywhere for charge/payment/receipt. Also, minor tweaking to the views in a couple places.

git-svn-id: file:///svn-source/pmgr/branches/initial_20090526@64 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-01 08:39:33 +00:00
parent b6ec85205d
commit 24730fda1b
6 changed files with 51 additions and 24 deletions

View File

@@ -24,7 +24,10 @@ function datefmt($date) {
$rows = array(array('ID', $payment['Payment']['id']),
array('Type', $payment['PaymentType']['name']),
array('Receipt', '#'.$payment['Receipt']['id']),
array('Receipt', $html->link('#'.$payment['Receipt']['id'],
array('controller' => 'receipts',
'action' => 'view',
$payment['Receipt']['id']))),
array('Amount', currency($payment['Payment']['amount'])),
array('Comment', $payment['Payment']['comment']));