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


Current Path : /var/www/oasis/js_old/
Upload File :
Current File : /var/www/oasis/js_old/bundle_rec_ack.js

function callBundRecAck() {
  $("#page_main_div").load("../html_modules/bundle_rec_ack.html", function() {
    document.getElementById("display_module_name").innerHTML =
      "Bundle Receive Acknowledgement";
    document.getElementById("module_name_for_save").value =
      "Bundle Receive Acknowledgement";
    getDefaultHeadFooterLinks("Bundle Receive Acknowledgement");
    var today = new Date();
    var dd = today.getDate();
    var mm = today.getMonth() + 1;
    var yyyy = today.getFullYear();
    var date = dd + "/" + mm + "/" + yyyy;
    $("#examdate").val(date);
  });
}

function GetBundleRecAck() {
  if (trim($("#examdate").val()) == "") {
    alert("Please Enter Exam Date.");
    $("#examdate").focus();
    return;
  }
  const dataString = "examdate=" + $("#examdate").val();
  $.ajax({
    type: "POST",
    async: false,
    url: $host_url + "getBundleRecAcknowledgement",
    data: dataString,
    success: function(response) {
      const $response = eval("(" + response + ")");
      console.log($response);
      if ($response.error_code == 0) {
        console.log($response.data);
        $("#bund_det").html($response.data.html);
      }
    }
  });
}