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.118.126.69
function LoadAdmissionTicket()
{
$geditinternalcode=0;
window.enable_proper_module="AdmissionTicket";
$("#page_main_div").load('html_modules/admission_ticket.html',function()
{
getDefaultHeadFooterLinks("Admission Ticket");
document.getElementById('display_module_name').innerHTML = 'Admission Ticket';
document.getElementById('module_name_for_save').value = 'saveAdmissionTicket';
ClearAdmissionTicket();
}
);
}
function GenerateAdmissionTicket()
{
if(trim($("#report_admission_ticket_degree_code").val()) == '')
{
alert('Please Enter Degree Code!!');
$("#report_admission_ticket_degree_code").focus();
return;
}
if(trim($("#report_admission_ticket_start").val()) == '' )
$adm_reg_starts='00000000';
else
$adm_reg_starts = $("#report_admission_ticket_start").val();
if(trim($("#report_admission_ticket_End").val()) == '' )
$adm_reg_ends='ZZZZZZZZ';
else
$adm_reg_ends = $("#report_admission_ticket_End").val();
//if(trim($("#report_adt_one_per_page").checked == true))
if(document.getElementById("report_adt_one_per_page").checked==true)
{
$print_hall_ticket_val='1';
}
else
{
$print_hall_ticket_val='2';
}
window.location.href = $host_url+"generateAdmissionTicket.demo°ree_code="+trim(($("#report_admission_ticket_degree_code").val()))+"®_starts="+$adm_reg_starts+"®_ends="+$adm_reg_ends+"&print_hall_ticket="+$print_hall_ticket_val;
}
function ClearAdmissionTicket()
{
$("#report_admission_ticket_degree_code").val('');
$("#report_admission_ticket_degree_name").val('');
$("#report_admission_ticket_start").val('');
$("#report_admission_ticket_End").val('');
}
|