<?php
@session_start();
@ob_start();

include "header.php"; 
$objIms->bankdet_alter();
?>
<script type="text/javascript">
	$(document).ready(function() {                
				$("#FORMNAME1").validate({
                    rules: {
					
                   branch_name:"required",
				  bank_name:"required",
				  accno:"required",
					},
		messages: {
			
					 branch_name: "",
					 bank_name: "",
						accno:"",		
				},
		  });                
            });
//---auto search-----
</script>
<div class="content">
<div class="content-header">
<h3 class="head-dashboard">Bank A/C Details</h3>
</div>
<div class="content-container">
<div class="entry-head">
<h4><strong> Add Bank Details </strong>
  <div style="color:#FFFFFF; float:right"><a href="Bankdetail_list.php"><img src="<?php echo IMAGE_PATH?>back.png" title="Go Back"   /></a></div> </h4>

</div>

<div class="entry-content">
    <form method="post" id="FORMNAME1">
	<?php  echo $objIms->error;?>
<table width="100%">
		<tr>
			<td width="11%" height="39">Account No.</td>
			<td width="1%"><strong>:</strong></td>
		  <td width="88%"><label>
		  <input name="accno" type="text" id="accno" style="width:200px;" value="<?php echo $objIms->acc_no?>"/>
		  </label></td>
		</tr>
		<tr>
		  <td height="39">Bank Name </td>
		  <td><strong>:</strong></td>
		  <td><input name="bank_name" type="text" id="bank_name" style="width:200px;" value="<?php echo $objIms->bank_name?>"/></td>
    </tr>
		<tr>
		  <td height="39">Branch Name </td>
		  <td><strong>:</strong></td>
		  <td><label>
		    <input name="branch_name" type="text" style="width:200px;" id="branch_name" value="<?php echo $objIms->branch_name?>"/>
		  </label></td>
    </tr>
		<tr>
			<td></td>
			<td></td>
			<td><input type ="submit" name="Save" value="<?php echo $objIms->Save?>" class="btn btn-info"/></td>
		</tr>
</table>
</form>
<?php include "footer.php"?>
