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


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

function CallenableDocVerifyExamApp()
{
	$("#page_main_div").load('html_modules/doc_verification.html',function()
	{
		document.getElementById('display_module_name').innerHTML = 'Confirm Category / Income';
		document.getElementById('module_name_for_save').value = 'Verify Documents for Exam Application Form';
		getDefaultHeadFooterLinks('Verify Documents For Exam Application Form'); 
	});

}

function DisplayAllVerifyExamApplications()
{
	if($("#reg_no_from").val() == '')
	{
		alert('enter Reg.No.');
		$("#reg_no_from").focus();
		return false;
	}
	$.ajax({
        type: "POST",
		data:"&reg_no_from="+$("#reg_no_from").val()+"&reg_no_to="+$("#reg_no_to ").val(),
	   	url: $host_url+"DisplayAllVerifyExamApplications",
		success: DisplayAllVerifyExamApplicationsResponce
	});
}
function DisplayAllVerifyExamApplicationsResponce(responce)
{
		responce = eval('(' + responce + ')');
		if(responce.error_code == '0')
		{
			$("#ack_rv_rt_application_details").html("");
			$("#ack_rv_rt_application_details").html(responce.data['html']);
		}
		else
		{
			$("#ack_rv_rt_application_details").html('');
		}
		
}

function saveVerifyDocExamAppStatus()
{ 
	var category = $("#category").val();
	if(category == 0)
	{
		alert('select category');
		$("#category").focus();
		return false;
	}	
	
	var feetype = $("#feetype").val();
	if(feetype ==0)
	{
		alert('select fee type');
		$("#feetype").focus();
		return false;
	}	
	
	$.ajax({
        type: "POST",
		data:"&reg_no_from="+$("#reg_no_from").val()+"&category="+$("#category").val()+"&feetype="+$("#feetype ").val(),
	   	url: $host_url+"saveVerifyDocExamAppStatus",
		success: saveVerifyDocExamAppStatusResponce
	});
}

function saveVerifyDocExamAppStatusResponce(responce)
{
	responce = eval('(' + responce + ')');
	if(responce.error_code == '0')
	{
		alert(responce.data);
	}
}