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 : 52.14.26.141


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/36.1216ced9.chunk.js.map

{"version":3,"sources":["pages/utils/sms-notification/notification-form.js","pages/utils/sms-notification/notif-view-send.js","pages/utils/sms-notification/mobNotification.js","actions/utils/sms-notification.js","actions/absent/mpreport.js"],"names":["NotificationForm","state","deggrp","fmsgtype","fsendto","fevent","fcollfrom","fdegfrom","fregfrom","fregto","fteachfrom","fteachto","fboardfrom","fboardto","ftitle","fmsg","fevents","fstudtype","fmodule","fyear","fmode","componentDidMount","_callee","regenerator_default","a","wrap","_context","prev","next","_this","props","getEvents","generateDegreeDetails","stop","degreeChange","_callee2","e","data","_context2","setState","value","getColleges","getDegfromDeggrp","msgtypechange","sendtochange","_callee3","_context3","eventchange","_callee4","msgobj","_context4","name","events","filter","el","i","fmessage","collfromchange","_callee5","_context5","getDegrees","colltochange","fcollto","degreefromchange","degreetochange","fdegto","regfromchange","regtochange","teachfromchange","teachtochange","boardfromchange","boardtochange","titlechange","msgchange","eventchangefevents","studtypechange","modulechange","yearchange","test","modechange","pushNotification","_callee6","error","_error","_error2","_error3","_error4","_error5","_error6","_error7","_error8","_error9","_error10","_error11","_error12","_error13","_this$state","_context6","length","header","content","showError","abrupt","getNotifications","changeTabIndex","handleCancel","all","key","text","sendto","code","label","map","deg_options","this","DegreeDetails","fdeggrp","concat","fdescpn","col_option","getcoll","fcollcode","fcollname","col_options","Object","toConsumableArray","degree_option","degree","fdegree","degree_options","react_default","createElement","Form","className","style","marginRight","marginLeft","Group","Field","width","Dropdown","size","multiple","fluid","search","selection","placeholder","openOnFocus","options","selectOnBlur","searchInput","autoFocus","onChange","Input","maxLength","marginTop","control","TextArea","rows","Button","color","onClick","Component","connect","user","smsNotif","getcolldet","getdeg","getdegfromdeg","univcode","univ","funivcode","notif","viewNotif","useEffect","Fragment","Table","celled","compact","padding","unstackable","Header","Row","textAlign","HeaderCell","Body","Cell","pushdate","fenttype","fbody","ftotal","fsent","ffpend","curdate","basic","display","icon","fusertype","url","API","fuserid","window","open","focus","sendsms","SendNotifications","_useState","useState","_useState2","slicedToArray","activeIndex","setActiveIndex","wheight","wHeight","panes","menuItem","render","Tab","Pane","notification_form","notif_view_send","Card","Content","Link","to","Divider","Description","overflowY","height","menu","attached","tabular","onTabChange","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","mark","dispatch","getState","response","type","univadmin","get","params","fevttype","sent","console","log","error_code","msg","payload","_x","_x2","apply","arguments","getMessages","_ref2","_x3","_x4","_ref3","_x5","_x6","_ref4","success","post","changesms","event","_x7","_x8","pushSms","_ref5","_x9","_x10","deleteSms","_ref6","_x11","_x12","deg","_ref7","_callee7","_context7","_x13","_x14","col","_ref8","_callee8","_context8","_x15","_x16","_ref9","_callee9","_context9","_x17","_x18","fliterMsg","fcuruniv"],"mappings":"+UA6BMA,6MACJC,MAAQ,CACNC,OAAQ,GACRC,SAAU,MACVC,QAAS,KACTC,OAAQ,MACRC,UAAW,GACXC,SAAU,GACVC,SAAU,QACVC,OAAQ,QACRC,WAAY,OACZC,SAAU,OACVC,WAAY,OACZC,SAAU,OACVC,OAAQ,GACRC,KAAM,GACNC,QAAS,GACTC,UAAW,GACXC,QAAS,GACTC,MAAO,GACPC,MAAO,MAGTC,uCAAoB,SAAAC,IAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACZC,EAAKC,MAAMC,UAAU,QAAS,MADlB,cAAAL,EAAAE,KAAA,EAEZC,EAAKC,MAA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AAAX,MAAP,gBAAAqO,EAAAC,GAAA,OAAAnB,EAAAoB,MAAA3I,KAAA4I,YAAA","file":"static/js/36.1216ced9.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport univadmin from \"../../../apis/univadmin\";\nimport { useContext, useState, useEffect } from \"react\";\nimport {\n  Card,\n  Form,\n  Divider,\n  Dropdown,\n  Button,\n  Modal,\n  Icon,\n  Header,\n  TextArea,\n} from \"semantic-ui-react\";\nimport {\n  changesms,\n  getEvents,\n  fliterMsg,\n  pushNotification,\n  getNotifications,\n  getColleges,\n  getDegrees,\n  getDegfromDeggrp,\n} from \"../../../actions/utils/sms-notification\";\nimport { showError } from \"../../../actions\";\nimport { generateDegreeDetails } from \"../../../actions/absent/mpreport\";\nimport { connect } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\n\nclass NotificationForm extends Component {\n  state = {\n    deggrp: [],\n    fmsgtype: \"SMS\",\n    fsendto: \"ST\",\n    fevent: \"GEN\",\n    fcollfrom: [],\n    fdegfrom: [],\n    fregfrom: \"00000\",\n    fregto: \"ZZZZZ\",\n    fteachfrom: \"0000\",\n    fteachto: \"ZZZZ\",\n    fboardfrom: \"0000\",\n    fboardto: \"ZZZZ\",\n    ftitle: \"\",\n    fmsg: \"\",\n    fevents: [],\n    fstudtype: \"\",\n    fmodule: \"\",\n    fyear: \"\",\n    fmode: \"\",\n  };\n\n  componentDidMount = async () => {\n    await this.props.getEvents(\"NOTIF\", \"ST\");\n    await this.props.generateDegreeDetails();\n  };\n\n  degreeChange = async (e, data) => {\n    await this.setState({\n      deggrp: data.value,\n    });\n\n    await this.props.getColleges(this.state.deggrp);\n    await this.setState({ fcollfrom: [\"All\"] });\n    await this.props.getDegfromDeggrp(this.state.deggrp);\n    await this.setState({ fdegfrom: [\"All\"] });\n  };\n  msgtypechange = (e, data) => {\n    this.setState({\n      fmsgtype: data.value,\n    });\n  };\n  sendtochange = async (e, data) => {\n    this.setState({\n      fsendto: data.value,\n    });\n\n    await this.props.getEvents(\"NOTIF\", data.value);\n  };\n  eventchange = async (e, data) => {\n    if (data.name === \"fevent\" && data.value !== \"\") {\n      const fevent = data.value;\n      const msgobj = this.props.events.filter((el, i) => {\n        if (el.fevent == fevent) return el;\n      })[0];\n\n      await this.setState({\n        fevent: data.value,\n      });\n      await this.setState({ fmsg: msgobj.fmessage });\n      await this.setState({ ftitle: msgobj.ftitle });\n    }\n  };\n  collfromchange = async (e, data) => {\n    await this.setState({\n      fcollfrom: data.value,\n    });\n    await this.props.getDegrees(this.state.fcollfrom);\n  };\n  colltochange = (e, data) => {\n    this.setState({\n      fcollto: data.value,\n    });\n  };\n  degreefromchange = (e, data) => {\n    this.setState({\n      fdegfrom: data.value,\n    });\n  };\n  degreetochange = (e, data) => {\n    this.setState({\n      fdegto: data.value,\n    });\n  };\n  regfromchange = (e, data) => {\n    this.setState({\n      fregfrom: data.value,\n    });\n  };\n  regtochange = (e, data) => {\n    this.setState({\n      fregto: data.value,\n    });\n  };\n  teachfromchange = (e, data) => {\n    this.setState({\n      fteachfrom: data.value,\n    });\n  };\n  teachtochange = (e, data) => {\n    this.setState({\n      fteachto: data.value,\n    });\n  };\n  boardfromchange = (e, data) => {\n    this.setState({\n      fboardfrom: data.value,\n    });\n  };\n  boardtochange = (e, data) => {\n    this.setState({\n      fboardto: data.value,\n    });\n  };\n  titlechange = (e, data) => {\n    this.setState({\n      ftitle: data.value,\n    });\n  };\n  msgchange = (e, data) => {\n    this.setState({\n      fmsg: data.value,\n    });\n  };\n  eventchangefevents = (e, data) => {\n    this.setState({\n      fevents: data.value,\n    });\n  };\n  studtypechange = (e, data) => {\n    this.setState({\n      fstudtype: data.value,\n    });\n  };\n  modulechange = (e, data) => {\n    this.setState({\n      fmodule: data.value,\n    });\n  };\n  yearchange = (e, data) => {\n    const re = /^[0-9\\b]+$/;\n    if (data.value === \"\" || re.test(data.value)) {\n      this.setState({ fyear: data.value });\n    }\n  };\n  modechange = (e, data) => {\n    const re = /^[0-9\\b]+$/;\n    if (data.value === \"\" || re.test(data.value)) {\n      this.setState({ fmode: data.value });\n    }\n  };\n  pushNotification = async () => {\n    if (this.state.deggrp.length == 0) {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fsendto == \"\") {\n      const error = { header: \"Error\", content: \"Select User Type\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fevent == \"\") {\n      const error = { header: \"Error\", content: \"Select Message Template\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fcollfrom.length == 0) {\n      const error = { header: \"Error\", content: \"Select College Range\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fregfrom == \"\") {\n      const error = { header: \"Error\", content: \"Select Reg No. Range From\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fregto == \"\") {\n      const error = { header: \"Error\", content: \"Select Reg No. Range To\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fteachfrom == \"\") {\n      const error = {\n        header: \"Error\",\n        content: \"Select Teach code range from\",\n      };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fteachto == \"\") {\n      const error = { header: \"Error\", content: \"Select Teach code range to\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fboardfrom == \"\") {\n      const error = { header: \"Error\", content: \"Select Board from\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fboardto == \"\") {\n      const error = { header: \"Error\", content: \"Select Board To\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.ftitle == \"\") {\n      const error = {\n        header: \"Error\",\n        content: \" Notification Title should not be blank\",\n      };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fmsg == \"\") {\n      const error = { header: \"Error\", content: \"Message Should not be blank\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fstudtype == \"\") {\n      const error = { header: \"Error\", content: \"Select student type\" };\n      this.props.showError(error);\n      return;\n    } else if (this.state.fmodule == \"\") {\n      const error = { header: \"Error\", content: \"Select Module\" };\n      this.props.showError(error);\n      return;\n    }\n    const {\n      deggrp,\n      fmsgtype,\n      fsendto,\n      fevent,\n      fcollfrom,\n      fdegfrom,\n      fregfrom,\n      fregto,\n      fteachfrom,\n      fteachto,\n      fboardfrom,\n      fboardto,\n      ftitle,\n      fmsg,\n      fevents,\n      fstudtype,\n      fmodule,\n      fyear,\n      fmode,\n    } = this.state;\n    await this.props.pushNotification(this.state);\n    await this.props.getNotifications();\n    this.props.changeTabIndex(1);\n  };\n\n  handleCancel = () => {\n    this.setState({\n      deggrp: \"\",\n      fmsgtype: \"\",\n      fsendto: \"\",\n      fevent: \"\",\n      fcollfrom: \"\",\n      fdegfrom: \"\",\n      fregfrom: \"\",\n      fregto: \"\",\n      fteachfrom: \"\",\n      fteachto: \"\",\n      fboardfrom: \"\",\n      fboardto: \"\",\n      ftitle: \"\",\n      fmsg: \"\",\n      fevents: \"\",\n      fstudtype: \"\",\n      fmodule: \"\",\n      fyear: \"\",\n      fmode: \"\",\n    });\n  };\n\n  render() {\n    const all = [\n      {\n        key: \"all\",\n        value: \"All\",\n        text: \"All\",\n      },\n    ];\n\n    const sendto_option = [\n      { code: \"ST\", label: \"Student\" },\n      { code: \"PR\", label: \"Principal\" },\n      { code: \"TH\", label: \"Teacher\" },\n    ];\n    const studtype_options = [\n      { value: \"All\", text: \"All Students\" },\n      { value: \"feepaid\", text: \"Fee Paid\" },\n      { value: \"feepending\", text: \"Fee Pending\" },\n    ];\n    const module_options = [\n      { value: \"examapp\", text: \"Exam Application\" },\n      { value: \"student\", text: \"Student\" },\n      { value: \"result\", text: \"Result (RV/ PC PHOTOCOPY)\" },\n    ];\n\n    const sendto = sendto_option.map((el, i) => {\n      return {\n        key: i,\n        value: el.code,\n        text: el.label,\n      };\n    });\n\n    const deg_options = this.props.DegreeDetails.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdeggrp,\n        text: `${el.fdeggrp} - ${el.fdescpn}`,\n      };\n    });\n\n    const col_option = this.props.getcoll.map((el, i) => {\n      return {\n        key: i,\n        value: el.fcollcode,\n        text: `${el.fcollcode} - ${el.fcollname}`,\n      };\n    });\n\n    const col_options = [...all, ...col_option];\n\n    const degree_option = this.props.degree.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdegree,\n        text: `${el.fdegree} - ${el.fdescpn}`,\n      };\n    });\n\n    const degree_options = [...all, ...degree_option];\n\n    return (\n      <div>\n        <Form>\n          <div\n            className=\"row clearfix\"\n            style={{ marginRight: \"0px\", marginLeft: \"-5px\" }}\n          >\n            <div className=\"col-md-8\">\n              <Form.Group>\n                <Form.Field width=\"16\">\n                  <label>Degree Group</label>\n                  <Dropdown\n                    size=\"mini\"\n                    multiple\n                    fluid\n                    search\n                    selection\n                    name=\"deggrp\"\n                    value={this.state.deggrp}\n                    placeholder=\"Select Degree Group\"\n                    openOnFocus={false}\n                    options={deg_options}\n                    selectOnBlur={false}\n                    searchInput={{ autoFocus: true }}\n                    onChange={this.degreeChange}\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Form.Group>\n                <Form.Field width={16}>\n                  <label>User type</label>\n                  <Dropdown\n                    placeholder=\"User type\"\n                    search\n                    selection\n                    name=\"fsendto\"\n                    value={this.state.fsendto}\n                    options={sendto}\n                    onChange={this.sendtochange}\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Form.Group>\n                <Form.Field width={16}>\n                  <label>Message Template</label>\n                  <Dropdown\n                    placeholder=\"Select Message Template\"\n                    search\n                    selection\n                    name=\"fevent\"\n                    value={this.state.fevent}\n                    options={this.props.events.map((el, i) => {\n                      return {\n                        key: i,\n                        value: el.fevent,\n                        text: el.ftitle,\n                      };\n                    })}\n                    onChange={this.eventchange}\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Form.Group>\n                <Form.Field width={16}>\n                  <label>College Range </label>\n                  <Dropdown\n                    size=\"mini\"\n                    multiple\n                    fluid\n                    search\n                    selection\n                    name=\"fcollfrom\"\n                    value={this.state.fcollfrom}\n                    placeholder=\"Select College Range\"\n                    openOnFocus={false}\n                    options={col_options}\n                    selectOnBlur={false}\n                    searchInput={{ autoFocus: true }}\n                    onChange={this.collfromchange}\n                  />\n                </Form.Field>\n              </Form.Group>\n              {this.state.fsendto == \"ST\" ? (\n                <div>\n                  <Form.Group>\n                    <Form.Field width={16}>\n                      <label>Degree Range</label>\n                      <Dropdown\n                        size=\"mini\"\n                        multiple\n                        fluid\n                        search\n                        selection\n                        name=\"fdegfrom\"\n                        value={this.state.fdegfrom}\n                        placeholder=\"Select Degree Range\"\n                        openOnFocus={false}\n                        options={degree_options}\n                        selectOnBlur={false}\n                        searchInput={{ autoFocus: true }}\n                        onChange={this.degreefromchange}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"From\"\n                        name=\"fregfrom\"\n                        value={this.state.fregfrom}\n                        onChange={this.regfromchange}\n                        maxLength=\"10\"\n                        label=\"Register No. Range\"\n                      />\n                    </Form.Field>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fregto\"\n                        value={this.state.fregto}\n                        onChange={this.regtochange}\n                        maxLength=\"10\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                </div>\n              ) : null}\n              <Form.Group>\n                <Form.Field width={8}>\n                  <label>Student Type</label>\n                  <Dropdown\n                    size=\"mini\"\n                    fluid\n                    search\n                    selection\n                    name=\"fstudtype\"\n                    value={this.state.fstudtype}\n                    placeholder=\"Select Student Type\"\n                    openOnFocus={false}\n                    options={studtype_options}\n                    selectOnBlur={false}\n                    searchInput={{ autoFocus: true }}\n                    onChange={this.studtypechange}\n                    label=\"Student Type\"\n                  />\n                </Form.Field>\n                <Form.Field width={8}>\n                  <label>Module</label>\n                  <Dropdown\n                    size=\"mini\"\n                    fluid\n                    search\n                    selection\n                    name=\"fmodule\"\n                    value={this.state.fmodule}\n                    placeholder=\"Select Module\"\n                    openOnFocus={false}\n                    options={module_options}\n                    selectOnBlur={false}\n                    searchInput={{ autoFocus: true }}\n                    onChange={this.modulechange}\n                    label=\"Module\"\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Form.Group>\n                <Form.Field width={8}>\n                  <label>Year</label>\n                  <Form.Input\n                    placeholder=\"Year\"\n                    name=\"Year\"\n                    value={this.state.fyear}\n                    onChange={this.yearchange}\n                    maxLength=\"10\"\n                  />\n                </Form.Field>\n                <Form.Field width={8}>\n                  <label>Mode</label>\n                  <Form.Input\n                    placeholder=\"Mode\"\n                    name=\"Mode\"\n                    value={this.state.fmode}\n                    onChange={this.modechange}\n                    maxLength=\"10\"\n                  />\n                </Form.Field>\n              </Form.Group>\n              {this.state.fsendto == \"TH\" ? (\n                <div>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"From\"\n                        name=\"fboardfrom\"\n                        value={this.state.fboardfrom}\n                        onChange={this.boardfromchange}\n                        maxLength=\"10\"\n                        label=\"Board Range\"\n                      />\n                    </Form.Field>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fboardto\"\n                        value={this.state.fboardto}\n                        onChange={this.boardtochange}\n                        maxLength=\"10\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"From\"\n                        name=\"fteachfrom\"\n                        value={this.state.fteachfrom}\n                        onChange={this.teachfromchange}\n                        maxLength=\"10\"\n                        label=\"Teacher Code Range\"\n                      />\n                    </Form.Field>\n                    <Form.Field width={8}>\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fteachto\"\n                        value={this.state.fteachto}\n                        onChange={this.teachtochange}\n                        maxLength=\"10\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                </div>\n              ) : null}\n              <Form.Group>\n                <Form.Field width={16}>\n                  <Form.Input\n                    placeholder=\"Title\"\n                    name=\"ftitle\"\n                    value={this.state.ftitle}\n                    onChange={this.titlechange}\n                    maxLength=\"50\"\n                    label=\"Notification Title\"\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Form.Group>\n                <Form.Field width={16}>\n                  <Form.Input\n                    name=\"fmsg\"\n                    control={TextArea}\n                    value={this.state.fmsg}\n                    onChange={this.msgchange}\n                    label=\"Message\"\n                    placeholder=\"Message\"\n                    rows=\"6\"\n                  />\n                </Form.Field>\n              </Form.Group>\n              <Button\n                color=\"blue\"\n                content=\"Submit\"\n                onClick={this.pushNotification}\n              />\n            </div>\n          </div>\n        </Form>\n      </div>\n    );\n  }\n}\nconst mapStateToProps = (state) => {\n  return {\n    DegreeDetails: state.generateDegreeDetails,\n    user: state.user,\n    events: state.smsNotif.fevents,\n    getcoll: state.getcolldet,\n    getdeg: state.getdeg,\n    degree: state.getdegfromdeg,\n  };\n};\nexport default connect(mapStateToProps, {\n  showError,\n  generateDegreeDetails,\n  getEvents,\n  getColleges,\n  getDegrees,\n  pushNotification,\n  getNotifications,\n  getDegfromDeggrp,\n})(NotificationForm);\n","import React, { useEffect } from \"react\";\nimport { Button, Table } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { getNotifications } from \"../../../actions/utils/sms-notification\";\nimport { API } from \"../../../apis/consts\";\n\nconst SendViewNotif = props => {\n  useEffect(() => {\n    props.getNotifications();\n  }, []);\n\n  const sendsms = (funivcode, fenttype, fusertype) => {\n    var url =\n      API +\n      \"/cronjob_sendnotif.php?funivcode=\" +\n      funivcode +\n      \"&fevent=\" +\n      fenttype +\n      \"&usertype=\" +\n      fusertype +\n      \"&fsentuser=\" +\n      props.user.fuserid;\n    var win = window.open(url, \"_blank\");\n    win.focus();\n  };\n\n  const notif = props.notif;\n\n  return (\n    <>\n      <Table celled compact style={{ padding: \"0%\" }} unstackable>\n        <Table.Header>\n          <Table.Row textAlign=\"center\">\n            <Table.HeaderCell width=\"1\">Sl. No.</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Date</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Event Type</Table.HeaderCell>\n            <Table.HeaderCell width=\"5\">Title</Table.HeaderCell>\n            <Table.HeaderCell width=\"5\">Message</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Total</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Sent</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Pending</Table.HeaderCell>\n            <Table.HeaderCell width=\"1\">Action</Table.HeaderCell>\n          </Table.Row>\n        </Table.Header>\n        <Table.Body>\n          {notif.map((el, i) => {\n            return (\n              <Table.Row key={i}>\n                <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.pushdate}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.fenttype}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.ftitle}</Table.Cell>\n                <Table.Cell>{el.fbody}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.ftotal}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.fsent}</Table.Cell>\n                <Table.Cell textAlign=\"center\">{el.ffpend}</Table.Cell>\n                <Table.Cell>\n                  {el.ffpend > 0 && el.curdate == \"T\" ? (\n                    <Button\n                      content=\"Send\"\n                      basic\n                      size=\"small\"\n                      style={{ display: \"flex\" }}\n                      color=\"blue\"\n                      icon=\"send\"\n                      onClick={() =>\n                        sendsms(el.funivcode, el.fenttype, el.fusertype)\n                      }\n                    />\n                  ) : null}\n                </Table.Cell>\n              </Table.Row>\n            );\n          })}\n        </Table.Body>\n      </Table>\n    </>\n  );\n};\n\nconst mapStateToProps = state => {\n  return {\n    user: state.user,\n    univcode: state.univ.funivcode,\n    notif: state.viewNotif\n  };\n};\n\nexport default connect(mapStateToProps, { getNotifications })(SendViewNotif);\n","import React, { Component, useState } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Card, Divider, Button, Tab } from \"semantic-ui-react\";\nimport { wHeight } from \"../../parms\";\nimport NotificationForm from \"./notification-form\";\nimport SendViewNotif from \"./notif-view-send\";\n\nexport default function SendNotifications() {\n  const [activeIndex, setActiveIndex] = useState(0);\n  const wheight = wHeight();\n  const panes = [\n    {\n      menuItem: \"Push Notification Data\",\n      render: () => (\n        <Tab.Pane>\n          <NotificationForm changeTabIndex={setActiveIndex} />\n        </Tab.Pane>\n      )\n    },\n    {\n      menuItem: \"View / Send Notification\",\n      render: () => (\n        <Tab.Pane>\n          <SendViewNotif />\n        </Tab.Pane>\n      )\n    }\n  ];\n  return (\n    <div>\n      <Card fluid>\n        <Card.Content>\n          <Card.Header style={{ display: \"flex\" }}>\n            <h4>Send Notification</h4>\n            <div className=\"ml-auto\">\n              <Button\n                basic\n                // onClick={this.handleCancel}\n                color=\"black\"\n                icon=\"times circle\"\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\n          <Divider />\n          <Card.Description\n            style={{ overflowY: \"auto\", height: `${wheight}px` }}\n          >\n            <Tab\n              menu={{\n                attached: true,\n                tabular: true,\n                color: \"blue\",\n                className: \"wrapped\"\n              }}\n              activeIndex={activeIndex}\n              panes={panes}\n              onTabChange={(e, { activeIndex }) => setActiveIndex(activeIndex)}\n            />\n          </Card.Description>\n        </Card.Content>\n      </Card>\n    </div>\n  );\n}\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getEvents = (fmsgtype, fsendto) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getEvents_new\",\n        univcode: state.univ.funivcode,\n        fsendto: fsendto,\n        fevttype: fmsgtype,\n      },\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    console.log(response);\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_EVENTS\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const getMessages = () => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getSMSDet\",\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    console.log(response);\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_MESSAGES\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const getNotifications = () => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getNotificationDet\",\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_NOTIFICATIONS\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const pushNotification = (smsNotif) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"app.php?a=pushNotificationData&univcode=\" + state.univ.funivcode,\n      {\n        // fcollfrom: smsNotif.fcollfrom,\n        // fdegfrom: smsNotif.fdegfrom,\n        data: smsNotif,\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const success = { header: \"Success\", content: response.data.data.msg };\n      dispatch(changesms(\"fresevent\", response.data.data.event));\n      dispatch(showError(success));\n    }\n  };\n};\n\nexport const pushSms = (type) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"app.php?a=pushSmsnew&univcode=\" + state.univ.funivcode,\n      {\n        data: state.smsNotif,\n        fdeggrp: type.fdeggrp,\n        fstudtype: type.fstudtype,\n        fmodule: type.fmodule,\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const success = { header: \"Success\", content: response.data.data.msg };\n      dispatch(changesms(\"fresevent\", response.data.data.event));\n      dispatch(showError(success));\n    }\n  };\n};\n\nexport const deleteSms = (funivcode, fenttype, fusertype) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"app.php?a=deleteSms&univcode=\" +\n        state.univ.funivcode +\n        \"&fdeggrp=\" +\n        state.user.fdeggrp,\n      { fenttype, fusertype }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const success = { header: \"Success\", content: response.data.data.msg };\n      // dispatch(changesms(\"fresevent\", response.data.data.event));\n      dispatch(showError(success));\n    }\n  };\n};\n\nexport const getColleges = (deg) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=getColleges&univcode=\" + state.univ.funivcode,\n      {\n        data: deg,\n      }\n    );\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_COLLEGES\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const getDegrees = (col) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=getDegreesdetails&univcode=\" + state.univ.funivcode,\n\n      {\n        data: col,\n      }\n    );\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      // const error = { header: \"Error\", content: \"Something went wrong\" };\n      // dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      // const error = { header: \"Error\", content: response.data.data.msg };\n      // dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_DEGREES\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const getDegfromDeggrp = (deggrp) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=getDegfromDeggrp&univcode=\" + state.univ.funivcode,\n\n      {\n        data: deggrp,\n      }\n    );\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      // const error = { header: \"Error\", content: \"Something went wrong\" };\n      // dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      // const error = { header: \"Error\", content: response.data.data.msg };\n      // dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GET_DEGREE_FROM_DEGGRP\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const changesms = (name, value) => {\n  return {\n    type: \"CHANGE_SMS\",\n    payload: { name, value },\n  };\n};\n\nexport const fliterMsg = (name, value) => {\n  return {\n    type: \"FILTER_MSG\",\n    payload: { name, value },\n  };\n};\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport \"react-toastify/dist/ReactToastify.css\";\n\nexport const generateDegreeDetails = () => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"generateDegreeDetails\",\n        univcode: state.user.fcuruniv,\n      },\n    });\n\n    // console.log(response, \"sbjhagdjqhawgsjah\");\n    // return;\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GENERATE_DEGREE_DETAILS\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const generateMpQpReport = (para) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"generateMpQpReport\",\n      },\n    });\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"APPROVE_STUD_NAME\",\n        payload: response.data,\n      });\n    }\n  };\n};\n"],"sourceRoot":""}