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


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

/*
 * CANDIDATE LIST PRINTING
 * PROGRAMED BY NAVEEN
 * DATE: 16/04/09
 * TIME: 10:15 AM
 *
 */
function LoadCandidateListPrinting() {
  $("#page_main_div").load(
    "../html_modules/candidate_list_printing.html",
    function() {
      document.getElementById("display_module_name").innerHTML =
        "Candidate List Report";
      document.getElementById("module_name_for_save").value =
        "ReportCandidateList";
      getDefaultHeadFooterLinks("Candidate List Printing");
      $("#report_cl_degree_code").val("");
      $("#report_degree_name").val("");
      $("#report_cl_regno_start_from").val();
    }
  );
}

function GenerateCandidateListReport() {
  if (trim($("#report_cl_degree_code").val()) == "") {
    alert("Please Enter Degree Code!!");
    $("#report_cl_degree_code").focus();
    return;
  }

  if (document.getElementById("report_cl_subcode").checked) {
    $search_field = "sub.FSUBCODE";
  }
  if (document.getElementById("report_cl_shortname").checked) {
    $search_field = "sub.FSUBSHORT";
  }

  window.location.href =
    $host_url +
    "generateCandidateListReport.demo&degree_code=" +
    trim($("#report_cl_degree_code").val()) +
    "&streg=" +
    trim($("#report_cl_regno_start_from").val()) +
    "&edreg=" +
    trim($("#report_cl_regno_end_to").val()) +
    "&search_field=" +
    $search_field;
}

function LoadCollegeWiseStudentListPrinting() {
  $("#page_main_div").load(
    "../html_modules/collegeWiseStudent_list_printing.html?v=08082017",
    function() {
      document.getElementById("display_module_name").innerHTML =
        "College wise Student List Report";
      document.getElementById("module_name_for_save").value =
        "ReportCandidateList";
      getDefaultHeadFooterLinks("Collegewise Student List");
      $("#report_cl_degree_code").val("");
      $("#report_degree_name").val("");
      $("#report_cl_regno_start_from").val();
    }
  );
}

function GenerateCollegeWiseStudListReport() {
  var freshexam = "F";
  if (trim($("#report_cl_degree_code").val()) == "") {
    alert("Please Enter Degree Code!!");
    $("#report_cl_degree_code").focus();
    return;
  }
  if (document.getElementById("freshexam").checked == true) freshexam = "T";

  window.location.href =
    $host_url +
    "generateCollegeWiseStudListReport.demo&degree_code=" +
    trim($("#report_cl_degree_code").val()) +
    "&streg=" +
    trim($("#report_cl_regno_start_from").val()) +
    "&edreg=" +
    trim($("#report_cl_regno_end_to").val()) +
    "&freshexam=" +
    freshexam;
}