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.117.101.250


Current Path : /proc/thread-self/root/var/www/html/ssa/js_16042016/
Upload File :
Current File : //proc/thread-self/root/var/www/html/ssa/js_16042016/marksEntry_report.js

function CallenableMarksEntryReport()
{
	$("#page_main_div").load('html_modules/marksentry_report.html',function()
	{
 
	document.getElementById('display_module_name').innerHTML = 'Marks Entry Report';
	document.getElementById('module_name_for_save').value = 'Marks Entry Report';		
 	getDefaultHeadFooterLinks("Marks Entry Report"); 
	var user_type = getCookie("user_type");
	var coll_code = getCookie("FCOLLCODE");
	if(user_type != 'LSYS')
	{
		$("#from_coll").val(coll_code);
		$("#to_coll").val(coll_code);
		$("#from_coll").attr('disabled', 'disabled');
		$("#to_coll").attr('disabled', 'disabled');
	}
	//AssignTeachReportDropDownMenus();
	}
	);


}


function generateMarksEntryReport()
{
	if(trim($("#to_coll").val()) == '' || trim($("#from_coll").val()) == '')
	{
		alert('Enter College range!!');
		$("#to_coll").focus();
		return;
	}
	if(trim($("#to_degree").val()) == '' || trim($("#from_degree").val()) == '')
	{
		alert('Enter Degree range!!');
		$("#to_degree").focus();
		return;
	}
	if(trim($("#to_exam").val()) == '' || trim($("#from_exam").val()) == '')
	{
		alert('Enter Exam range!!');
		$("#to_exam").focus();
		return;
	}
	
	var dataString= "&from_coll="+trim(($("#from_coll").val()))+"&to_coll="+trim(($("#to_coll").val()));
	dataString+="&from_degree="+trim(($("#from_degree").val()))+"&to_degree="+trim(($("#to_degree").val()));
	dataString+="&from_exam="+trim(($("#from_exam").val()))+"&to_exam="+trim(($("#to_exam").val()));
	
	
		
		window.location.href = $host_url+"GenerateMarksEntryReport"+dataString; 
	
	
 
}