Customers is working somewhat. I want to see if the grid query logic can be simplified, so I'm checking in first

git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@359 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-21 09:40:51 +00:00
parent d5bcd9a496
commit 5a16e497ad
3 changed files with 41 additions and 73 deletions

View File

@@ -62,11 +62,10 @@ echo $this->element('contacts', array
*/
echo $this->element('leases', array
('no_customer' => true,
('customer_id' => $customer['id'],
'config' => array
('caption' => 'Lease History',
'rows' => $customer['Lease'],
)));
@@ -74,10 +73,9 @@ echo $this->element('leases', array
* Customer Account History
*/
echo $this->element('entries', array
echo $this->element('ledger_entries', array
(// Element configuration
'customer_id' => $customer['Customer']['id'],
'entry_type' => array('CHARGE', 'PAYMENT'),
// Grid configuration
'config' => array