Added a datepicker to the move-out view and put the input fields of both move-in and move-out into a table to tidy things up a bit.
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@225 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -139,8 +139,15 @@ echo $form->input("Lease.unit_id",
|
||||
'type' => 'hidden',
|
||||
'value' => 0));
|
||||
|
||||
echo 'Date: <input id="datepicker" name="data[Lease][movein_date]" type="text" /><BR>' . "\n";
|
||||
echo 'Comment: <input id="comment" name="data[Lease][comment]" type="text" SIZE=80 /><BR>' . "\n";
|
||||
echo $this->element('form_table',
|
||||
array('class' => "item move-in entry",
|
||||
'field_prefix' => 'Lease',
|
||||
'fields' => array
|
||||
("movein_date" => array('opts' => array('type' => 'text',
|
||||
'id' => 'datepicker')),
|
||||
"comment" => array('opts' => array('size' => 50)),
|
||||
)));
|
||||
|
||||
echo $form->end('Move In Customer');
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user