0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.129.253.21


Current Path : /var/www/html/stph/js/Report/
Upload File :
Current File : /var/www/html/stph/js/Report/appfeedetails.js


function callfeedetails()
{
    $("#page_main_div").load('html_modules/appfeedetails.html',function()
	{
 
		document.getElementById('display_module_name').innerHTML = 'Fee Details';
		document.getElementById('module_name_for_save').value = 'Fee Details';  	
		getDefaultHeadFooterLinks("Fee Details"); 
		getpopup();
	}
	);
}

function getpopup()
{
	$.ajax({
				type: "POST",
				url: $host_url+"getfeeInformation",
				success: PopulateExamTypeListCategoryResponce
				});
}

function PopulateExamTypeListCategoryResponce(responce)
{
		responce = eval('(' + responce + ')');
		document.getElementById("cat_from").options.length = 1;
		document.getElementById("cat_to").options.length = 1;

		var category =responce.data['category'];	
		
		$op = new Option();
		$op.id=0;//specifying the id  for options
		//document.getElementById("candidate_list_category").options.add($op);
		
		for($i=0;$i < category.length;$i++)                                  
		{    
			
			$op = new Option(category[$i]['value'], category[$i]['internal_code']);
			$op.id=category[$i]['internal_code'];//specifying the id  for options
			document.getElementById("cat_from").options.add($op);
		}
		
		for($i=0;$i < category.length;$i++)                                  
		{            
			
			$op = new Option(category[$i]['value'], category[$i]['internal_code']);
			$op.id=category[$i]['internal_code'];//specifying the id  for options
			document.getElementById("cat_to").options.add($op);
		}

}


function Generateappfeedetails()
{
	 var coll_from = $("#coll_from").val();
	 var coll_to = $("#coll_to").val();
	 
	 var deg_from = $("#deg_from").val();
	 var deg_to = $("#deg_to").val();
	 
	 var exam_from = $("#exam_from").val();
	 var exam_to = $("#exam_to").val();
	 
	 var cat_from = $("#cat_from").val();
	 var cat_to = $("#cat_to").val();
	 
	 var reg_from = $("#regno_from").val();
	 var reg_to = $("#regno_to").val(); 
	 
	 var lowfee = 'F';
	if(document.getElementById('feeexmpted').checked == true)
	{
		lowfee = 'T';
	}
    
	window.location.href = $host_url+"Generateappfeedetails&coll_from="+coll_from+"&coll_to="+coll_to+"&deg_from="+deg_from+"&deg_to="+deg_to+"&exam_from="+exam_from+"&exam_to="+exam_to+"&cat_from="+cat_from+"&cat_to="+cat_to+"&lowfee="+lowfee+"&reg_from="+reg_from+"&reg_to="+reg_to; 
}