Rolled back the last changes, which were checked in for documentation only.
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526/site@57 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -97,22 +97,11 @@ foreach($unit['Lease'] AS $lease) {
|
||||
$running_total += $amount;
|
||||
$rows[] = array(' -- ' . datefmt($receipt['stamp']),
|
||||
'#'.$receipt['id'],
|
||||
'Receipt',
|
||||
'Payment Applied',
|
||||
$receipt['comment'],
|
||||
currency($amount),
|
||||
currency($running_total));
|
||||
$row_class[] = array('receipt', ($odd % 2) ? 'oddrow' : 'evnrow');
|
||||
|
||||
foreach ($receipt['Payment'] AS $payment) {
|
||||
$amount = -1 * $payment['amount'];
|
||||
$rows[] = array(' -- ',
|
||||
'#'.$payment['id'],
|
||||
'Payment',
|
||||
$payment['comment'],
|
||||
currency($amount),
|
||||
'');
|
||||
$row_class[] = array('payment', ($odd % 2) ? 'oddrow' : 'evnrow');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user