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


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

function callenableReportApplicationForm(scrtype) {
  $("#page_main_div").load(
    "../html_modules/report_exam_application_form.html",
    function() {
      if (scrtype.toUpperCase() == "RV") {
        document.getElementById("display_module_name").innerHTML =
          "Report RV / RT / CV Application";
      } else if (scrtype.toUpperCase() == "EXAM") {
        document.getElementById("display_module_name").innerHTML =
          "Report Exam Application";
      }

      document.getElementById("module_name_for_save").value =
        "Report Exam Application";
      getDefaultHeadFooterLinks("Exam Fee Report");
      $("#report_marklist_student_degree_code").focus();
      $("#report_marklist_student_degree_code").val("");
      $("#report_marklist_student_degree_name").val("");
      $("#scrtype").val(scrtype);
    }
  );
}

function ReportExamApplicationForm() {
  var scrtype = $("#scrtype").val();
  if (trim($("#report_marklist_student_degree_code").val()) == "") {
    alert("Please Enter Degree Code!!");
    $("#report_marklist_student_degree_code").focus();
    return;
  }
  if (trim($("#report_student_Examno").val()) == "") {
    alert("Please Enter Exam No");
    $("#report_student_Examno").focus();
    return;
  }
  if (
    trim($("#report_application_range_from").val()) == "" ||
    trim($("#report_application_end_to").val()) == ""
  ) {
    alert("Please Enter Application Range");

    return;
  }
  if (
    trim($("#report_exam_reg_start_from").val()) == "" ||
    trim($("#report_exam_reg_end_to").val()) == ""
  ) {
    alert("Please Enter Reg.No Range");

    return;
  }
  var dataString =
    "&degree_code=" +
    trim($("#report_marklist_student_degree_code").val()) +
    "&exam_code=" +
    trim($("#report_student_Examno").val());
  dataString +=
    "&app_start=" +
    trim($("#report_application_range_from").val()) +
    "&app_end=" +
    trim($("#report_application_end_to").val());
  dataString +=
    "&reg_start=" +
    trim($("#report_exam_reg_start_from").val()) +
    "&reg_end=" +
    trim($("#report_exam_reg_end_to").val()) +
    "&report_type=" +
    trim($("#ack_type").val()) +
    "&payment_type=" +
    trim($("#pay_mode").val());

  if (scrtype.toUpperCase() == "RV") {
    window.location.href = $host_url + "RVApplicationsReport" + dataString;
  } else if (scrtype.toUpperCase() == "EXAM") {
    window.location.href =
      $host_url + "DownloadExamAppFormApplications" + dataString;
  }

  //var data="&degree_code="+trim(($("#report_marklist_student_degree_code").val()))
}