/**
  * 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 = BankMaster::model()->findByPk($id);
     if ($model === null) {
         throw new CHttpException(404, 'The requested page does not exist.');
     }
     return $model;
 }
示例#2
0
<?php

if (!isset($bankObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bankObj = new BankMaster();
}
if (!isset($countryObj)) {
    include_once SITE_CLASS_APPLICATION . "class.Country.php";
    $countryObj = new Country();
}
if (!isset($stateObj)) {
    include_once SITE_CLASS_APPLICATION . "class.State.php";
    $stateObj = new State();
}
if (!isset($cntstObj)) {
    include_once SITE_CLASS_GEN . "class.countrystate.php";
    $cntstObj = new CountryState();
}
$gdbobj->getRequestVars();
$view = GetVar("view");
$iBankId = GetVar("iBankId");
$actionfile = GetVar("file");
$arr = array();
$arr[0]['var_msg'] = isset($arr[0]['var_msg']) ? $arr[0]['var_msg'] : '';
if (count($_POST) > 0) {
    $arr[0] = $_POST;
} else {
    if ($view == 'edit') {
        $arr = $bankObj->select($iBankId);
        // prints($arr);exit;
        $vPhone = explode("-", $arr[0]['vPhone']);
示例#3
0
echo $form->error($model, 'payment_type');
?>
	</div>
	<div class="row">
		<?php 
echo $form->labelEx($model, 'bank_master_id');
?>
		<?php 
if ($model->scenario == 'update') {
    if ($model->payment_type == 'રોકડ') {
        echo $form->dropDownList($model, 'bank_master_id', CHtml::listData(BankMaster::model()->findAll(), 'id', 'bank_name'), array('empty' => '-------Select Bank-------', 'disabled' => 'true'));
    } else {
        echo $form->dropDownList($model, 'bank_master_id', CHtml::listData(BankMaster::model()->findAll(), 'id', 'bank_name'), array('empty' => '-------Select Bank-------'));
    }
} else {
    echo $form->dropDownList($model, 'bank_master_id', CHtml::listData(BankMaster::model()->findAll(), 'id', 'bank_name'), array('empty' => '-------Select Bank-------'));
}
?>
		<?php 
//echo $form->dropDownList($model,'bank_master_id',CHtml::listData(BankMaster::model()->findAll(),'id','bank_name'),array('empty' => '-------Select Bank-------'));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'bank_master_id');
?>
	</div>
	

	<div class="row">
		<?php 
echo $form->labelEx($model, 'cheque_dd_no');
示例#4
0
<?php

if (!isset($bankObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bankObj = new BankMaster();
}
$view = PostVar("view");
$Data = PostVar("Data");
$iBankId = PostVar("iBankId");
$actionfile = GetVar("file");
$vPhone1 = PostVar("vPhone1");
$vPhone2 = PostVar("vPhone2");
$vPhone = $vPhone1 . "-" . $vPhone2;
$Data = array_merge($Data, array("vPhone" => $vPhone));
$Data['dModifiedDate'] = date('Y-m-d H:i:s');
$Data['vFromIP'] = $_SERVER['REMOTE_ADDR'];
/** This is for Check Duplicate Record-------------------------------------------*/
$generalobj->getRequestVars();
$redirect_file = "index.php?file={$file}&view={$view}&iBankId={$iBankId}";
$generalobj->checkDuplicate('iBankId', PRJ_DB_PREFIX . "_bank_master", array('vBankName' => $Data['vBankName']), $redirect_file, "Bank Already Exists", $iBankId);
if ($view == "add") {
    $Data['dAddedDate'] = date('Y-m-d H:i:s');
    // prints($Data); exit;
    $bankObj->setAllVar($Data);
    $id = $bankObj->insert();
    if ($id) {
        $var_msg = "Record Added Successfully.";
    } else {
        $var_msg = "Eror-in Add.";
    }
} else {
	     <th>Payment Method</th>
	     <th>Paid Amount</th>
	     <th>Cheque/DD Number</th>
	     <th>Bank</th>
	     <th>Receipt Number</th>
	     <th>OutStanding Amount</th>
	  </tr>
<?php    
		$i=1;
		$out=$course->course_fees;
		foreach($model as $details)
		{
	  	 echo '<tr align="center">';
	       echo '<td>'.$i.'</td>';
	       echo '<td>'.date_format(new DateTime($details['fees_payment_received_date']),'d-m-Y').'</td>';
	       echo '<td>'.$details['fees_payment_type'].'</td>';
	       echo '<td>'.$details['fees_payment_amount'].'</td>';
	       echo '<td>'.$details['fees_payment_cheque_number'].'</td>';
		$b= BankMaster::model()->findByPk($details['fees_payment_cheque_bank']);
	       echo '<td>'.$b['bank_full_name'].'</td>';
	       echo '<td>'.$details['fees_payment_receipt_no'].'</td>';
	       echo '<td>'.$out-=$details['fees_payment_amount'].'</td>';
		echo '</tr>';
		$i++;
	       }
     echo '</table>';
}
}
?>
</div>
示例#6
0
$currency = $generalobj->getCurrency();
if (!isset($countryObj)) {
    include_once SITE_CLASS_APPLICATION . "class.Country.php";
    $countryObj = new Country();
}
if (!isset($stateObj)) {
    include_once SITE_CLASS_APPLICATION . "class.State.php";
    $stateObj = new State();
}
if (!isset($cntstObj)) {
    include_once SITE_CLASS_GEN . "class.countrystate.php";
    $cntstObj = new CountryState();
}
if (!isset($bnkObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bnkObj = new BankMaster();
}
if (!isset($secManObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.SecurityManager.php';
    $secManObj = new SecurityManager();
}
if (!isset($userActionObj)) {
    include_once SITE_CLASS_APPLICATION . 'user/class.UserActionVerification.php';
    $userActionObj = new UserActionVerification();
}
if (!isset($emailObj)) {
    include_once SITE_CLASS_APPLICATION . 'class.EmailTemplate.php';
    $emailObj = new EmailTemplate();
}
if (!isset($sendMail)) {
    include SITE_CLASS_GEN . "class.sendmail.php";
		
		<?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">&nbsp;</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">&nbsp;</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">&nbsp;</span>
示例#8
0
if (!isset($orgUserPermObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php";
    $orgUserPermObj = new OrganizationUserPermission();
}
if (!isset($orgStaObj)) {
    require_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
    $orgStaObj = new StatusMaster();
    //$sess_id
}
if (!isset($statusmasterObj)) {
    include_once SITE_CLASS_APPLICATION . "class.StatusMaster.php";
    $statusmasterObj = new StatusMaster();
}
if (!isset($bnkObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bnkObj = new BankMaster();
}
//prints($_POST);exit;
function phoneCode($field)
{
    global $Data;
    if ($Data[$field] != '' && $_POST[$field . 'Code'] != '') {
        $Data[$field] = $_POST[$field . 'Code'] . "-" . $Data[$field];
    }
}
$Data = PostVar("Data");
$view = PostVar("view");
$dupl = $_POST['dpr'];
phoneCode('vPhone');
phoneCode('vPrimaryContactNo');
phoneCode('vPrimaryContactTelephone');
 private static function loadItems()
 {
     self::$_items = array();
     $models = self::model()->findAll();
     foreach ($models as $model) {
         self::$_items[$model->bank_id] = $model->bank_full_name;
     }
 }
示例#10
0
			'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">&nbsp;</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">&nbsp;</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>
</span>
		</div>
		<div class="rcpt_dtl">
		  <span class="rcpt_title style2">by cheque no. </span>
		  <span class="rcpt_dd_no"><?php 
echo $misc_fees_payment->miscellaneous_fees_payment_cheque_number;
?>
</span>
		  <span class="style2 rcpt_title">dated</span>
		  <span class="rcpt_dd_dt"><?php 
echo date_format(date_create($misc_fees_payment->miscellaneous_fees_payment_cheque_date), "d-m-Y");
?>
</span>
		  <span class="style2 rcpt_title">drawn on</span> 
		  <span class="rcpt_cash"><?php 
$bank_name = BankMaster::model()->findByPk($misc_fees_payment->miscellaneous_fees_payment_cheque_bank);
echo $bank_name->bank_short_name;
?>
</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_cheque_master_id)->miscellaneous_fees_name;
?>
 towards</span>
		  <span class="style2 rcpt_title">Enrollment no. </span>
            echo AcademicTermPeriod::model()->findByPk(FeesPaymentTransaction::model()->findByAttributes(array("fees_payment_cash_cheque_id" => $v['fees_payment_cheque_id'], "fees_payment_transaction_organization_id" => Yii::app()->user->getState("org_id"), "fees_payment_method_id" => 2))->fees_academic_period_id)->academic_term_period;
            ?>
		</td>
		<td>
			<?php 
            echo date('d-m-Y', strtotime($v['fees_payment_cheque_date']));
            ?>
		</td>
		<td>
			<?php 
            echo $v['fees_payment_cheque_status'] = 1 ? 'Return Cheque' : '';
            ?>
		</td>
		<td>
			<?php 
            echo BankMaster::model()->findByPk($v['fees_payment_cheque_bank'])->bank_short_name;
            ?>
		</td>
		<td>
			<?php 
            echo $v['fees_payment_cheque_branch'];
            ?>
		</td>
		<td>
			<?php 
            echo $v['fees_payment_cheque_amount'];
            ?>
		</td>
		
		 
</tr>
<?php

$this->breadcrumbs = array('Fees Payment Cheques' => array('Cheque_search'), $model->fees_payment_cheque_number);
$this->menu = array();
?>

<h1>View Fees Cheque Details <?php 
//echo $model->fees_payment_cheque_id;
?>
</h1>

<?php 
$this->widget('zii.widgets.CDetailView', array('data' => $model, 'attributes' => array('fees_payment_cheque_number', array('name' => 'fees_payment_cheque_date', 'value' => date_format(date_create($model->fees_payment_cheque_date), 'd-m-Y')), array('name' => 'fees_payment_cheque_bank', 'value' => BankMaster::model()->findByPk($model->fees_payment_cheque_bank)->bank_short_name), 'fees_payment_cheque_amount', array('name' => 'fees_payment_cheque_status', 'value' => $model->fees_payment_cheque_status == 1 ? 'Return Cheque' : 'Credit Cheque'), 'fees_payment_cheque_branch')));
?>

<?php 
echo '<br/><br/>';
//echo CHtml::button('Update Cheque Status', array('submit' => array('my_update','id'=>$model->fees_payment_cheque_id)));
?>

示例#14
0
	/**
	* Generate array for dropdown list to use in child form.
	* @return array $_items
	*/
	public static function items()
	{
	    self::$_items = CHtml::listData(self::model()->findAll(), 'bank_id', 'bank_full_name');
	    return self::$_items;
	}
示例#15
0
<?php

if (!isset($invOrdObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.InvoiceOrderHeading.php";
    $invOrdObj = new InvoiceOrderHeading();
}
if (!isset($purOrdObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.PurchaseOrderHeading.php";
    $purOrdObj = new PurchaseOrderHeading();
}
if (!isset($bnkObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bnkObj = new BankMaster();
}
if (!isset($rfq2Obj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.RFQ2Masterphp";
    $rfq2Obj = new RFQ2Master();
}
if (!isset($rfq2awObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.Rfq2Award.php";
    $rfq2awObj = new Rfq2Award();
}
if (!isset($rfq2bidObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.Rfq2Bids.php";
    $rfq2bidObj = new Rfq2Bids();
}
$iInvoiceID = PostVar('invoiceid');
$iPurchaseOrderID = PostVar('poid');
// $orgdtls = $orgObj->select($curORGID);
$dtls = array();
if (trim($iInvoiceID) != '' && $iInvoiceID > 0) {
示例#16
0
<?php

if (!isset($bnkObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bnkObj = new BankMaster();
}
$bankid = GetVar('bankid');
$flds = GetVar('flds');
$tflds = GetVar('tflds');
$fld_ary = @explode(',', $flds);
$tfld_ary = @explode(',', $tflds);
$dtls = array();
$t = "";
if (trim($bankid) != '' && $bankid > 0 && trim($flds) != '') {
    $dtls = $bnkObj->getDetails($flds, " AND iBankId={$bankid} ");
}
if (isset($dtls[0]) && is_array($dtls[0]) && count($dtls[0]) > 0 && is_array($fld_ary) && count($fld_ary) > 0 && is_array($tfld_ary) && count($tfld_ary) > 0) {
    $t .= "<script type='text/javascript'>";
    for ($l = 0; $l < count($tfld_ary); $l++) {
        $t .= "\$('#" . $tfld_ary[$l] . "').val('" . $dtls[0][$fld_ary[$l]] . "');";
    }
    $t .= "</script>";
}
echo $t;
exit;
             $payable1 = $payable;
             //$out = $payable - $var;
         }
         $out = $payable - $var;
         $ch_num = FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id)->fees_payment_cheque_number;
         echo "<tr class=" . $class . ">";
         echo "<td>" . $i . "</td>";
         echo "<td>" . AcademicTermPeriod::model()->findByPk($f->fees_academic_period_id)->academic_term_period . "</td>";
         echo "<td>" . AcademicTerm::model()->findByPk($f->fees_academic_term_id)->academic_term_name . "</td>";
         echo "<td>" . FeesPaymentMethod::model()->findByPk($f->fees_payment_method_id)->fees_payment_method_name . "</td>";
         //echo "<td>".FeesMaster::model()->findByPk($f->fees_payment_master_id)->fees_master_total."</td>";
         echo "<td>" . $payable1 . "</td>";
         $chqmodel = FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id);
         echo "<td>" . $chqmodel->fees_payment_cheque_amount . "</td>";
         //$var += FeesPaymentCheque::model()->findByPk($f->fees_payment_cash_cheque_id)->fees_payment_cheque_amount;
         $bank_model = BankMaster::model()->findByPk($chqmodel->fees_payment_cheque_bank);
         $bank_name = $bank_model->bank_short_name;
         $bank_branch = $bank_model->bank_short_name;
         $date = $f->fees_received_date;
         $new_date = date("d-m-Y", strtotime($date));
         echo "<td>" . $new_date . "</td>";
         echo "<td>" . $bank_name . "</td>";
         echo "<td>" . $bank_branch . "</td>";
         echo "<td>" . $ch_num . "</td>";
         echo "<td>" . FeesReceipt::model()->findByPk($f->fees_receipt_id)->fees_receipt_number . "</td>";
         ++$temp;
         $i += 1;
         $flag = 1;
     }
 }
 if ($temp != 0 && $flag == 1) {
示例#18
0
}
if (!isset($orgUserPermObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.OrganizationUserPermission.php";
    $orgUserPermObj = new OrganizationUserPermission();
}
if (!isset($invAttachmentObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.InvoiceOrderAttachment.php";
    $invAttachmentObj = new InvoiceOrderAttachment();
}
if (!isset($pohObj)) {
    include_once SITE_CLASS_APPLICATION . "user/class.PurchaseOrderHeading.php";
    $pohObj = new PurchaseOrderHeading();
}
if (!isset($bnkObj)) {
    include_once SITE_CLASS_APPLICATION . "class.BankMaster.php";
    $bnkObj = new BankMaster();
}
// prints($invUserStatusIds); exit;
if (trim($invUserStatusIds) != '') {
    $uinvprmt_ary = @explode(',', $invUserStatusIds);
}
$orgdtls = $orgObj->select($curORGID);
if ($orgdtls[0]['eCreateMethodAllowed'] == 'File Import' || $sess_usertype_short != 'OU') {
    if ($sess_usertype_short == 'SM') {
        header("Location: " . SITE_URL_DUM . "smdashboard/all");
    } else {
        if (trim($iInvoiceID) != '' && is_numeric($iInvoiceID)) {
            header("Location: " . SITE_URL_DUM . "invoiceview/{$iInvoiceID}");
        } else {
            header("Location: " . SITE_URL_DUM . "invoicelist/all");
        }
     $cash_id = $list['fees_payment_cash_cheque_id'];
     $amunt = FeesPaymentCash::model()->findByPk($cash_id)->fees_payment_cash_amount;
     $final_total += $amunt;
     $type = "Cash";
     echo '<td>' . $type . '</td>';
     echo '<td>-</td>';
     echo '<td>-</td>';
     echo '<td>' . $rec_no . '</td>';
     echo '<td>' . $amunt . '</td>';
 } else {
     $cheque_id = $list['fees_payment_cash_cheque_id'];
     $cheque_status = "Return cheque";
     $amunt1 = FeesPaymentCheque::model()->findByPk($cheque_id)->fees_payment_cheque_amount;
     $status = FeesPaymentCheque::model()->findByPk($cheque_id)->fees_payment_cheque_status;
     $chno = FeesPaymentCheque::model()->findByPk($cheque_id)->fees_payment_cheque_number;
     $bank = BankMaster::model()->findByPk(FeesPaymentCheque::model()->findByPk($cheque_id)->fees_payment_cheque_bank)->bank_full_name;
     if ($status == 0) {
         $final_total += $amunt1;
         $type = "Cheque";
         echo '<td>' . $type . '</td>';
         echo '<td>' . $bank . '</td>';
         echo '<td>' . $chno . '</td>';
         echo '<td>' . $rec_no . '</td>';
         echo '<td>' . $amunt1 . '</td>';
     } else {
         echo '<td>' . $cheque_status . '</td>';
         echo '<td>' . $bank . '</td>';
         echo '<td>' . $chno . '</td>';
         echo '<td>' . $rec_no . '</td>';
         echo '<td>' . $amunt1 . '</td>';
     }
		</td>
		<td>
		      <?php 
        echo $v['miscellaneous_fees_payment_cheque_number'];
        ?>
		
		</td>
		<td>
		      <?php 
        echo date("d-m-Y", strtotime($v['miscellaneous_fees_payment_cheque_date']));
        ?>
		
		</td>
		<td>
		       <?php 
        echo BankMaster::model()->findByPk($v['miscellaneous_fees_payment_cheque_bank'])->bank_full_name;
        ?>
		
		</td>
		<td>
		      <?php 
        echo $v['miscellaneous_fees_payment_cheque_branch'];
        ?>
		
		</td>
		
		<td>
		      <?php 
        echo $v['miscellaneous_fees_payment_cheque_receipt_id'];
        ?>
		
        $acd_term = AcademicTermPeriod::model()->findByPk($data['fees_academic_period_id']);
        $field1 = '-';
        $field2 = '-';
        $field3 = '-';
        $field4 = '-';
        $field5 = 'CASH';
        if ($data['fees_payment_method_id'] == 1) {
            $cash_amt = FeesPaymentCash::model()->findByPk($data['fees_payment_cash_cheque_id']);
            $amount = $cash_amt->fees_payment_cash_amount;
        } else {
            $cash_amt = FeesPaymentCheque::model()->findByPk($data['fees_payment_cash_cheque_id']);
            $amount = $cash_amt->fees_payment_cheque_amount;
            $field1 = $cash_amt->fees_payment_cheque_number;
            $date = date_create($cash_amt->fees_payment_cheque_date);
            $field2 = date_format($date, 'd-m-Y');
            $bank_name = BankMaster::model()->findByPk($cash_amt->fees_payment_cheque_bank);
            $field3 = $bank_name->bank_short_name;
            $field4 = $cash_amt->fees_payment_cheque_branch;
            $field5 = 'CHEQUE';
        }
        //case receipt
        ?>
	
<div id="firstlayer">
       <div class="part1">
            <!------------------------header part--------------------->
	    <div class="headerpart1">
              <div class="receipt-logo">
			<?php 
        $test = Yii::app()->user->getState('org_id');
        if (isset($test)) {
		<?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">&nbsp;</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">&nbsp;</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));
?>