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


Current Path : /var/www/html/gach/adm_bcu/js/pg/
Upload File :
Current File : /var/www/html/gach/adm_bcu/js/pg/reprint.js

var $host_url =
  "http://" +
  window.location.host +
  "/" +
  window.location.pathname.split("/")[1] +
  "/" +
  window.location.pathname.split("/")[2] +
  "/app.php?a=";

function rePrintApplication() {
  // $.blockUI({ message: "<img src='img/Loading_icon.gif' border='0'>" });
  $.ajax({
    type: "POST",
    async: false,
    url: $host_url + "pgRePrintApplication",
    success: function(responce) {
      // $.unblockUI();
      responce = eval("(" + responce + ")");
      if (responce.error_code == 0) {
        var gAppNo = responce.fappno;
        //var ffinsub = responce.ffinsub;
        var fpaystatus = responce.fpaystatus;

        if (fpaystatus != "success") {
          alert("Payment not made.");
          return;
        }

        reprint(gAppNo);
      } else {
        alert("Application Not found or Session Expired.");
      }
    }
  });
}

function reprint(gAppNo) {
  window.location.href = $host_url + "applicationFormPGReport&appno=" + gAppNo;
}