/**
  * 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 = FeesPaymentType::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }
 private static function loadItems()
 {
     self::$_items = array();
     $models = self::model()->findAll();
     foreach ($models as $model) {
         self::$_items[$model->id] = $model->fees_type_name;
     }
 }
?>
</td>
</tr>	
</table>
<div>&nbsp;</div>

	<?php 
//echo $form->errorSummary($model);
?>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'fees_payment');
?>
		<?php 
echo $form->dropdownList($model, 'fees_payment', FeesPaymentType::items());
?>
		<?php 
echo $form->error($model, 'fees_payment');
?>
	</div>

	<?php 
echo $form->hiddenField($model, 'fees_master_id', array('value' => $model->fees_payment_master_id));
?>
	<?php 
echo $form->hiddenField($model, 'student_id', array('value' => $_REQUEST['id']));
?>

	<div class="row buttons">
		<?php