Fixed some minor display issues and tweaks to compensate for the new stats() algorithm. More are necessary, I'm sure.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@375 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -244,7 +244,11 @@ class StatementEntriesController extends AppController {
|
||||
/* } */
|
||||
|
||||
$stats = $this->StatementEntry->stats($id);
|
||||
//pr($stats);
|
||||
|
||||
if (strtoupper($entry['StatementEntry']['type']) === 'CHARGE')
|
||||
$stats = $stats['Charge'];
|
||||
else
|
||||
$stats = $stats['Payment'];
|
||||
|
||||
// Prepare to render.
|
||||
$title = "Statement Entry #{$entry['StatementEntry']['id']}";
|
||||
|
||||
Reference in New Issue
Block a user