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 : 18.119.19.251


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

function LoadAdmissionListing()
{
    $("#page_main_div").load('html_modules/admission_list.html',function()
	{ 	
	 	$('#admstatus').hide();
		document.getElementById('display_module_name').innerHTML = 'Admission List Report';
		document.getElementById('module_name_for_save').value = 'ReportAdmissionList';		
		$("#report_degree_code").val('');		
		$("#report_degree_name").val('');	
	 	getDefaultHeadFooterLinks("Admission Listing"); 
	}
	);
}

function GenerateAdmissionReport()
{
	if(trim($("#report_degree_code").val()) == '' )
	{
		alert('Please Enter Valid Degree Code..!');
		$("#report_degree_code").focus();
		return;
	}
	else if(trim($("#report_degree_name").val()) == '' )
	{
		alert('Please Enter Valid Degree Code..!');
		$("#report_degree_code").focus();
		return;
	}
	else if(trim($("#appfrom").val()) == '' )
	{
		alert('Please Enter Application from');
		$("#appfrom").focus();
		return;
	}
	else if(trim($("#appto").val()) == '' )
	{
		alert('Please Enter Application to');
		$("#appto").focus();
		return;
	}
	else if(trim($("#type").val()) == '' )
	{
		alert('Please Select Report Type');
		$("#type").focus();
		return;
	}
	else if(trim($("#status").val()) == '' && trim($("#type").val()) =='adml')
	{
		alert('Please Select Application status');
		$("#status").focus();
		return;
	}
	else if(trim($("#appfrom").val()) == '')
	{
		alert('Please Enter Application From No.');
		$("#appfrom").focus();
		return;
	}
	else if(trim($("#appto").val()) == '')
	{
		alert('Please Enter Application To No.');
		$("#appto").focus();
		return;
	}

	var parameters = "&degree_code="+trim(($("#report_degree_code").val()))+"&exam_no="+trim($("#year").val())+"&status="+trim($("#status").val())+"&appfrom="+trim($("#appfrom").val())+"&appto="+trim($("#appto").val());
	if(trim($("#type").val()) =='adml')
		window.location.href = $host_url+"generateAdmissionReport.demo"+parameters; 
	else if(trim($("#type").val()) =='admp')
		window.location.href = $host_url+"PrintApplicationFormPOSTOFFICESum.demo"+parameters+"&reporttype=summary";

}

function showstatusadm()
{
	$('#admstatus').hide();
	var type = $('#type').val();
	
	if(type == 'adml')
	{
		$('#admstatus').show();
	}	
}

/* 
 *
 * FOR THE Report degree list
 * PROGRAMED BY NAVEEN
 * DATE: 13/03/09
 * TIME: 1:15 PM 
  *
 */