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


Current Path : /var/www/oasis/js/
Upload File :
Current File : /var/www/oasis/js/report_admission_list_vku.js

function LoadAdmissionListingvku() {
  $("#page_main_div").load(
    "../html_modules/admission_list_vku.html",
    function () {
      $("#admstatus").hide();
      document.getElementById("display_module_name").innerHTML =
        "Admission List Report";
      document.getElementById("module_name_for_save").value =
        "ReportAdmissionList";
      $("#report_degree_code").val("");
      $("#report_degree_name").val("");
      getDefaultHeadFooterLinks("Admission Listing");
    }
  );
}

function GenerateAdmissionReport() {
  if (trim($("#report_degree_code").val()) == "") {
    alert("Please Enter Valid Degree Code..!");
    $("#report_degree_code").focus();
    return;
  } else if (trim($("#report_degree_name").val()) == "") {
    alert("Please Enter Valid Degree Code..!");
    $("#report_degree_code").focus();
    return;
  } else if (trim($("#appfrom").val()) == "") {
    alert("Please Enter Application from");
    $("#appfrom").focus();
    return;
  } else if (trim($("#appto").val()) == "") {
    alert("Please Enter Application to");
    $("#appto").focus();
    return;
  } else if (trim($("#type").val()) == "") {
    alert("Please Select Report Type");
    $("#type").focus();
    return;
  } else if (trim($("#appfrom").val()) == "") {
    alert("Please Enter Application From No.");
    $("#appfrom").focus();
    return;
  } else if (trim($("#appto").val()) == "") {
    alert("Please Enter Application To No.");
    $("#appto").focus();
    return;
  }
  var db = window.location.pathname.split("/")[urlarr.length - 2];
  var parameters =
    "&degree_code=" +
    trim($("#report_degree_code").val()) +
    "&exam_no=" +
    trim($("#year").val()) +
    "&status=" +
    trim($("#status").val()) +
    "&appfrom=" +
    trim($("#appfrom").val()) +
    "&appto=" +
    trim($("#appto").val());
  if (trim($("#type").val()) == "adml") {
    if (db == "ru" || db == "vskub")
      window.open($host_url + "generateAdmissionReportRUR.demo" + parameters);
    else window.open($host_url + "generateAdmissionReport.demo" + parameters);
  } else if (trim($("#type").val()) == "admp")
    window.open(
      $host_url +
        "PrintAdmApplication.demo" +
        parameters +
        "&reporttype=summary"
    );
  else if (trim($("#type").val()) == "admlist")
    window.open(
      $host_url + "admlist.demo" + parameters + "&reporttype=summary"
    );
  else if (trim($("#type").val()) == "vrst")
    window.open(
      $host_url + "verifystud.demo" + parameters + "&reporttype=summary"
    );
  else if (trim($("#type").val()) == "empty") {
    window.open($host_url + "generateemptyadmdet.demo");
  }
}

function showstatusadm() {
  $("#admstatus").hide();
  var type = $("#type").val();

  if (type == "adml") {
    $("#admstatus").show();
  }
}

/*
 *
 * FOR THE Report degree list
 * PROGRAMED BY NAVEEN
 * DATE: 13/03/09
 * TIME: 1:15 PM
 *
 */