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


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

function callRVFeePaidReports() {
  $("#page_main_div").load("../html_modules/feepaidreports.html", function() {
    document.getElementById("display_module_name").innerHTML = "RV Fee Report";
    document.getElementById("module_name_for_save").value = "RV Fee Report";
    getDefaultHeadFooterLinks("RV Fee Report");

    $.ajax({
      type: "POST",
      data: "type=loadsub",
      url: $host_url + "getdegrv",
      success: function(responce) {
        var responce = eval("(" + responce + ")");
        if (responce.error_code == 0) {
          var degree = responce.data;
          var options;
          options += `<option value="">--Select--</option>`;
          for (var i = 0; i < degree.length; i++) {
            options += `<option value="${degree[i].fdegree}">${degree[i].fdescpn}</options>`;
          }

          $("#fdegree").html(options);
        }
      }
    });
  });
}

function getcolldegexamrv() {
  var degree = $("#fdegree").val();
  $.ajax({
    type: "POST",
    data: "type=loadsub" + "&degree=" + degree,
    url: $host_url + "getcolldegrv",
    success: function(responce) {
      var responce = eval("(" + responce + ")");
      if (responce.error_code == 0) {
        var exam = responce.data;
        var options;
        options += `<option value="">All</option>`;
        for (var i = 0; i < exam.length; i++) {
          options += `<option value="${exam[i].fexamno}">${exam[i].fexamname}</options>`;
        }

        $("#sem").html(options);
      }
    }
  });
}

function ReportRVApplicationForm() {
  if (trim($("#fdegree").val()) == "") {
    alert("Select Degree Code!!");
    $("#fdegree").focus();
    return;
  }

  if (trim($("#sem").val()) == "") {
    alert("Please Enter Exam No");
    $("#sem").focus();
    return;
  }

  var dataString =
    "&fdegree=" +
    trim($("#fdegree").val()) +
    "&sem=" +
    trim($("#sem").val()) +
    "&rtype=" +
    trim($("#rtype").val()) +
    "&ack_type=" +
    trim($("#ack_type").val());

  window.location.href = $host_url + "RVApplicationsReport" + dataString;
}