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.149.240.101


Current Path : /var/www/oasis/js_old/
Upload File :
Current File : /var/www/oasis/js_old/qpissue.js

function callqpissue() {
  $("#page_main_div").load("../html_modules/qpissue.html", function() {
    document.getElementById("display_module_name").innerHTML =
      "QP Issue Format";
    document.getElementById("module_name_for_save").value = "QP Issue Format";
    getDefaultHeadFooterLinks("QP Issue Format");
    var today = new Date();
    var dd = today.getDate();
    var mm = today.getMonth() + 1;
    var yyyy = today.getFullYear();
    var date = dd + "/" + mm + "/" + yyyy;
    $("#examdate").val(date);
  });
}

function Generateqpissue() {
  if (trim($("#examdate").val()) == "") {
    alert("Please Enter Exam Date.");
    $("#examdate").focus();
    return;
  }
  var session = "N";
  if (document.getElementById("m").checked == true) {
    session = "M";
  } else {
    session = "N";
  }

  var dataString =
    "&exdate=" + trim($("#examdate").val()) + "&session=" + session;

  window.location.href = $host_url + "GenerateQpIssue" + 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;
  }
}