element('table', array('class' => 'item unit detail', 'caption' => 'Unit Info', 'rows' => $rows, 'column_class' => array('field', 'value'))); /********************************************************************** * Unit Info Box */ ?>
Security Deposit:
Balance:
element('leases', array('caption' => 'Lease History', 'leases' => $unit['Lease'])); /********************************************************************** * Ledger History */ /* foreach($unit['Lease'] AS $lease) { */ /* pr($lease); */ /* $caption = 'Lease #'.$lease['number'].' (Tenant: '.$lease['Customer']['name'].')'; */ /* echo $this->element('lease', */ /* array('caption' => $caption, */ /* 'entries' => $lease['Customer']['Transaction'], */ /* 'ledger' => array('mix'=>1))); */ /* } */ /* End "detail supporting" DIV */ ?>