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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user