More tweaking to all of the grid displays. This was mostly visual, but includes some bug fixes as well (such as a manual filter override in the ledger_entries controller).

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@371 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-23 16:53:33 +00:00
parent 9dccbfeda8
commit 708759765f
15 changed files with 77 additions and 57 deletions

View File

@@ -67,6 +67,7 @@ echo $this->element('leases', array
'config' => array
('caption' => 'Lease History',
'filter' => array('Unit.id' => $unit['id']),
'exclude' => array('Unit'),
)));
@@ -75,7 +76,7 @@ echo $this->element('leases', array
*/
if (isset($current_lease['id'])) {
echo $this->element('ledger_entries', array
echo $this->element('statement_entries', array
(// Grid configuration
'config' => array
(
@@ -84,6 +85,8 @@ if (isset($current_lease['id'])) {
. $current_lease['Customer']['name']
. ')'),
'filter' => array('Lease.id' => $current_lease['id']),
'include' => array('Through'),
'exclude' => array('Customer', 'Lease', 'Unit'),
)));
}