<?php
	 $id=$_GET['loan_type'];
	include("database_connection.php");
	$id=$_GET['loan_type'];
	if($id=="Bank Statement")
	{
	?>
	<tr>
		<td><b>Bank Name</b> <span><font color="red">*</font></span> </td>
		<td><input type="text" name="bank_name" id="bank_name" class="field"  style="width:250px; height:35px;text-transform: uppercase;"    required/></td>			
		</tr>
		<tr>
		<td><b>Account No</b> <span><font color="red">*</font></span> </td>
		<td><input type="text" name="account_no" class="field"  style="width:250px; height:35px;" pattern="^[0-9]*$" onkeypress="return onlyNos(event,this);"  oninput="setCustomValidity('')" required/></td>			
		</tr>
		<tr>
		<td><b>Branch</b> </td>
		<td><input type="text" name="branch" class="field"  style="width:250px; height:35px;text-transform: uppercase;"  /></td>			
		</tr>
		<?php		  	
	}
	elseif($id=="ITR" or $id=="Form16" or $id=="Form26")
	{
	?>
	<tr>
		<td  width="250"><b>Pan No</b> <span><font color="red">*</font></span> </td>
		<td><input type="text" name="pan_no1"  id="pan_no1" class="field"  style="width:100px; height:35px;text-transform: uppercase;" onkeypress="return (event.charCode > 64 && 
event.charCode < 91) || (event.charCode > 96 && event.charCode < 123)" maxlength="5" onkeyup="movetoNext(this, 'pan_no2')"  required/>
			<input type="text" name="pan_no2" id="pan_no2" class="field"  style="width:100px; height:35px;" pattern="^[0-9]*$" onkeypress="return onlyNos(event,this);"  oninput="setCustomValidity('')" maxlength="4" onkeyup="movetoNext(this, 'pan_no3')" required/>
			<input type="text" name="pan_no3" id="pan_no3" class="field"  style="width:50px; height:35px;text-transform: uppercase;" onkeypress="return (event.charCode > 64 && 
event.charCode < 91) || (event.charCode > 96 && event.charCode < 123)" maxlength="1"  required/>
		</td>			
		</tr>
		<tr>
		<td  width="250"><b>Assesment Year 1</b> <span><font color="red">*</font></span> </td>
		<td><select name="assesment_year1" class="field"  style=" height:35px;"  required >
			<option value="">Select Assesment Year</option>	
			<option value="2021-22">2021-22</option>
			<option value="2022-23">2022-23</option>
			<option value="2023-24">2023-24</option>
			<option value="2024-25">2024-25</option>
			<option value="2025-26">2025-26</option>
			<option value="2026-27">2026-27</option>
			</select> 
			</td>
		</tr>
		<tr>
		<td  width="250"><b>Assesment Year 2</b> </td>
		<td><select name="assesment_year2" class="field"  style=" height:35px;"   >
			<option value="">Select Assesment Year 2</option>	
			<option value="2021-22">2021-22</option>
			<option value="2022-23">2022-23</option>
			<option value="2023-24">2023-24</option>
			<option value="2024-25">2024-25</option>
			<option value="2025-26">2025-26</option>
			<option value="2026-27">2026-27</option>
			</select> 
			</td>
		</tr>
		<tr>
		<td  width="250"><b>Assesment Year 3</b> </td>
		<td><select name="assesment_year3" class="field"  style=" height:35px;"   >
			<option value="">Select Assesment Year 3</option>
			<option value="2021-22">2021-22</option>
			<option value="2022-23">2022-23</option>
			<option value="2023-24">2023-24</option>
			<option value="2024-25">2024-25</option>
			<option value="2025-26">2025-26</option>
			<option value="2026-27">2026-27</option>
			</select> 
			</td>
		</tr>
		
			<?php		  	
	}
	else{

	}
?>