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.119.122.145
{"version":3,"sources":["pages/viewledger/index.js","actions/viewledger/viewledgform.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["PracticalCenter","state","fvalcoll","fvaldeg","fvalexmno","fvalexmdate","table","handleChangedegfrom","_callee","e","data","regenerator_default","a","wrap","_context","prev","next","console","log","_this","setState","subfrom","value","stop","handleCancel","_callee2","_context2","handleChangecoll","_callee3","_context3","props","fetchdegree","handleChangedeg","_callee4","_context4","fetchexamno","handleChangeexm","_callee5","_context5","handleChangeexmdate","_callee6","_context6","handleSubmit","user","fdeggrp","_this$state","getviewledg","showError","header","content","renderHeader","react_default","createElement","Card","Header","style","display","className","Button","basic","color","icon","onClick","Link","to","this","getCollegelist","_this2","_this$state2","wheight","wHeight","listcol","degreeList","map","item","fdegree","text","concat","fdescpn","collegelist","fcollcode","fcollname","optdeg","push","optexm","examno","fexamno","fexamname","optexmdate","examdate","fexamdate","fluid","Content","Divider","Description","overflowY","overflowX","height","Form","Field","width","Dropdown","placeholder","name","selection","search","options","onChange","Group","Table","celled","padded","selectable","structured","size","marginTop","fontSize","Row","HeaderCell","singleLine","textAlign","Body","tabledata","el","i","key","Cell","padding","paddingTop","justifyContent","href","univ","funivcode","ffolder","ffilename","target","download","Component","connect","collegeList","studyDegree","viewledgexamno","exmno","masledg","viewledger","_ref","Object","asyncToGenerator","mark","dispatch","getState","response","error","_error","univadmin","get","sent","error_code","msg","type","payload","_x","_x2","apply","arguments","deg","_ref2","_x3","_x4","_ref3","_error2","_x5","_x6","stt","_ref4","_error3","_x7","_x8","_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__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"8SAuBMA,6MACJC,MAAQ,CACNC,SAAU,GACVC,QAAS,GACTC,UAAW,GACXC,YAAa,GACbC,OAAO,KAMTC,0DAAsB,SAAAC,EAAOC,EAAGC,GAAV,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,OACpBC,QAAQC,IAAIC,EAAKlB,OACjBkB,EAAKC,SAAS,CACZC,QAASX,EAAKY,QAHI,wBAAAR,EAAAS,SAAAf,gEAOtBgB,mDAAe,SAAAC,EAAOhB,EAAGC,GAAV,OAAAC,EAAAC,EAAAC,KAAA,SAAAa,GAAA,cAAAA,EAAAX,KAAAW,EAAAV,MAAA,OACbG,EAAKC,SAAS,CACZlB,SAAU,GACVC,QAAS,GACTC,UAAW,GACXC,YAAa,GACbC,OAAO,IANI,wBAAAoB,EAAAH,SAAAE,gEAUfE,uDAAmB,SAAAC,EAAOnB,EAAGC,GAAV,OAAAC,EAAAC,EAAAC,KAAA,SAAAgB,GAAA,cAAAA,EAAAd,KAAAc,EAAAb,MAAA,cAAAa,EAAAb,KAAA,EACXG,EAAKW,MAAMC,YAAYrB,EAAKY,OADjB,OAEjBH,EAAKC,SAAS,CACZlB,SAAUQ,EAAKY,MACflB,UAAW,MACXD,QAAS,MACTE,YAAa,MACbC,OAAO,IAPQ,wBAAAuB,EAAAN,SAAAK,gEAWnBI,sDAAkB,SAAAC,EAAOxB,EAAGC,GAAV,OAAAC,EAAAC,EAAAC,KAAA,SAAAqB,GAAA,cAAAA,EAAAnB,KAAAmB,EAAAlB,MAAA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AAAH,GAAAI,EAAAH,EAAA,KAAAI,EAAAJ,EAAAE,EAAAC,GAAAE,EAAAL,EAAA,GAAAM,EAAAN,EAAAE,EAAAG,GAAAE,EAAAP,EAAA,KAAAQ,EAAAR,EAAA,KAAAS,EAAAT,EAAA,KAAAU,EAAAV,EAAA,KASA,SAAAtF,EAAA/D,GACA,IAAAgK,EAAAhK,EAAAgK,SACArI,EAAA3B,EAAA2B,UACAsI,EAAAjK,EAAAiK,SACA9I,EAAAnB,EAAAmB,QACA+I,EAAAlK,EAAAkK,OACAC,EAAAnK,EAAAmK,OACAC,EAAApK,EAAAoK,WACAC,EAAArK,EAAAqK,SACAC,EAAAtK,EAAAsK,QACAC,EAAAvK,EAAAuK,SACAC,EAAgBf,IAAE,KAAOrC,OAAAwC,EAAA,EAAAxC,CAAU6C,EAAA,YAAwB7C,OAAAwC,EAAA,EAAAxC,CAAU8C,EAAA,UAAoB9C,OAAAwC,EAAA,EAAAxC,CAAU+C,EAAA,UAAoB/C,OAAAwC,EAAA,EAAAxC,CAAUgD,EAAA,cAA4BhD,OAAAwC,EAAA,EAAAxC,CAAUiD,EAAA,YAAwBjD,OAAAwC,EAAA,EAAAxC,CAAUkD,EAAA,WAAsBlD,OAAAwC,EAAA,EAAAxC,CAAUmD,EAAA,sBAAA5I,GACzO8I,EAAarD,OAAAyC,EAAA,EAAAzC,CAAiBrD,EAAA/D,GAC9B0K,EAAoBtD,OAAA0C,EAAA,EAAA1C,CAAcrD,EAAA/D,GAClC,OAAS2J,EAAA7K,EAAKwC,cAAAoJ,EAA4BpB,IAAQ,GAAGmB,EAAA,CACrD9I,UAAA6I,IACMT,EAAA,EAAaY,MAAAX,GAAA7I,EAAA6I,GAGnBjG,EAAA6G,aAAA,kHACA7G,EAAA8G,UAiCC,GACcC,EAAA","file":"static/js/173.15a728fb.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport {\n Card,\n Button,\n Form,\n Table,\n Dropdown,\n Divider,\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../actions\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { showError } from \"../../actions\";\nimport { wHeight } from \"../parms\";\n\nimport {\n getCollegelist,\n fetchexamno,\n fetchdegree,\n getviewledg,\n} from \"../../actions/viewledger/viewledgform\";\n\nclass PracticalCenter extends Component {\n state = {\n fvalcoll: \"\",\n fvaldeg: \"\",\n fvalexmno: \"\",\n fvalexmdate: \"\",\n table: false,\n };\n\n componentDidMount() {\n this.props.getCollegelist();\n }\n handleChangedegfrom = async (e, data) => {\n console.log(this.state);\n this.setState({\n subfrom: data.value,\n });\n };\n\n handleCancel = async (e, data) => {\n this.setState({\n fvalcoll: \"\",\n fvaldeg: \"\",\n fvalexmno: \"\",\n fvalexmdate: \"\",\n table: false,\n });\n };\n\n handleChangecoll = async (e, data) => {\n await this.props.fetchdegree(data.value);\n this.setState({\n fvalcoll: data.value,\n fvalexmno: \"All\",\n fvaldeg: \"All\",\n fvalexmdate: \"All\",\n table: false,\n });\n };\n\n handleChangedeg = async (e, data) => {\n await this.props.fetchexamno(data.value);\n this.setState({\n fvaldeg: data.value,\n fvalexmno: \"All\",\n fvalexmdate: \"All\",\n });\n };\n\n handleChangeexm = async (e, data) => {\n this.setState({\n fvalexmno: data.value,\n });\n };\n\n handleChangeexmdate = async (e, data) => {\n this.setState({\n fvalexmdate: data.value,\n });\n };\n\n handleSubmit = () => {\n const { fdeggrp } = this.props.user;\n const { fvalcoll, fvaldeg, fvalexmno, fvalexmdate } = this.state;\n\n if (fvalcoll == \"\") {\n const error = {\n header: \"Error\",\n content: \"Select College\",\n };\n this.props.showError(error);\n return;\n }\n\n this.props.getviewledg(this.state);\n this.setState({ table: true });\n };\n\n // handleview = (path) =>{\n // window.open(\n // ReportAPI +\n // reportType +\n // \"&univcode=\" +\n // this.props.univcode +\n // \"°grp=\" +\n // fdeggrp +\n // \"°grpfrm=\" +\n // fdeggrpfrm +\n // \"°grpto=\" +\n // fdeggrpto +\n // \"&collfrm=\" +\n // fcollfrm +\n // \"&collto=\" +\n // fcollto +\n // \"&val=\" +\n // reportType +\n // \"&format=\" +\n // \"PDF\",\n // \"_blank\"\n // );\n\n // }\n\n renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h3>View Ledger</h3>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n content=\"Cancel\"\n onClick={this.handleCancel}\n />\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n );\n };\n\n render() {\n const { fvalcoll, fvaldeg, fvalexmno, fvalexmdate, table } = this.state;\n const wheight = wHeight();\n\n const degreeOptions = this.props.degreeList.map((item) => {\n return {\n value: item.fdegree,\n text: `${item.fdegree}- ${item.fdescpn}`,\n };\n });\n\n const listcol = this.props.collegelist.map((item) => {\n return {\n value: item.fcollcode,\n text: `${item.fcollcode} - ${item.fcollname}`,\n };\n });\n\n let optdeg = [\n {\n value: \"All\",\n text: \"All\",\n },\n ];\n\n this.props.degreeList.map((item) => {\n optdeg.push({\n value: item.fdegree,\n text: `${item.fdegree} ${item.fdescpn}`,\n });\n });\n\n let optexm = [\n {\n value: \"All\",\n text: \"All\",\n },\n ];\n\n this.props.examno.map((item) => {\n optexm.push({\n value: item.fexamno,\n text: ` ${item.fexamname}`,\n });\n });\n\n let optexmdate = [\n {\n value: \"All\",\n text: \"All\",\n },\n ];\n\n this.props.examdate.map((item) => {\n optexmdate.push({\n value: item.fexamdate,\n text: item.fexamdate,\n });\n });\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n {this.renderHeader()}\n <Divider />\n <Card.Description\n style={{\n overflowY: \"auto\",\n overflowX: \"hidden\",\n height: `${wheight}px`,\n }}\n >\n <div className=\"col-md-8\">\n <Form>\n <div>\n <Form.Field width={16}>\n <label>College</label>\n <Dropdown\n placeholder=\"Select College\"\n name=\"degree\"\n value={fvalcoll}\n selection\n search\n options={listcol}\n onChange={this.handleChangecoll}\n />\n </Form.Field>\n {console.log(optdeg)}\n <Form.Group>\n <Form.Field width={16}>\n <label>Degree</label>\n <Dropdown\n placeholder=\"Select Degree\"\n name=\"fvaldeg\"\n value={fvaldeg}\n selection\n search\n options={optdeg}\n onChange={this.handleChangedeg}\n />\n </Form.Field>\n </Form.Group>\n\n <Form.Group>\n <Form.Field width={8}>\n <label>Exam No.</label>\n <Dropdown\n placeholder=\"Select Exam No.\"\n name=\"fvalexmno\"\n value={fvalexmno}\n selection\n search\n options={optexm}\n onChange={this.handleChangeexm}\n />\n </Form.Field>\n <Form.Field width={8}>\n <label>Examination</label>\n <Dropdown\n placeholder=\"Select Exam Date\"\n name=\"fvalexmno\"\n value={fvalexmdate}\n selection\n search\n options={optexmdate}\n onChange={this.handleChangeexmdate}\n />\n </Form.Field>\n </Form.Group>\n </div>\n <Button color=\"blue\" onClick={this.handleSubmit}>\n Submit\n </Button>\n\n <br />\n </Form>\n </div>\n {table == true ? (\n <div className=\"animated fadeIn\">\n <div className=\"ui mini form\">\n <Table\n celled\n padded\n selectable\n structured\n size=\"small\"\n color=\"olive\"\n style={{ marginTop: \"25px\" }}\n >\n <Table.Header style={{ fontSize: \"1.2em\" }}>\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"0.1%\" }}\n singleLine\n textAlign=\"center\"\n >\n <label>Sl. No.</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Degree</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Exam</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Exam Date</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n <label>Action</label>\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.tabledata.map((el, i) => {\n return (\n <Table.Row key={i}>\n <Table.Cell\n textAlign=\"center\"\n style={{ fontSize: \"1.2em\" }}\n >\n {i + 1}\n </Table.Cell>\n <Table.Cell\n textAlign=\"left\"\n style={{ fontSize: \"1.2em\" }}\n >\n {el.fdegree + \"-\" + el.fdescpn}\n </Table.Cell>\n <Table.Cell\n textAlign=\"center\"\n style={{ fontSize: \"1.2em\" }}\n >\n {el.fexamno}\n </Table.Cell>\n <Table.Cell\n textAlign=\"center\"\n style={{ fontSize: \"1.2em\" }}\n >\n {el.fexamdate}\n </Table.Cell>\n <Table.Cell\n textAlign=\"center\"\n style={{\n padding: \"0em\",\n paddingTop: \"0.25em\",\n display: \"flex\",\n justifyContent: \"center\",\n }}\n >\n <Button\n content=\"View\"\n basic\n size=\"small\"\n // style={{ display: \"flex\" }}\n color=\"blue\"\n icon=\"print\"\n href={\n this.props.univ.funivcode == \"027\"\n ? \"https://universitysolutions.in/\" +\n this.props.univ.ffolder +\n \"/misc_files/\" +\n el.ffilename\n : \"https://college.universitysolutions.in/\" +\n this.props.univ.ffolder +\n \"/misc_files/\" +\n el.ffilename\n }\n target=\"_blank\"\n // onClick={this.handleview(el.ffilename)}\n />\n <Button\n content=\"Download\"\n basic\n size=\"small\"\n // style={{ display: \"flex\" }}\n color=\"red\"\n icon=\"print\"\n href={\n this.props.univ.funivcode == \"027\"\n ? \"https://universitysolutions.in/\" +\n this.props.univ.ffolder +\n \"/misc_files/\" +\n el.ffilename\n : \"https://college.universitysolutions.in/\" +\n this.props.univ.ffolder +\n \"/misc_files/\" +\n el.ffilename\n }\n target=\"_blank\"\n download\n // onClick={this.handleview(el.ffilename)}\n />\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n </div>\n ) : null}\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n console.log(state);\n return {\n user: state.user,\n collegelist: state.collegeList,\n degreeList: state.studyDegree,\n examno: state.viewledgexamno.exmno,\n examdate: state.viewledgexamno.masledg,\n tabledata: state.viewledger,\n univ: state.univ,\n };\n};\n\nexport default connect(mapStateToProps, {\n getCollegelist,\n fetchexamno,\n fetchdegree,\n getviewledg,\n showError,\n})(PracticalCenter);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getCollegelist = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=GetAllCollegeList&univcode=\" + state.univ.funivcode \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 console.log(response.data);\n dispatch({\n type: \"ALL_COLLEGE_LIST\",\n payload: response.data\n });\n }\n };\n};\n\n\n\nexport const fetchexamno = (deg) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n // this.setState({ studyExamno: [], studySubject: []});\n console.log(state);\n \n \n const response = await univadmin.get(\n \"app.php?a=getexamnoviewledg&univcode=\" + state.univ.funivcode + \"°=\" + deg \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 console.log(response.data);\n dispatch({ \n type: \"VIEW_LEDGER_EXAMNO\",\n payload: response.data\n });\n }\n };\n };\n \n \n export const fetchdegree = (fcollcode) => {\n return async (dispatch, getState) => {\n const state = getState();\n \n \n const response = await univadmin.get(\n \"app.php?a=StudyDegreeList&univcode=\" + state.univ.funivcode + \"&fcollcode=\" + fcollcode \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 console.log(response.data);\n dispatch({ \n type: \"ALL_DEGREE_LIST\",\n payload: response.data\n });\n }\n };\n };\n\n \n export const getviewledg = (stt) => {\n return async (dispatch, getState) => {\n const state = getState();\n\n dispatch({\n type: \"CLEAR_VIEW_LEDGER\" \n });\n \n const response = await univadmin.get(\n \"app.php?a=getviewledg&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + stt.fvalcoll +\n \"&fdegree=\" + stt.fvaldeg +\n \"&fexamno=\" + stt.fvalexmno +\n \"&fexamdate=\" + stt.fvalexmdate\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 console.log(response.data);\n dispatch({ \n type: \"GET_VIEW_LEDGER\",\n payload: response.data\n });\n }\n };\n };\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;"],"sourceRoot":""}
|