'function(ids) { if (ids != null) { onRowSelect("#"+$(this).attr("id"), ids); } }'
);
$lease_grid_setup['onHeaderClick'] = array
('--special' =>
'function(gridstate) { onGridState("#"+$(this).attr("id"), gridstate); }'
);
?>
element('leases', array
('config' => array
('grid_div_id' => 'leases-list',
'grid_div_class' => 'text-below',
'caption' => ('
'),
'grid_setup' => $lease_grid_setup,
'nolinks' => true,
'limit' => 10,
)));
echo ('
' .
'
' .
'Lease
' . ' / ' .
'Unit:
' . ' / ' .
'Customer:
' .
'
' .
'
' .
'| Rent: | |
' .
'| Late Fee: | |
' .
'| Deposit: | |
' .
'
' .
'
' .
'
' .
'
' .
'Please select lease' .
'
' .
'
' . "\n");
echo $form->create(null, array('id' => 'invoice-form',
'url' => array('controller' => 'transactions',
'action' => 'postInvoice')));
echo $form->input("Lease.id",
array('id' => 'lease-id',
'type' => 'hidden',
'value' => 0));
/* echo '
' . "\n"; */
echo $form->submit('Generate Invoice') . "\n";
?>