'dateFormat'=>'dd-mm-yy', 'changeYear'=>'true', 'changeMonth'=>'true', 'showAnim' =>'slide', 'yearRange'=>'1900:'.(date('Y')+1), 'buttonImage'=>Yii::app()->request->baseUrl.'/images/calendar.png', ), 'htmlOptions'=>array( 'style'=>'width:80px;vertical-align:top', 'readonly'=>true, ), )); ?><span class="status"> </span> <?php echo $form->error($model,'fees_payment_cheque_date'); ?> </div> <div class="row"> <?php echo $form->labelEx($model,'fees_payment_cheque_bank'); ?> <?php echo $form->dropdownList($model,'fees_payment_cheque_bank', BankMaster::items(),array('empty' => 'Select Bank')); ?><span class="status"> </span> <?php echo $form->error($model,'fees_payment_cheque_bank'); ?> </div> </div><!-- form --> <div class="row buttons"> <?php echo CHtml::submitButton($model->isNewRecord ? 'Add' : 'Save', array('class'=>'submit')); ?> <?php echo CHtml::link('Cancel', array('create','id'=>$_REQUEST['id']), array('class'=>'btnCan')); ?> </div> <?php $this->endWidget(); ?> </div>
<?php $this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $pay_cheque, 'attribute' => 'fees_payment_cheque_date', 'options' => array('dateFormat' => 'dd-mm-yy', 'changeYear' => 'true', 'changeMonth' => 'true', 'showAnim' => 'slide', 'yearRange' => '1900:' . (date('Y') + 1), 'buttonImage' => Yii::app()->request->baseUrl . '/images/calendar.png'), 'htmlOptions' => array('style' => 'width:80px;vertical-align:top', 'readonly' => true))); ?> <span class="status"> </span> <?php echo $form->error($pay_cheque, 'fees_payment_cheque_date'); ?> </div> <div class="row"> <?php echo $form->labelEx($pay_cheque, 'fees_payment_cheque_bank'); ?> <?php echo $form->dropdownList($pay_cheque, 'fees_payment_cheque_bank', BankMaster::items(), array('empty' => 'Select Bank')); ?> <span class="status"> </span> <?php echo $form->error($pay_cheque, 'fees_payment_cheque_bank'); ?> </div> <div class="row"> <?php echo $form->labelEx($pay_cheque, 'fees_payment_cheque_branch'); ?> <?php echo $form->textField($pay_cheque, 'fees_payment_cheque_branch'); ?> <span class="status"> </span>
<?php $this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'miscellaneous_fees_payment_cheque_date', 'options' => array('dateFormat' => 'dd-mm-yy', 'changeYear' => 'true', 'changeMonth' => 'true', 'showAnim' => 'slide', 'yearRange' => '1900:' . (date('Y') + 1), 'buttonImage' => Yii::app()->request->baseUrl . '/images/calendar.png'), 'htmlOptions' => array('style' => 'width:80px;vertical-align:top', 'readonly' => true))); ?> <span class="status"> </span> <?php echo $form->error($model, 'miscellaneous_fees_payment_cheque_date'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'miscellaneous_fees_payment_cheque_bank'); ?> <?php echo $form->dropdownList($model, 'miscellaneous_fees_payment_cheque_bank', BankMaster::items(), array('empty' => 'Select Bank', 'tabindex' => 4)); ?> <span class="status"> </span> <?php echo $form->error($model, 'miscellaneous_fees_payment_cheque_bank'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'miscellaneous_fees_payment_cheque_branch'); ?> <?php echo $form->textField($model, 'miscellaneous_fees_payment_cheque_branch', array('size' => 50, 'maxlength' => 50, 'tabindex' => 5)); ?>