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


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

function Callenabletatkalreport() {
  $("#page_main_div").load(
    "../html_modules/tatkal.html?v=28072017",
    function() {
      document.getElementById("display_module_name").innerHTML =
        "Tatkal Roport";
      document.getElementById("module_name_for_save").value = "Tatkal Roport";
      getDefaultHeadFooterLinks("Tatkal Roport");
    }
  );
}
function Generatetatkalreport() {
  var payed = 0;
  var cpo = 0;
  var app_from = $("#app_from").val();
  var app_to = $("#app_to").val();
  var regno_from = $("#regno_from").val();
  var regno_to = $("#regno_to").val();
  var reportype = $("#reportype").val();
  var date_from = $("#date_from").val();
  var date_to = $("#date_to").val();

  if (reportype == "") {
    alert("select report type");
    return;
  }
  if (document.getElementById("payed").checked == true) payed = 1;

  if (document.getElementById("cpo").checked == true) cpo = 1;
  window.location.href =
    $host_url +
    "Generatetatkalreport&app_from=" +
    app_from +
    "&app_to=" +
    app_to +
    "&regno_from=" +
    regno_from +
    "&regno_to=" +
    regno_to +
    "&reportype=" +
    reportype +
    "&date_from=" +
    date_from +
    "&date_to=" +
    date_to +
    "&payed=" +
    payed +
    "&cpo=" +
    cpo;
}