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


Current Path : /proc/thread-self/root/var/www/html/univadmin/js/
Upload File :
Current File : //proc/thread-self/root/var/www/html/univadmin/js/paymentReport.js

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

function loadPaymentReport() {
  $('#loadtab').load('html_modules/paymentStatus.html?v=' + version, () => loadUnivs('univname'));
}


function uploadPaymentReport() {

  var univcode = $("#univname").val();
  console.log("gfilename", gfilename);
  var parameters = "univcode=" + univcode + "&gfilename=" + gfilename;
  $.blockUI({ message: "<img src='images/Loading_icon.gif' border='0'>" });

  $.ajax({
    type: 'post',
    url: $host_url + 'uploadPaymentReport',
    data: parameters,
    success: function (response) {
      $.unblockUI();
      var { error_code, data, status } = response;
      console.log("univshort", data);
      var univ;
      if (univcode == '041')
        univ = 'bcu';
      else if (univcode == '042')
        univ = 'bnu';
      else if (univcode == '023')
        univ = 'dud';
      html = `
      <a href="http://universitysolutions.in/${data}/paytm_res.php" target="_blank">Exam Fee Update</a><br />
      <a href="http://universitysolutions.in/${data}/rv_update.php" target="_blank">RV/ RT Fee Update</a>
      `;

      $('#payStatus').html(html);
      // onclick='window.open("http://www.foracure.org.au");return false;'
      // http://universitysolutions.in/bcu/paytm_res.php = Exam Fee Update
      // http://universitysolutions.in/bcu/rv_update.php = RV / RT Fee update
      // alert(data);
    }
  });

}