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 : 3.21.247.221
function LoadDailyReportQp()
{
$g_focus_element="";
$("#page_main_div").load('html_modules/daily_report_qp.html',function()
{
$geditinternalcode=0;
window.enable_proper_module="DailyReportQP";
getDefaultHeadFooterLinks("Daily Report QP Code");
document.getElementById('display_module_name').innerHTML = 'Daily Report';
document.getElementById('module_name_for_save').value = 'DailyReportQP';
}
);
}
/* function getDegExmDaily($thsId)
{
if($thsId == 'report_drpt_SubCode_start')
{
window.location.g_popup_degree_code=$("#report_drpt_degree_code_start").val();
// $deg=$("#report_drpt_degree_code_start").val();
window.location.g_popup_exam_no=$("#report_drpt_Examno_start").val();
// $exam=$("#report_drpt_Examno_start").val();
// alert($deg+'-'+$exam);
}
else if($thsId == 'report_drpt_SubCode_End')
{
window.location.g_popup_degree_code=$("#report_drpt_degree_code_End").val();
// $deg=$("#report_drpt_degree_code_End").val();
window.location.g_popup_exam_no=$("#report_drpt_Examno_End").val();
//$exam=$("#report_drpt_Examno_End").val();
//alert($deg+'-'+$exam);
}
} */
function GenerateDailyReportQp()
{
$date_start = document.getElementById('report_drpt_exam_date_from').value;
$date_end = document.getElementById('report_drpt_exam_date_to').value;
if(trim($("#qp_code_start").val()) == '')
{
alert('Please Enter QP Code!!');
$("#qp_code_start").focus();
return;
}
if(document.getElementById('report_drpt_session_morning').checked)
{
$session_chck = "'AM'";
}
else if(document.getElementById('report_drpt_session_afternoon').checked)
{
$session_chck = "'PM'";
}
else if(document.getElementById('report_drpt_session_both').checked)
{
$session_chck = "'PM','AM'";
}
qp_start = document.getElementById('qp_code_start').value;
qp_end = trim(document.getElementById('qp_code_end').value);
if(qp_end=='')
{
qp_end = qp_start;
}
window.location.href = $host_url+"generateDaliyReportQp.demo&qp_code_start="+qp_start+"&qp_code_end="+qp_end+"&Date_start="+$date_start+"&Date_end="+$date_end+"&session="+$session_chck;
}
|