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 : 3.145.73.167


Current Path : /var/www/oasis/js_old/Report/
Upload File :
Current File : /var/www/oasis/js_old/Report/report_MarksListStudentWise1.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 =
        "Marklist(StudentWise)";
      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("");
      if (
        getCookie("username") != "admin" ||
        getCookie("username") != "super"
      ) {
        document.getElementById("report_student").disable = true;
      }
      $("#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_m_se_subject_subcode").checked) {
    $search_field = "sub.FCSUBCODE";
  }
  if (document.getElementById("report_m_se_subject_shortname").checked) {
    $search_field = "sub.FSHORTNAME";
  }
  window.location.href =
    $host_url +
    "GenerateMarksEntryStudentWiseReport.demo&degree_code=" +
    trim($("#report_marklist_student_degree_code").val()) +
    "&exam_code=" +
    trim($("#report_marklist_student_Examno").val()) +
    "&subwise_start=" +
    trim($("#report_marklist_student_subject_start_from").val()) +
    "&subwise_end=" +
    trim($("#report_marklist_student_subject_end_to").val()) +
    "&search_field=" +
    trim($search_field);
}
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;
  }
}