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


Current Path : /proc/thread-self/root/var/www/oasis/js/
Upload File :
Current File : //proc/thread-self/root/var/www/oasis/js/teachersreport.js

function calltecherreport() {
  $("#page_main_div").load("../html_modules/teachersreport.html", function () {
    document.getElementById("display_module_name").innerHTML = "Teacher Report";
    document.getElementById("module_name_for_save").value = "Teacher Report";
    getDefaultHeadFooterLinks("Teacher Report");
  });
}

function Generatereport() {
  var coll_from = $("#coll_from").val();
  var coll_to = $("#coll_to").val();
  var board_from = $("#board_from").val();
  var board_to = $("#board_to").val();
  /*console.log("coll_from");*/
  if (trim($("#coll_from").val()) == "") {
    alert("Please Enter College from!!");
    $("#coll_from").focus();
    return;
  }

  if (trim($("#coll_to").val()) == "") {
    alert("Please Enter College To!!");
    $("#coll_to").focus();
    return;
  }

  if (trim($("#board_from").val()) == "") {
    alert("Please Enter Board from!!");
    $("#board_from").focus();
    return;
  }

  if (trim($("#board_to").val()) == "") {
    alert("Please Enter Board To!!");
    $("#board_to").focus();
    return;
  }

  window.open(
    $host_url +
      "GenerateTeacherReportLsys&coll_from=" +
      coll_from +
      "&coll_to=" +
      coll_to +
      "&board_from=" +
      board_from +
      "&board_to=" +
      board_to
  );
}