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


Current Path : /proc/thread-self/root/var/www/college/static/js/
Upload File :
Current File : //proc/thread-self/root/var/www/college/static/js/900.f26f7fd5.chunk.js.map

{"version":3,"file":"static/js/900.f26f7fd5.chunk.js","mappings":"yNAIA,MAAMA,EAAWC,IACR,CACLC,KAAM,UACNC,KAAMF,IAIGG,EAAeC,MAC1BC,EACAC,EACAC,EACAC,EACAC,KAGA,UACQC,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IACEC,EAAAA,EAAAA,6BAGAP,EACA,aACAC,EACA,aACAC,EACA,SACAC,EACFK,QAAS,CAAE,eAAgB,sBAC1BC,MAAMC,IACoB,GAAvBA,EAAIC,KAAKC,WACXb,EAAS,CAAEJ,KAAM,gBAAiBkB,QAASH,EAAIC,KAAKA,OAEpDZ,EAAS,CAAEJ,KAAM,aAAckB,QAAS,IAC1C,GAEJ,CAAE,MAAOC,GACP,GAISC,EAAcjB,MACzBC,EACAC,EACAgB,EACAC,EACAC,KAGA,UACQd,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IACEC,EAAAA,EAAAA,6BAGAP,EACA,aACAgB,EACA,SACAC,EACA,cACAC,EACFV,QAAS,CAAE,eAAgB,sBAC1BC,MAAMC,IACoB,GAAvBA,EAAIC,KAAKC,YACXO,QAAQC,IAAI,SACZrB,EAAS,CAAEJ,KAAM,aAAckB,QAASH,EAAIC,KAAKA,QAEjDZ,EAAS,CAAEJ,KAAM,aAAckB,QAAS,IAC1C,GAEJ,CAAE,MAAOC,GACP,GAGSO,EAAgBvB,MAAOC,EAAUuB,EAAUtB,EAAWuB,KACjExB,EAASN,GAAQ,IACjB,UACQW,EAAAA,EACHoB,KACCjB,EAAAA,EAAAA,gCAGEP,EACA,SACAuB,EACFD,GAEDb,MAAMC,IACsB,GAAvBA,EAAIC,KAAKC,YAC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WAIzC,WAAV+D,GACCc,EAAAA,EAAAA,KAACe,EAAAA,EAAG,CAACT,MAAO,CAAEuB,WAAY,QAAS3B,UACjCF,EAAAA,EAAAA,KAACgC,EAAAA,EAAK,CACJ5G,KAAK,OACLD,MAAO6D,EACP0C,SAAWC,GArGCpG,WAC1B0D,EAAU0C,GACV/E,QAAQC,IAAI8E,EAAE,EAmGiBQ,CAAoBR,EAAEO,OAAO/G,WAIlD,OAGJ6E,EAAAA,EAAAA,KAACc,EAAAA,EAAG,CAACR,MAAO,CAAEuB,WAAY,SAAU3B,UAClCF,EAAAA,EAAAA,KAACW,EAAAA,GAAM,CAACV,UAAU,OAAOmC,QAASA,IAAM1C,IAAiBQ,SAAC,qBAQtE,G","sources":["Actions/Utility/Attendance/Attendance_Entry_Daywise.js","Pages/Before_Exam/Attendance/Attendance_Report.js","Actions/Utility/Attendance/Attendance_Report.js"],"sourcesContent":["import axios from \"axios\";\nimport { base_url } from \"../../../Components/consts/api\";\nimport { Alert } from \"../../../Components/Alert\";\n\nconst loading = (value) => {\n  return {\n    type: \"LOADING\",\n    load: value,\n  };\n};\n\nexport const getTeachName = async (\n  dispatch,\n  fcollcode,\n  funivcode,\n  usertype,\n  user\n) => {\n  // dispatch(loading(true));\n  try {\n    await axios({\n      method: \"GET\",\n      url:\n        base_url +\n        \"loaddayteachname\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&univcode=\" +\n        funivcode +\n        \"&usertype=\" +\n        usertype +\n        \"&user=\" +\n        user,\n      headers: { \"Content-Type\": \"application/json\" },\n    }).then((res) => {\n      if (res.data.error_code == 0) {\n        dispatch({ type: \"GETTEACHNAMES\", payload: res.data.data });\n      } else {\n        dispatch({ type: \"CLEAR_DATA\", payload: [] });\n      }\n    });\n  } catch (err) {\n    // dispatch(loading(false));\n  }\n};\n\nexport const getclsNames = async (\n  dispatch,\n  fcollcode,\n  fusertype,\n  fuser,\n  teachcode\n) => {\n  // dispatch(loading(true));\n  try {\n    await axios({\n      method: \"GET\",\n      url:\n        base_url +\n        \"loadclassnameday\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&usertype=\" +\n        fusertype +\n        \"&user=\" +\n        fuser +\n        \"&teachcode=\" +\n        teachcode,\n      headers: { \"Content-Type\": \"application/json\" },\n    }).then((res) => {\n      if (res.data.error_code == 0) {\n        console.log(\"anita\");\n        dispatch({ type: \"GETCLANAME\", payload: res.data.data });\n      } else {\n        dispatch({ type: \"CLEAR_DATA\", payload: [] });\n      }\n    });\n  } catch (err) {\n    // dispatch(loading(false));\n  }\n};\nexport const showView1Data = async (dispatch, formdata, fcollcode, sort) => {\n  dispatch(loading(false));\n  try {\n    await axios\n      .post(\n        base_url +\n          \"viewattendanceentry\" +\n          \"&collcode=\" +\n          fcollcode +\n          \"&sort=\" +\n          sort,\n        formdata\n      )\n      .then((res) => {\n        if (res.data.error_code == 0) {\n          dispatch(loading(false));\n          dispatch({ type: \"VIEW1DATA\", payload: res.data.data });\n        } else {\n          dispatch(loading(false));\n          dispatch({ type: \"CLEAR_DATA\", payload: [] });\n        }\n      });\n  } catch (err) {\n    dispatch(loading(false));\n  }\n};\n\nexport const saveAttendace = async (dispatch, formData) => {\n  // dispatch(loading(true));\n  try {\n    await axios.post(base_url + \"saveattendanceentry\", formData).then((res) => {\n      if (res.data.error_code == 0) {\n        Alert(res.data.msg);\n        // dispatch(loading(false));\n\n        return;\n      } else {\n        Alert(res.data.data.msg);\n        // dispatch(loading(false));\n        return;\n      }\n    });\n  } catch (err) {\n    // dispatch(loading(false));\n  }\n};\n\nexport const viewToModifyORDelete = async (\n  dispatch,\n  fcollcode,\n  funivcode,\n  fusertype,\n  fuser,\n  teachfrom,\n  teachto\n) => {\n  // dispatch(loading(true));\n  try {\n    await axios({\n      method: \"GET\",\n      url:\n        base_url +\n        \"viewDeleteAddStudDet\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&univcode=\" +\n        funivcode +\n        \"&usertype=\" +\n        fusertype +\n        \"&user=\" +\n        fuser +\n        \"&fromteach=\" +\n        teachfrom +\n        \"&toteach=\" +\n        teachto,\n      headers: { \"Content-Type\": \"application/json\" },\n    }).then((res) => {\n      if (res.data.error_code == 0) {\n        dispatch({ type: \"GETFORDELETE\", payload: res.data.data });\n      } else {\n        dispatch({ type: \"CLEAR_DATA\", payload: [] });\n      }\n    });\n  } catch (err) {\n    // dispatch(loading(false));\n  }\n};\n\nexport const toDelete = async (\n  fcollcode,\n  teachcode,\n  clsId,\n  period,\n  fnoclass,\n  fdate\n) => {\n  try {\n    await axios({\n      method: \"GET\",\n      url:\n        base_url +\n        \"deleteAddstudentry\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&teachcode=\" +\n        teachcode +\n        \"&clsid=\" +\n        clsId +\n        \"&period=\" +\n        period +\n        \"&noofcls=\" +\n        fnoclass +\n        \"&date=\" +\n        fdate,\n      headers: { \"Content-Type\": \"application/json\" },\n    }).then((res) => {\n      if (res.data.error_code == 0) {\n        Alert(res.data.data);\n      } else {\n        Alert(res.data.data);\n      }\n    });\n  } catch (err) {}\n};\n\nexport const toModify = async (\n  dispatch,\n  fcollcode,\n  teachcode,\n  clsId,\n  period,\n  fnoclass,\n  fdate\n) => {\n  // dispatch(loading(true));\n  try {\n    await axios({\n      method: \"GET\",\n      url:\n        base_url +\n        \"modifyAddstudentry\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&teachcode=\" +\n        teachcode +\n        \"&clsid=\" +\n        clsId +\n        \"&period=\" +\n        period +\n        \"&noofcls=\" +\n        fnoclass +\n        \"&date=\" +\n        fdate,\n      headers: { \"Content-Type\": \"application/json\" },\n    }).then((res) => {\n      if (res.data.error_code == 0) {\n        dispatch({ type: \"MODIFYDATA\", payload: res.data.data });\n      } else {\n        dispatch({ type: \"CLEAR_DATA\", payload: [] });\n      }\n    });\n  } catch (err) {\n    // dispatch(loading(false));\n  }\n};\n","import React, { useState } from \"react\";\nimport { Card, Space, Button, Row, Col, Select, Input } from \"antd\";\nimport { useEffect } from \"react\";\nimport { connect, useDispatch } from \"react-redux\";\nimport {\n  getTeachName,\n  getclsNames,\n} from \"../../../Actions/Utility/Attendance/Attendance_Entry_Daywise\";\nimport { getPdfReport } from \"../../../Actions/Utility/Attendance/Attendance_Report\";\nfunction Attendance_Report(props) {\n  const [teach, setTeach] = useState(\"\");\n  const [cls, setCls] = useState(\"\");\n  const [fromdate, setFromDate] = useState(\"\");\n  const [todate, setTodate] = useState(\"\");\n  const [report, setReport] = useState(\"select\");\n  const dispatch = useDispatch();\n\n  useEffect(() => {\n    setTeach(props.teachData);\n    getTeacherName();\n  }, []);\n  const getTeacherName = async () => {\n    await getTeachName(\n      dispatch,\n      props.user.fcollcode,\n      props.user.funivcode,\n      props.user.fusertype,\n      props.user.fuser\n    );\n  };\n\n  const changeTeachHandler = async (e) => {\n    setTeach(e);\n\n    await getclsNames(\n      dispatch,\n      props.user.fcollcode,\n      props.user.fusertype,\n      props.user.fuser,\n      e\n    );\n  };\n\n  const teachsDataselect = [\n    { value: \"select\", label: \"---Select Teacher---\" },\n    ...props.teachData,\n  ];\n  const clsDataselect = [\n    { value: \"select\", label: \"---Select Class---\" },\n    ...props.classData,\n  ];\n  const changeClsHandler = async (e) => {\n    setCls(e);\n  };\n  const changeFromDateHandler = async (e) => {\n    setFromDate(e);\n    console.log(e);\n  };\n  const changeToDateHandler = async (e) => {\n    setTodate(e);\n    console.log(e);\n  };\n\n  const reportType = [\n    { value: \"select\", label: \"---Select---\" },\n    { value: \"pdf\", label: \"DateWise PDF\" },\n    { value: \"excel\", label: \"DateWise Excel\" },\n    {\n      value: \"summary\",\n      label: \"Summary\",\n    },\n  ];\n  const changeReportHandler = (e) => {\n    setReport(e);\n    console.log(e);\n  };\n  const generateReport = async () => {\n    await getPdfReport(\n      dispatch,\n      props.user.fcollcode,\n      props.user.funivcode,\n      teach,\n      cls,\n      fromdate,\n      todate,\n      report\n    );\n  };\n  return (\n    <div className=\"container-fluid\">\n      <Card\n        hoverable\n        title=\"Attendance Report\"\n        style={{ width: \"100%\" }}\n        extra={\n          <Space direction=\"horizontal\">\n            <Button className=\"exit\">Exit</Button>\n          </Space>\n        }\n      >\n        <div style={{ marginBottom: \"20px\" }}>\n          <Row style={{ marginBottom: \"10px\" }}>\n            <Col span={2}>\n              <label>Teacher Name</label>\n            </Col>\n            <Col xs={24} sm={24} md={12} lg={8} xl={8}>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                value={teach}\n                options={teachsDataselect}\n                onChange={(e) => changeTeachHandler(e)}\n              ></Select>\n            </Col>\n            <Col span={2} style={{ marginLeft: \"80px\" }}>\n              <label>Class Name</label>\n            </Col>\n            <Col xs={24} sm={24} md={12} lg={8} xl={8}>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                value={cls}\n                options={clsDataselect}\n                onChange={(e) => changeClsHandler(e)}\n              ></Select>\n            </Col>\n          </Row>\n          <Row style={{ marginBottom: \"10px\" }}>\n            <Col span={2}>\n              <label>Report Type</label>\n            </Col>\n            <Col xs={12} sm={12} md={6} lg={4} xl={4}>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                value={report}\n                options={reportType}\n                onChange={(e) => changeReportHandler(e)}\n              ></Select>\n            </Col>\n            <Col span={2} style={{ marginLeft: \"280px\" }}>\n              <label>Date Range</label>\n            </Col>\n            <Col>\n              <Input\n                type=\"date\"\n                value={fromdate}\n                onChange={(e) => changeFromDateHandler(e.target.value)}\n              ></Input>\n            </Col>\n\n            {report == \"summary\" ? (\n              <Col style={{ marginLeft: \"50px\" }}>\n                <Input\n                  type=\"date\"\n                  value={todate}\n                  onChange={(e) => changeToDateHandler(e.target.value)}\n                ></Input>\n              </Col>\n            ) : (\n              \"\"\n            )}\n          </Row>\n          <Row style={{ marginLeft: \"100px\" }}>\n            <Button className=\"save\" onClick={() => generateReport()}>\n              Generate\n            </Button>\n          </Row>\n        </div>\n      </Card>\n    </div>\n  );\n}\nconst mapStateToProps = (state) => {\n  console.log(\n    state.modifysttEntryToDeleteReducer.modifyForAttEntry,\n    \"hhsdvcuh\"\n  );\n  return {\n    user: state.AuthReducer.userData,\n    teachData: state.getattEntryTeacherNameReducer.teachData,\n    classData: state.getattEntryClassNameReducer.classData,\n    // view1Data: state.view1attEntryDataResucer.view1Data,\n    // viewToDeleteAtt: state.viewAttentryToDeleteReducer.viewToDeleteAtt,\n    // modifyForAttEntry: state.modifysttEntryToDeleteReducer.modifyForAttEntry,\n  };\n};\nexport default connect(mapStateToProps)(Attendance_Report);\n","import axios from \"axios\";\nimport React from \"react\";\nimport { base_url } from \"../../../Components/consts/api\";\nexport const getPdfReport = async (\n  dispatch,\n  fcollcode,\n  funivcode,\n  teachcode,\n  clscode,\n  fromdate,\n  todate,\n  reporttype\n) => {\n  if (reporttype == \"pdf\") {\n    window.open(\n      base_url +\n        \"pdfAttDateWiseReport\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&univcode=\" +\n        funivcode +\n        \"&teachcode=\" +\n        teachcode +\n        \"&clscode=\" +\n        clscode +\n        \"&fromdate=\" +\n        fromdate +\n        \"&todate=\" +\n        todate +\n        \"&reporttype\" +\n        reporttype\n    );\n  } else if (reporttype == \"excel\") {\n    window.open(\n      base_url +\n        \"AttDateWiseReportexcel\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&univcode=\" +\n        funivcode +\n        \"&teachcode=\" +\n        teachcode +\n        \"&clscode=\" +\n        clscode +\n        \"&fromdate=\" +\n        fromdate +\n        \"&todate=\" +\n        todate +\n        \"&reporttype\" +\n        reporttype\n    );\n  } else if (reporttype == \"summary\") {\n    window.open(\n      base_url +\n        \"monthwiseAttXlreport\" +\n        \"&collcode=\" +\n        fcollcode +\n        \"&univcode=\" +\n        funivcode +\n        \"&teachcode=\" +\n        teachcode +\n        \"&clscode=\" +\n        clscode +\n        \"&fromdate=\" +\n        fromdate +\n        \"&todate=\" +\n        todate\n    );\n  }\n};\n"],"names":["loading","value","type","load","getTeachName","async","dispatch","fcollcode","funivcode","usertype","user","axios","method","url","base_url","headers","then","res","data","error_code","payload","err","getclsNames","fusertype","fuser","teachcode","console","log","showView1Data","formdata","sort","post","saveAttendace","formData","Alert","msg","viewToModifyORDelete","teachfrom","teachto","toDelete","clsId","period","fnoclass","fdate","connect","state","modifysttEntryToDeleteReducer","modifyForAttEntry","AuthReducer","userData","teachData","getattEntryTeacherNameReducer","classData","getattEntryClassNameReducer","props","teach","setTeach","useState","cls","setCls","fromdate","setFromDate","todate","setTodate","report","setReport","useDispatch","useEffect","getTeacherName","teachsDataselect","label","clsDataselect","generateReport","clscode","reporttype","window","open","getPdfReport","_jsx","className","children","Card","hoverable","title","style","width","extra","Space","direction","Button","_jsxs","marginBottom","Row","Col","span","xs","sm","md","lg","xl","Select","showSearch","placeholder","options","onChange","e","changeTeachHandler","marginLeft","changeClsHandler","changeReportHandler","Input","changeFromDateHandler","target","changeToDateHandler","onClick"],"sourceRoot":""}