?> </div> </div> <div class="row"> <div class="full-multicolumn-first"> <?php echo $form->labelEx($model, 'date_end'); ?> <?php /*if(!$model->date_end){ $model->date_end = Yii::app()->dateFormatter->formatDateTime(time()+60*60*24, 'medium', null); }*/ if (!$isSimpleForm && $useBookingCalendar) { $this->widget('application.modules.bookingcalendar.extensions.FFJuiDatePicker', array('model' => $model, 'attribute' => 'date_end', 'range' => 'eval_period', 'language' => Yii::app()->language, 'options' => array('showAnim' => 'fold', 'dateFormat' => Booking::getJsDateFormat(), 'minDate' => 'new Date()'))); } else { $this->widget('application.extensions.FJuiDatePicker', array('model' => $model, 'attribute' => 'date_end', 'range' => 'eval_period', 'language' => Yii::app()->language, 'options' => array('showAnim' => 'fold', 'dateFormat' => Booking::getJsDateFormat(), 'minDate' => 'new Date()'))); } ?> <?php echo $form->error($model, 'date_end'); ?> </div> <div class="full-multicolumn-second"> <?php echo $form->labelEx($model, 'time_out'); ?> <?php echo $form->dropDownList($model, 'time_out', $this->getTimesOut(), array('class' => 'width150')); ?> <?php echo $form->error($model, 'time_out');
<div class="<?php echo $divClass; ?> "> <div class="<?php echo $controlClass; ?> "> <?php $bStart = isset($this->bStart) ? $this->bStart : HDate::formatForDatePicker(time()); $bEnd = isset($this->bEnd) ? $this->bEnd : null; echo tc('Booking from') . ': '; $this->widget('application.extensions.FJuiDatePicker', array('name' => 'b_start', 'value' => $bStart, 'range' => 'eval_period', 'language' => Yii::app()->controller->datePickerLang, 'options' => array('showAnim' => 'fold', 'dateFormat' => Booking::getJsDateFormat(), 'minDate' => 'new Date()'), 'htmlOptions' => array('class' => 'width70', 'readonly' => 'true'))); echo ' ' . tc('to') . ': '; $this->widget('application.extensions.FJuiDatePicker', array('name' => 'b_end', 'value' => $bEnd, 'range' => 'eval_period', 'language' => Yii::app()->controller->datePickerLang, 'options' => array('showAnim' => 'fold', 'dateFormat' => Booking::getJsDateFormat(), 'minDate' => 'new Date()'), 'htmlOptions' => array('class' => 'width70', 'readonly' => 'true'))); ?> </div> </div>