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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/134.8ac48283.chunk.js.map

{"version":3,"sources":["pages/finance/feeReport/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","pages/common/degreeGroupWithYearType.js"],"names":["FeeReport","state","fcollfrm","fcollto","fdegfrm","fdegto","rformat","rtype","range","rftype","artype","moduleType","report_options","moduleTypeOptions","examNoRange","showPdf","showExcel","fyear","fexamtype","fdeggrp","fexamdate","changeDeggrp","e","data","console","log","value","deggrp","_this","props","filter","el","i","setState","frmSubmit","handleChange","ddOptions","name","fetchDropDownOptions","map","element","fcode","obj","text","fdescpn","fvalue","push","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","handleReport","_this$state","showError","header","content","window","open","ReportAPI","univcode","JSON","stringify","degdet","componentDidMount","_callee","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","getDropDownOptions","fetchDegGrp","stop","_this$state2","this","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","fluid","Content","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_14__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Description","overflowY","height","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","_common_degreeGroupWithYearType__WEBPACK_IMPORTED_MODULE_18__","pdeggrp","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","search","selection","onChange","placeholder","options","fcurtype","Group","Input","maxLength","marginTop","label","Component","connect","user","univ","funivcode","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","DegreeGroupWithYearType","deggroup_options","key","concat","_this$props$pdeggrp","react__WEBPACK_IMPORTED_MODULE_7___default","size","disabled","openOnFocus","selectOnBlur","readOnly"],"mappings":"kSAeMA,6MACJC,MAAQ,CACNC,SAAU,QACVC,QAAS,QACTC,QAAS,QACTC,OAAQ,QACRC,QAAS,GACTC,MAAO,GACPC,OAAO,EACPC,OAAQ,aACRC,OAAQ,MACRC,WAAY,GACZC,eAAgB,GAChBC,kBAAmB,GACnBC,YAAa,SACbC,SAAS,EACTC,WAAW,EACXC,MAAO,GACPC,UAAW,GACXC,QAAS,GACTC,UAAW,MAGbC,aAAe,SAACC,EAAGC,GACjBC,QAAQC,IAAIF,EAAKG,OACjB,IAGIC,EAHYC,EAAKC,MAAMF,OAAOG,OAChC,SAACC,EAAIC,GAAL,OAAWD,EAAGZ,UAAYI,EAAKG,QAEV,GAEvBE,EAAKK,SAAS,CACZhB,MAAOU,EAAOV,MACdC,UAAWS,EAAOT,UAClBE,UAAWO,EAAOP,UAClBD,QAASI,EAAKG,MACdQ,WAAW,OAIfC,aAAe,SAACb,EAAGC,GACjB,IAAIa,EAAY,GAChB,GAAiB,cAAbb,EAAKc,KAAsB,CAE7B,GAAkB,OAAdd,EAAKG,MACPE,EAAKC,M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EjBhD,SACAC,EAHiB+C,EAGjB/C,QACAC,EAJiB8C,EAIjB9C,QACAC,EALiB6C,EAKjB7C,OACAC,EANiB4C,EAMjB5C,QAEAE,GARiB0C,EAOjB3C,MAPiB2C,EAQjB1C,OAGAM,GAXiBoC,EASjBzC,OATiByC,EAUjBtC,eAViBsC,EAWjBpC,aACAG,EAZiBiC,EAYjBjC,MACAC,EAbiBgC,EAajBhC,UACAC,EAdiB+B,EAcjB/B,QAdiB+B,EAejB9B,UAMF,GAAgB,KAAZD,EAAJ,CAKA,GAAIX,EAAO,CACT,GAAiB,KAAbN,GAA+B,KAAZC,EAAgB,CAGrC,YADAyB,EAAKC,MAAMsB,UADG,CAAEC,OAAQ,QAASC,QAAS,wBAK5C,GAAgB,KAAZjD,GAA6B,KAAXC,EAAe,CAGnC,YADAuB,EAAKC,MAAMsB,UADG,CAAEC,OAAQ,QAASC,QAAS,wBAK9C,GAAgB,KAAZ/C,EAKW,sBAAXA,EACFgD,OAAOC,KACLC,IACE,8BAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACF,UAEkB,yBAAXG,EACTgD,OAAOC,KACLC,IACE,4BAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACF,UAEkB,0BAAXG,EACTgD,OAAOC,KACLC,IACE,iCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,2BAAXA,EACTgD,OAAOC,KACLC,IACE,iCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,0BAAXA,EACTgD,OAAOC,KACLC,IACE,iCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,2BAAXA,EACTgD,OAAOC,KACLC,IACE,iCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,0BAAXA,EACTgD,OAAOC,KACLC,IACE,iCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACF,UAEkB,gCAAXZ,EACTgD,OAAOC,KACLC,IACE,uCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,8BAAXA,EACTgD,OAAOC,KACLC,IACE,qCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,oBAAXA,EACTgD,OAAOC,KACLC,IACE,2BAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACF,UAEkB,+BAAXZ,EACTgD,OAAOC,KACLC,IACE,qCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG,EACA,cACAC,EACA,YACAZ,EACF,UAEkB,qBAAXA,EACTgD,OAAOC,KACLC,IACE,uCAEArC,EACA,aACAS,EAAKC,MAAM4B,SACX,aACArD,EACA,WACAC,EACA,cACAH,EACA,YACAC,EACA,eACAW,EACA,UACAG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EAAD,CACEmE,KAAK,OACLzE,OAAK,EACLuB,QAAM,EACNC,WAAS,EACT3E,MAAOP,EACPmF,SAAU7B,KAAK5C,MAAMR,aACrBkF,YAAY,sBACZgD,SAAU9E,KAAK5C,MAAM0H,SACrBC,aAAa,EACbhD,QAASyC,EACTQ,cAAc,KAGlBJ,EAAArF,EAAAW,cAACC,EAAA,EAAK8B,MAAN,KACE2C,EAAArF,EAAAW,cAACC,EAAA,EAAK+B,MAAN,CACEJ,YAAY,OACZ7E,MAAOT,EACPiF,MAAO,EACPY,MAAM,OACN4C,UAAQ,IAEVL,EAAArF,EAAAW,cAACC,EAAA,EAAK+B,MAAN,CACEJ,YAAY,OACZ7E,MAAOR,EACPgF,MAAO,EACPY,MAAM,OACN4C,UAAQ,IAEVL,EAAArF,EAAAW,cAACC,EAAA,EAAK+B,MAAN,CACEJ,YAAY,YACZO,MAAM,YACNZ,MAAO,GACPxE,MAAON,EACPsI,UAAQ,aAvDkB3C,aAsEvBC,gBAPS,SAAC/G,GACvB,MAAO,CACL0B,OAAQ1B,EAAM0B,OACdsF,KAAMhH,EAAMgH,OAIwB,CAAE3C,iBAA3B0C,CACbgC","file":"static/js/134.8ac48283.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport {\n  Card,\n  Divider,\n  Button,\n  Form,\n  Dropdown,\n  Radio,\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError, getDropDownOptions, fetchDegGrp } from \"../../../actions\";\nimport DegreeGroupWithYearType from \"../../common/degreeGroupWithYearType\";\n\nclass FeeReport extends Component {\n  state = {\n    fcollfrm: \"00000\",\n    fcollto: \"ZZZZZ\",\n    fdegfrm: \"00000\",\n    fdegto: \"ZZZZZ\",\n    rformat: \"\",\n    rtype: \"\",\n    range: false,\n    rftype: \"PDF Format\",\n    artype: \"All\",\n    moduleType: \"\",\n    report_options: [],\n    moduleTypeOptions: [],\n    examNoRange: \"ABCDEF\",\n    showPdf: true,\n    showExcel: true,\n    fyear: \"\",\n    fexamtype: \"\",\n    fdeggrp: \"\",\n    fexamdate: \"\",\n  };\n\n  changeDeggrp = (e, data) => {\n    console.log(data.value);\n    let deggrpsel = this.props.deggrp.filter(\n      (el, i) => el.fdeggrp === data.value\n    );\n    let deggrp = deggrpsel[0];\n\n    this.setState({\n      fyear: deggrp.fyear,\n      fexamtype: deggrp.fexamtype,\n      fexamdate: deggrp.fexamdate,\n      fdeggrp: data.value,\n      frmSubmit: false,\n    });\n  };\n\n  handleChange = (e, data) => {\n    let ddOptions = [];\n    if (data.name == \"moduleType\") {\n      // console.log(this.props.fetchDropDownOptions);\n      if (data.value == \"ADM\") {\n        this.props.fetchDropDownOptions.map((element) => {\n          if (element.fcode == \"ADM\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      } else if (data.value == \"EXAM\") {\n        const report_options = [\n          {\n            value: \"examApplicationFeeSummary\",\n            text: \"Exam Application Fee Summary\",\n          },\n          {\n            value: \"generateExamAppDetailReport\",\n            text: \"Exam Application Fee Report ( Payment Mode Wise)\",\n          },\n          {\n            value: \"colgWiseDegDetReport\",\n            text: \"College Wise Degree wise Exam Fee Report\",\n          },\n          { value: \"catgoryWiseExamFeeReport\", text: \"Exam Fee Category Wise\" },\n          { value: \"multiplePaymetReport\", text: \"Multiple Payment Report\" },\n          {\n            value: \"feeCollecReport\",\n            text: \"Degree wise Fine Collection Exam Fee Report\",\n          },\n          {\n            value: \"generateMultipleFeeReport\",\n            text: \"Multiple Payment Report\",\n          },\n          {\n            value: \"studwiseFeeReport\",\n            text: \"Student wise Exam Fee Report (Excel)\",\n          },\n          {\n            value: \"studwiseFeeReportPDF\",\n            text: \"Student wise Exam Fee Report (PDF)\",\n          },\n          { value: \"examfeedetailexcel\", text: \"Exam Fee Detail (Excel)\" },\n          {\n            value: \"examfeedetailnewexcel\",\n            text: \"Exam Fee Detail NEW FORMAT (Excel)\",\n          },\n          {\n            value: \"centerwisesemisterwise\",\n            text: \"Center wise, Semester wise Student Count (Excel)\",\n          },\n          {\n            value: \"collegewisesemisterwise\",\n            text: \"College wise, Semester wise Student Count (Excel)\",\n          },\n          {\n            value: \"centerwisestudentcount\",\n            text: \"Center Wise Student Count (Excel)\",\n          },\n          {\n            value: \"collegewisestudentcount\",\n            text: \"College Wise Student Count (Excel)\",\n          },\n          {\n            value: \"qpcodewisestudentcount\",\n            text: \"QP wise Student Count (Excel)\",\n          },\n          {\n            value: \"centerwiseqpwisestudentcount\",\n            text: \"Center wise, QP wise, Student Count (Excel)\",\n          },\n          {\n            value: \"centerwisedegreewiseqpwise\",\n            text: \"Center wise, Degree wise, QP wise Student Count (Excel)\",\n          },\n          {\n            value: \"degreewiseqpwise\",\n            text: \"Degree wise, QP wise, Student Count (Excel)\",\n          },\n          {\n            value: \"collegewisedegreewiseqpwise\",\n            text: \"College wise, Degree wise, QP wise Student count (Excel)\",\n          },\n          {\n            value: \"collegewiseqpwise\",\n            text: \"College wise, QP wise Student count (Excel)\",\n          },\n          {\n            value: \"centerdegreesemister\",\n            text: \"Center wise, Degreewise ,Semester wise Student count (Excel)\",\n          },\n          {\n            value: \"collegedegreesemister\",\n            text: \"College wise, Degreewise ,Semester wise Student count (Excel)\",\n          },\n        ];\n        ddOptions.push(report_options);\n      }\n\n      console.log(\"options\", ddOptions);\n      this.setState({ report_options: ddOptions[0] });\n    }\n\n    this.setState({ [data.name]: data.value });\n  };\n\n  handleReport = () => {\n    const {\n      fcollfrm,\n      fcollto,\n      fdegfrm,\n      fdegto,\n      rformat,\n      rtype,\n      range,\n      rftype,\n      report_options,\n      examNoRange,\n      fyear,\n      fexamtype,\n      fdeggrp,\n      fexamdate,\n    } = this.state;\n\n    // const { fyear, fexamtype, fexamrange, fdeggrp } = this.props.deggrp;\n    // console.log(fdeggrp);\n    // return;\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n    if (range) {\n      if (fcollfrm === \"\" || fcollto === \"\") {\n        const error = { header: \"Error\", content: \"Enter College Range\" };\n        this.props.showError(error);\n        return;\n      }\n\n      if (fdegfrm === \"\" || fdegto === \"\") {\n        const error = { header: \"Error\", content: \"Enter Degree range\" };\n        this.props.showError(error);\n        return;\n      }\n    }\n    if (rformat === \"\") {\n      const error = { header: \"Error\", content: \"Select Report Format\" };\n      this.props.showError(error);\n      return;\n    }\n    if (rformat == \"examfeedetailexcel\") {\n      window.open(\n        ReportAPI +\n          \"ExamFeeDetailsExcel\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto,\n        \"_blank\"\n      );\n    } else if (rformat == \"examfeedetailnewexcel\") {\n      window.open(\n        ReportAPI +\n          \"exmfeedetnewexcel\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto,\n        \"_blank\"\n      );\n    } else if (rformat == \"centerwisesemisterwise\") {\n      window.open(\n        ReportAPI +\n          \"centerwisesemisterwise\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"collegewisesemisterwise\") {\n      window.open(\n        ReportAPI +\n          \"centerwisesemisterwise\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"centerwisestudentcount\") {\n      window.open(\n        ReportAPI +\n          \"centerwisestudentcount\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"collegewisestudentcount\") {\n      window.open(\n        ReportAPI +\n          \"centerwisestudentcount\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"qpcodewisestudentcount\") {\n      window.open(\n        ReportAPI +\n          \"qpcodewisestudentcount\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype,\n        \"_blank\"\n      );\n    } else if (rformat == \"centerwiseqpwisestudentcount\") {\n      window.open(\n        ReportAPI +\n          \"centerwiseqpwisestudentcount\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"centerwisedegreewiseqpwise\") {\n      window.open(\n        ReportAPI +\n          \"centerwisedegreewiseqpwise\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"degreewiseqpwise\") {\n      window.open(\n        ReportAPI +\n          \"degreewiseqpwise\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype,\n        \"_blank\"\n      );\n    } else if (rformat == \"collegewisedegreewiseqpwise\") {\n      window.open(\n        ReportAPI +\n          \"centerwisedegreewiseqpwise\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"collegewiseqpwise\") {\n      window.open(\n        ReportAPI +\n          \"centerwiseqpwisestudentcount\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"centerdegreesemister\") {\n      window.open(\n        ReportAPI +\n          \"centerdegreesemister\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else if (rformat == \"collegedegreesemister\") {\n      window.open(\n        ReportAPI +\n          \"centerdegreesemister\" +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&fdegfrom=\" +\n          fdegfrm +\n          \"&fdegto=\" +\n          fdegto +\n          \"&fcollfrom=\" +\n          fcollfrm +\n          \"&fcollto=\" +\n          fcollto +\n          \"&fexamrange=\" +\n          examNoRange +\n          \"&fyear=\" +\n          fyear +\n          \"&fexamtype=\" +\n          fexamtype +\n          \"&rformat=\" +\n          rformat,\n        \"_blank\"\n      );\n    } else {\n      console.log(\"rformat\", rformat, fdeggrp);\n      window.open(\n        ReportAPI +\n          rformat +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&cntr_from=\" +\n          fcollfrm +\n          \"&cntr_end=\" +\n          fcollto +\n          \"&degree_from=\" +\n          fdegfrm +\n          \"&degree_to=\" +\n          fdegto +\n          \"&Degree=\" +\n          fdeggrp +\n          \"&examno_from=\" +\n          examNoRange +\n          \"&user=\" +\n          JSON.stringify(this.props.degdet),\n        \"_blank\"\n      );\n    }\n  };\n\n  componentDidMount = async () => {\n    await this.props.getDropDownOptions();\n    this.props.fetchDegGrp();\n    console.log(\"api called\", this.props);\n  };\n\n  render() {\n    const {\n      fcollfrm,\n      fcollto,\n      fdegfrm,\n      fdegto,\n      rformat,\n      rtype,\n      rftype,\n      artype,\n      moduleType,\n      report_options,\n      examNoRange,\n      fyear,\n      fexamtype,\n      fdeggrp,\n      fexamdate,\n    } = this.state;\n\n    let moduleTypeOptions = [];\n    this.props.fetchDropDownOptions.map((element) => {\n      if (element.fcode == \"OPT1\") {\n        let obj = {};\n        obj.text = element.fdescpn;\n        obj.value = element.fvalue;\n        moduleTypeOptions.push(obj);\n      }\n    });\n\n    const report_type = [\n      { key: \"Summary\", value: \"Summary\", text: \"Summary\" },\n      { key: \"Detail\", value: \"Detail\", text: \"Detailed\" },\n    ];\n\n    // const module_type = [\n    //   { key: \"ADM\", value: \"ADM\", text: \"Admission\" },\n    //   { key: \"EXAM\", value: \"EXAM\", text: \"EXAM\" }\n    // ];\n\n    return (\n      <Card fluid>\n        <Card.Content>\n          <Card.Header style={{ display: \"flex\" }}>\n            <h4>Fee Report</h4>\n            <div className=\"ml-auto\">\n              <Button\n                basic\n                color=\"blue\"\n                onClick={this.handleReport}\n                content=\"Report\"\n                icon=\"file\"\n              />\n              <Button\n                basic\n                color=\"black\"\n                icon=\"ban\"\n                // onClick={this.handleCancel}\n                content=\"Cancel\"\n              />\n              <Link to=\"/dashboard\">\n                <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n              </Link>\n            </div>\n          </Card.Header>\n          <Divider />\n          <Card.Description style={{ overflowY: \"auto\", height: \"70vh\" }}>\n            <div className=\"col-md-7\">\n              <Form>\n                <DegreeGroupWithYearType\n                  pdeggrp={{ fdeggrp, fyear, fexamtype, fexamdate }}\n                  changeDeggrp={this.changeDeggrp}\n                />\n\n                <div>\n                  <Form.Field width={16}>\n                    <label>Module Type</label>\n                    <Dropdown\n                      fluid\n                      search\n                      selection\n                      onChange={this.handleChange}\n                      value={moduleType}\n                      name=\"moduleType\"\n                      placeholder=\"Select Report Type\"\n                      options={moduleTypeOptions}\n                    />\n                  </Form.Field>\n                  <Form.Field width={16}>\n                    <label>Report</label>\n                    <Dropdown\n                      fluid\n                      search\n                      selection\n                      onChange={this.handleChange}\n                      value={rformat}\n                      name=\"rformat\"\n                      placeholder=\"Select Report\"\n                      options={this.state.report_options}\n                    />\n                  </Form.Field>\n                  {this.props.degdet.fcurtype < \"500\" ? (\n                    <Form.Group>\n                      <Form.Field width={8}>\n                        <label>College Range</label>\n                        <Form.Input\n                          placeholder=\"From\"\n                          name=\"fcollfrm\"\n                          value={fcollfrm}\n                          onChange={this.handleChange}\n                          maxLength=\"5\"\n                        />\n                      </Form.Field>\n                      <Form.Field width={8}>\n                        <Form.Input\n                          placeholder=\"To\"\n                          name=\"fcollto\"\n                          value={fcollto}\n                          onChange={this.handleChange}\n                          maxLength=\"5\"\n                          style={{ marginTop: \"1.6em\" }}\n                        />\n                      </Form.Field>\n                    </Form.Group>\n                  ) : null}\n                </div>\n\n                <Form.Group>\n                  <Form.Field width={8}>\n                    <Form.Input\n                      placeholder=\"From\"\n                      name=\"fdegfrm\"\n                      value={fdegfrm}\n                      onChange={this.handleChange}\n                      maxLength=\"5\"\n                      label=\"Degree Range\"\n                    />\n                  </Form.Field>\n                  <Form.Field width={8}>\n                    <Form.Input\n                      placeholder=\"To\"\n                      name=\"fdegto\"\n                      value={fdegto}\n                      onChange={this.handleChange}\n                      maxLength=\"5\"\n                      style={{ marginTop: \"1.6em\" }}\n                    />\n                  </Form.Field>\n                </Form.Group>\n\n                <Form.Group>\n                  <Form.Field width={16}>\n                    <label>Exam No Range</label>\n                    <Form.Input\n                      placeholder=\"Exam No Range\"\n                      name=\"examNoRange\"\n                      value={examNoRange}\n                      onChange={this.handleChange}\n                      maxLength=\"6\"\n                      // style={{ marginTop: \"1em\" }}\n                    />\n                  </Form.Field>\n                  {/* <Form.Field width={8}>\n                    <label>Report Type</label>\n                    <Dropdown\n                      fluid\n                      search\n                      selection\n                      onChange={this.handleChange}\n                      value={rtype}\n                      name=\"rtype\"\n                      placeholder=\"Select Report Type\"\n                      options={report_type}\n                    />\n                  </Form.Field> */}\n                </Form.Group>\n                {/* <Form.Group inline>\n                  <Form.Field\n                    control={Radio}\n                    name=\"rftype\"\n                    label=\"PDF\"\n                    value=\"PDF Format\"\n                    checked={rftype === \"PDF Format\"}\n                    onChange={this.handleChange}\n                  />\n                  <Form.Field\n                    control={Radio}\n                    name=\"rftype\"\n                    label=\"EXCEL\"\n                    value=\"Excel Format\"\n                    checked={rftype === \"Excel Format\"}\n                    onChange={this.handleChange}\n                  />\n                </Form.Group> */}\n              </Form>\n            </div>\n          </Card.Description>\n        </Card.Content>\n      </Card>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  console.log(\"state\", state.fetchDropDownOptions);\n  return {\n    degdet: state.user,\n    univcode: state.univ.funivcode,\n    fetchDropDownOptions: state.fetchDropDownOptions,\n    deggrp: state.deggrp,\n  };\n};\n\nexport default connect(mapStateToProps, {\n  showError,\n  getDropDownOptions,\n  fetchDegGrp,\n})(FeeReport);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n      className = props.className,\n      clearing = props.clearing,\n      content = props.content,\n      fitted = props.fitted,\n      hidden = props.hidden,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      section = props.section,\n      vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegGrp } from \"../../actions\";\n\nclass DegreeGroupWithYearType extends Component {\n  async componentDidMount() {\n    // await this.props.fetchDegGrp();\n  }\n\n  render() {\n    const deggroup = this.props.deggrp;\n    var deggroup_options = deggroup.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdeggrp,\n        text: `${el.fdeggrp} - ${el.fdescpn}`,\n      };\n    });\n    console.log(this.props.pdeggrp);\n    const { fdeggrp, fyear, fexamtype, fexamdate } = this.props.pdeggrp;\n\n    return (\n      <div>\n        <Form.Field>\n          <label>Degree Group</label>\n          <Dropdown\n            size=\"mini\"\n            fluid\n            search\n            selection\n            value={fdeggrp}\n            onChange={this.props.changeDeggrp}\n            placeholder=\"Select Degree Group\"\n            disabled={this.props.disabled}\n            openOnFocus={false}\n            options={deggroup_options}\n            selectOnBlur={false}\n          />\n        </Form.Field>\n        <Form.Group>\n          <Form.Input\n            placeholder=\"Year\"\n            value={fyear}\n            width={4}\n            label=\"Year\"\n            readOnly\n          />\n          <Form.Input\n            placeholder=\"Type\"\n            value={fexamtype}\n            width={3}\n            label=\"Type\"\n            readOnly\n          />\n          <Form.Input\n            placeholder=\"Exam Date\"\n            label=\"Exam Date\"\n            width={10}\n            value={fexamdate}\n            readOnly\n          />\n        </Form.Group>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    user: state.user,\n  };\n};\n\nexport default connect(mapStateToProps, { fetchDegGrp })(\n  DegreeGroupWithYearType\n);\n"],"sourceRoot":""}