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


Current Path : /var/www/oasis/custom_js/
Upload File :
Current File : /var/www/oasis/custom_js/deviation_report.js

function CallEnableDeviationReport() {
  $("#page_main_div").load(
    "../html_modules/deviation_report.html",
    function () {
      document.getElementById("display_module_name").innerHTML =
        "Deviation Report";
      document.getElementById("module_name_for_save").value =
        "Deviation Report";
      $("#from_college_code").val(getCookie("college_code"));
      $("#to_college_code").val(getCookie("college_code"));
      if (getCookie("user_type") == "SuperUser") {
        $("#from_college_code").removeAttr("disabled", "disabled");
        $("#to_college_code").removeAttr("disabled", "disabled");
      }
      getDefaultHeadFooterLinks("Deviation Report");
    }
  );
}
function GenerateDeviationReport() {
  var str = "&from_college_code=" + trim($("#from_college_code").val());
  str += "&to_college_code=" + trim($("#to_college_code").val());
  str += "&from_qp_code=" + $("#from_qp_code").val();
  str += "&to_qp_code=" + trim($("#to_qp_code").val());

  //alert(str);
  window.open($host_url + "GenerateDeviationReport" + str);
}