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


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

function callRegcandiListGcg() {
  $("#page_main_div").load(
    "../html_modules/report_reg_list_gcg.html",
    function () {
      document.getElementById("display_module_name").innerHTML =
        "Registration Candidate List";
      document.getElementById("module_name_for_save").value =
        "Registration Candidate List";
      getDefaultHeadFooterLinks("Registration Candidate List");
      $("#degree").val("");
      $("#degree").val("");

      $.ajax({
        type: "POST",
        data: "type=loadsub",
        url: $host_url + "getdegreg",
        success: function (responce) {
          var responce = eval("(" + responce + ")");
          if (responce.error_code == 0) {
            var degree = responce.data;
            var options;
            options += `<option value="">--Select--</option>`;
            for (var i = 0; i < degree.length; i++) {
              options += `<option value="${degree[i].fdegree}">${degree[i].fdescpn}</options>`;
            }

            $("#degree").html(options);
          }
        },
      });
    }
  );
}

function ReportRegCandListGcg() {
  if (trim($("#degree").val()) == "") {
    alert("Please select degree!");
    $("#degree").focus();
    return;
  }
  if (trim($("#report_student_Examno").val()) == "") {
    alert("Please Enter Exam No");
    $("#report_student_Examno").focus();
    return;
  }
  if (
    trim($("#report_application_range_from").val()) == "" ||
    trim($("#report_application_end_to").val()) == ""
  ) {
    alert("Please Enter Application Range");

    return;
  }
  if (
    trim($("#report_exam_reg_start_from").val()) == "" ||
    trim($("#report_exam_reg_end_to").val()) == ""
  ) {
    alert("Please Enter Reg.No Range");

    return;
  }
  var dataString =
    "&degree_code=" +
    trim($("#degree").val()) +
    "&exam_code=" +
    trim($("#report_student_Examno").val());
  dataString +=
    "&app_start=" +
    trim($("#report_application_range_from").val()) +
    "&app_end=" +
    trim($("#report_application_end_to").val());
  dataString +=
    "&reg_start=" +
    trim($("#report_exam_reg_start_from").val()) +
    "&reg_end=" +
    trim($("#report_exam_reg_end_to").val()) +
    "&report_type=" +
    trim($("#ack_type").val()) +
    "&payment_type=" +
    trim($("#pay_mode").val());

  window.open($host_url + "generateRegListReportGcg" + dataString);

  //var data="&degree_code="+trim(($("#report_marklist_student_degree_code").val()))
}