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.139.86.74
Current Path : /var/www/html/ssa/js/Report/ |
| Current File : /var/www/html/ssa/js/Report/report_MarksListStudentWise.js |
function LoadenableMarksListStudentWise()
{
$geditinternalcode=0;
window.enable_proper_module="enableMarksListStudentWise";
$("#page_main_div").load('html_modules/marklist_studentwise.html',function()
{
document.getElementById('display_module_name').innerHTML = 'Marks List';
document.getElementById('module_name_for_save').value = 'saveMarklistStudentWise';
getDefaultHeadFooterLinks('Marks List (Studentwise)');
$("#report_marklist_student_degree_code").focus();
$("#report_marklist_student_degree_code").val('');
$("#report_marklist_student_degree_name").val('');
$("#report_marklist_student_Examno_name").val('');
$("#report_marklist_student_Examno").val('');
}
);
$('#module_details_div').hide();
}
function GenerateMarksStudentListReport()
{
if(trim($("#report_marklist_student_degree_code").val()) == '')
{
alert('Please Enter Degree Code!!');
$("#report_marklist_student_degree_code").focus();
return;
}
if((!document.getElementById("report_student").checked) && (!document.getElementById("report_subject").checked))
{
alert("Select Report Type");
return;
}
var dataString= "°ree_code="+trim(($("#report_marklist_student_degree_code").val()))+"&exam_code="+trim(($("#report_marklist_student_Examno").val()));
dataString+="®_start="+trim(($("#report_marklist_reg_start_from").val()))+"®_end="+trim(($("#report_marklist_reg_end_to").val()));
dataString+="&subwise_start="+trim(($("#report_marklist_subject_start_from").val()))+"&subwise_end="+trim(($("#report_marklist_subject_end_to").val()));
if( document.getElementById("report_student").checked)
{
if(document.getElementById("report_m_se_subject_subcode").checked)
{
$search_field = 'sub.FCSUBCODE';
}
if(document.getElementById("report_m_se_subject_shortname").checked)
{
$search_field = 'sub.FSUBSHORT';
}
dataString+="&search_field="+trim($search_field);
window.location.href = $host_url+"GenerateMarksEntryStudentWiseReport.demo"+dataString;
}
if(document.getElementById("report_subject").checked)
{
window.location.href = $host_url+"GenerateMarksEntrySubjectWiseReport.demo"+dataString;
}
}
function GetMarklistStudentGeneralGetExamNO($Examno)
{
switch(document.getElementById('module_name_for_save').value)
{
case 'saveMarklistStudentWise':
$degcode=document.getElementById("report_marklist_student_degree_code").value;
if($degcode=="")
{
alert("please Enter Degree Code");
document.getElementById("report_marklist_student_degree_code").focus();
return;
}
PopupMarkEntrySubGetExamNO($degcode,$Examno);
break;
}
}
|