diff --git a/site/views/leases/move_in.ctp b/site/views/leases/move_in.ctp index 8aa4f93..5e1a317 100644 --- a/site/views/leases/move_in.ctp +++ b/site/views/leases/move_in.ctp @@ -52,6 +52,7 @@ function resetForm() { $("#movein-customer").html("INTERNAL ERROR"); $("#unit-id").val(0); $("#movein-unit").html("INTERNAL ERROR"); + datepickerNow('LeaseMoveinDate', false); } function onRowSelect(grid_id, item_type, item_id) { @@ -159,8 +160,9 @@ 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')), + ("movein_date" => array('opts' => array('type' => 'text'), + 'between' => 'Now', + ), "comment" => array('opts' => array('size' => 50)), ))); @@ -170,11 +172,12 @@ echo $form->end('Move In Customer');