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


Current Path : /proc/thread-self/root/var/www/html/gcg/js/
Upload File :
Current File : //proc/thread-self/root/var/www/html/gcg/js/receive_rv_rt_application.js

function CallEnableReceiveRvRtApplication()
{
    $("#page_main_div").load('html_modules/receive_rv_rt_application.html',function()
	{
	document.getElementById('display_module_name').innerHTML = 'Receivce RV/RT Applications';
	document.getElementById('module_name_for_save').value = 'Receivce RV/RT Applications';
	getDefaultHeadFooterLinks('Receivce RV/RT Applications'); 
	 $(".ui-tabs .ui-tabs-panel").css("padding","0px");
	$(".ui-tabs .ui-tabs-panel").css("padding-top","21px");
	}); 		
}
function DisplayAllReceivceDocs()
{
	var lstr_data="&doc_no_from="+$("#doc_no_from").val()+"&doc_no_to="+$("#doc_no_to ").val();
		lstr_data+="&college_code_from="+$("#college_code_from").val()+"&college_code_to="+$("#college_code_to ").val();
		lstr_data+="&ackType="+$("#ack_type").val();
	$.ajax({
        type: "POST",
		data:lstr_data,
	   	url: $host_url+"DisplayAllReceivceDocs",
		success: DisplayAllReceivceDocsResponce
  });
}
function DisplayAllReceivceDocsResponce(responce)
{
		responce = eval('(' + responce + ')');
		$("#rec_rv_rt_application_details").html("");
		$("#rec_rv_rt_application_details").html(responce.data['html']);
		
}
function ReceivceSelectedApplications()
{
	checked_app_nos=new Array();
	var obj=$("input[id*='receive_check_box_']") ;
	jQuery.each(obj, function(k, v) {
		row_id=v['id'].split("_")[3]; 
		if($(this).is(':checked'))
		checked_app_nos.push(row_id);	 
		});
		if(empty(checked_app_nos))
		{
			alert("Please select minumum one Document to Receive.");
			return false;
		}
		$.ajax({
        type: "POST",
		data:"checked_app_nos="+checked_app_nos,
	   	url: $host_url+"ReceivceSelectedApplications",
		success: ReceivceSelectedApplicationsResponce
  });
		
}
function ReceivceSelectedApplicationsResponce(responce)
{
		responce = eval('(' + responce + ')');
		alert(responce.data);
		DisplayAllReceivceDocs();
		
}function PrintChallanEntryDetailsFromUniLogin(doc_no,searchType)
{
	window.location.href=$host_url+"PrintChallanEntryDetails&doc_no="+doc_no+'&print_type=Univ'+"&searchType="+searchType;
}