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


Current Path : /var/www/html/ssa/js/Report/
Upload File :
Current File : /var/www/html/ssa/js/Report/report_SubjectListAdmCl.js


function LoadSubjectListAdmCl()
{
    
	$geditinternalcode=0;
	window.enable_proper_module="SubjectListAdmCl";	   
	$("#page_main_div").load('html_modules/subject_list_adm_cl.html',function()
	{
	 
	document.getElementById('display_module_name').innerHTML = 'Subject List(Adm &CL)';
	document.getElementById('module_name_for_save').value = 'saveSubjectListAdmCl'; 			 	
 
	$("#report_sublist_adcl_degree_code").focus();
	$("#report_sublist_adcl_degree_code").val('');	 
	$("#report_sublist_adcl_degree_name").val('');
	$("#report_sublist_adcl_Examno").val('');
	$("#report_sublist_adcl_Exam_name").val('');
 	getDefaultHeadFooterLinks("Subject List (Adm & CL)"); 
	}
	);
	 
 }

function GenerateSublistADCLReport()
{
    if(trim($("#report_sublist_adcl_degree_code").val()) == '')
		{
			alert('Please Enter Degree Code!!');
			$("#report_sublist_adcl_degree_code").focus();
			return;
		}

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