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


Current Path : /var/www/html/nitte/js21042016/Report/
Upload File :
Current File : /var/www/html/nitte/js21042016/Report/report_SubjectListGeneral.js


function LoadSubjectListGeneral()
{
    $geditinternalcode=0;
	window.enable_proper_module="SubjectListGeneral";	
	$("#page_main_div").load('html_modules/subject_list_general.html',function()
	{	 
	document.getElementById('display_module_name').innerHTML = 'Subject List(General)';
	document.getElementById('module_name_for_save').value = 'saveSubjectListGeneral'; 			 		
	 
	 $("#report_sublist_general_degree_code").focus();
     $("#report_sublist_general_degree_code").val('');
	 $("#report_sublist_general_degree_name").val('');
	 $("#report_sublist_general_Examno").val('');
	 $("#report_sublist_general_Exam_name").val(''); 
	 getDefaultHeadFooterLinks("Subject List (General)"); 
     
	 }
	 );
	 
}
function GenerateSublistGENReport()
{
  if(trim($("#report_sublist_general_degree_code").val()) == '')
	{
		alert('Please Enter Degree Code!!');
		$("#report_sublist_general_degree_code").focus();
		return;
	}


 if(trim(($("#report_exam_no_start_from").val())) == '')
	{
		$exam_starts = '0';
	}
	else
	{
		$exam_starts = $("#report_exam_no_start_from").val();
	}
	
	
	if(trim(($("#report_exam_no_end_to").val())) == '')
	{
		$exam_ends = 'Z';
	}
	else
	{
		$exam_ends = $("#report_exam_no_end_to").val();
	}
 
 window.location.href = $host_url+"generateSubjecGeneralReport.demo&degree_code="+trim(($("#report_sublist_general_degree_code").val()))+"&exam_code_start="+$exam_starts+"&exam_code_end="+$exam_ends; 
}
function GetSubjectGeneralGetExamNO($Examno)
{
  	switch(document.getElementById('module_name_for_save').value)
		{
			case 'saveSubjectListGeneral':
			$degcode=document.getElementById("report_sublist_general_degree_code").value;
			if($degcode=="")
			{
				alert("please Enter Degree Code");
				document.getElementById("report_sublist_general_degree_code").focus();
				return;
			}
			PopupMarkEntrySubGetExamNO($degcode,$Examno);
			break;	
		}
}