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/site@225 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-06 04:32:14 +00:00
parent 8237ca1f9d
commit d51c29bc91
2 changed files with 42 additions and 5 deletions

View File

@@ -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');
?>