text: // Copyright (c) 2016, GreyCube Technologies and contributors
  // For license information, please see license.txt
  /* eslint-disable */
  
  frappe.query_reports["Candidates For Future Hire"] = {
    filters: [
      // {
      //   fieldname: "from_date",
      //   label: __("From Date (Sales Stage Last Updated Date)"),
      //   fieldtype: "Date",
      //   default: moment().startOf("month"),
      //   reqd: 1,
      // },
      // {
      //   fieldname: "till_date",
      //   label: __("Till Date (Sales Stage Last Updated Date)"),
      //   fieldtype: "Date",
      //   default: moment(),
      //   reqd: 1,
      // },
      // {
      //   fieldname: "timespan",
      //   label: __("Opportunity Creation Date in "),
      //   fieldtype: "Select",
      //   options: npro.utils.TIMESPAN_OPTIONS,
      //   on_change: function (query_report) {
      //     let date_range = npro.utils.get_date_range(
      //       query_report.get_values().timespan
      //     );
      //     frappe.query_report.set_filter_value({
      //       from_date: date_range[0],
      //       till_date: date_range[1],
      //     });
      //   },
      //   default: "This Month",
      // },
    ],
  
    onload: function (report) {
      // report.page.set_title("");
    },
  
  
    "formatter": function (value, row, column, data, default_formatter) {
      value = default_formatter(value, row, column, data);
  
      if (column.fieldname == "applicant_name") {
        value = `<a href="/app/job-applicant/${data['applicant']}" data-doctype="Job Applicant">${data['applicant_name']}</a>`;
      }
      return value;
    },
  
  };
  