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


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

function callqpindentreport() {
  $("#page_main_div").load("../html_modules/qpindent.html", function() {
    document.getElementById("display_module_name").innerHTML = "QP Indent";
    document.getElementById("module_name_for_save").value = "QP Indent";
    getDefaultHeadFooterLinks("QP Indent");
  });
}

function Generateqpreport() {
  var centre_from = $("#centre_from").val();
  var centre_to = $("#centre_to").val();
  var qp_from = $("#qp_from").val();
  var qp_to = $("#qp_to").val();
  if (trim($("#centre_from").val()) == "") {
    alert("Please Enter Centre from!!");
    $("#centre_from").focus();
    return;
  }

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

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

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

  window.location.href =
    $host_url +
    "Generateqpreport&centre_from=" +
    centre_from +
    "&centre_to=" +
    centre_to +
    "&qp_from=" +
    qp_from +
    "&qp_to=" +
    qp_to;
}