<p class="note">Fields with <span class="required">*</span> are required.</p> <?php //echo $form->errorSummary($model); ?> <div class="row"> <?php echo $form->labelEx($model, 'miscellaneous_fees_payment_cash_master_id'); ?> <?php //echo $form->textField($model,'miscellaneous_fees_id'); ?> <?php echo $form->dropDownList($model, 'miscellaneous_fees_payment_cash_master_id', CHtml::listData(MiscellaneousFeesMaster::model()->findAll(array('condition' => 'miscellaneous_organization_id=' . Yii::app()->user->getState('org_id'))), 'miscellaneous_fees_id', 'miscellaneous_fees_name'), array('empty' => 'Select Fees ', 'tabindex' => 3)); ?> <span class="status"> </span> <?php echo $form->error($model, 'miscellaneous_fees_payment_cash_master_id'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'miscellaneous_fees_payment_cash_amount'); ?> <?php echo $form->textField($model, 'miscellaneous_fees_payment_cash_amount', array('size' => 20, 'maxlength' => 7)); ?>
</td> <td> <?php echo $v['miscellaneous_fees_payment_cheque_branch']; ?> </td> <td> <?php echo $v['miscellaneous_fees_payment_cheque_receipt_id']; ?> </td> <td> <?php echo MiscellaneousFeesMaster::model()->findByPk($v['miscellaneous_fees_payment_cheque_master_id'])->miscellaneous_fees_name; ?> </td> <td> <?php echo $v['miscellaneous_fees_payment_cheque_amount']; ?> </td> <td> <?php echo date("d-m-Y", strtotime($v['miscellaneous_fees_payment_cheque_creation_date'])); ?> </td>
</div> <div class="rcpt_dtl"> <span class="rcpt_dd_dt"><?php //echo date_format(date_create($misc_fees_payment->miscellaneous_fees_payment_cash_creation_date),"d-m-Y"); ?> </span> <span class="rcpt_cash"></span><span class="style2">by CASH </span> </div> <div class="rcpt_sem_dtl"> <span class="style2 rcpt_title">of</span> <span class="semester"><?php echo $acd_term->academic_terms_period_name; ?> </span> <span class="style2 rcpt_title"> being payment of <?php echo MiscellaneousFeesMaster::model()->findByPk($misc_fees_payment->miscellaneous_fees_payment_cash_master_id)->miscellaneous_fees_name; ?> towards</span> <span class="style2 rcpt_title">Enrollment no. </span> <span class="rno"><?php echo $stud_model->student_enroll_no; ?> </span> </div> <div class="rcpt_pd"> <div class="rcpt_pd_left"> <div class="rcpt_amt_nmr style2">Rs.<?php echo $misc_fees_payment->miscellaneous_fees_payment_cash_amount; ?> .00</div> </div>
/** * Returns the data model based on the primary key given in the GET variable. * If the data model is not found, an HTTP exception will be raised. * @param integer the ID of the model to be loaded */ public function loadModel($id) { $model = MiscellaneousFeesMaster::model()->findByPk($id); if ($model === null) { throw new CHttpException(404, 'The requested page does not exist.'); } return $model; }