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.94.221
Current Path : /var/www/html/stph/js/ |
| Current File : /var/www/html/stph/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");
});
}
var total;
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();
lstr_data+="°reelike="+$("#degreelike").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("");
total = responce.data['count'];
//alert(responce.data['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 Checkallrvapplication($id)
{
var k;
//alert('arun');
if(document.getElementById('arun').checked == true)
{
//alert(total);
for(k=1;k<parseInt(total);k++)
{
//alert("ack_hidden"+k);
var APPNO = document.getElementById("ack_hidden"+k).value;
//alert(APPNO);
document.getElementById("receive_check_box_"+APPNO).checked=true;
}
}
else
{
for(k=1;k<total;k++)
{
var APPNO = document.getElementById("ack_hidden"+k).value;
document.getElementById("receive_check_box_"+APPNO).checked=false;
}
}
}
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;
}
|