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


Current Path : /var/www/oasis/custom_js_old/
Upload File :
Current File : /var/www/oasis/custom_js_old/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.location.href = $host_url + "GenerateDeviationReport" + str;
}