Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.144.224.30
{"version":3,"sources":["pages/before-exam/examAppStats/DetExmStats.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["DetExamStats","state","handleReturn","_this","props","history","push","stats","this","AppStats","det","ttl","ttlPaid","ttlPending","ttlRaz","ttlpaytm","ttlPO","ttlHDFC","ttlAxis","ttlHDFCB","react__WEBPACK_IMPORTED_MODULE_5___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","fluid","Content","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","basic","color","content","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_13__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","celled","compact","selectable","Row","textAlign","HeaderCell","rowSpan","width","singleLine","colSpan","Body","map","el","i","fcount","fsuccesscount","fpendcount","Razorpay","Paytm","POSTOFFICE","HDFC","axis","HDFC_BANK","key","Cell","fcollname","Footer","Component","connect","ExmDetStats","showError","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"+OAOMA,6MACJC,MAAQ,KAERC,aAAe,WAGbC,EAAKC,MAAMC,QA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AAsBG,OAAAd,EAAA,EAAAc,CAAUF,EAAA,sBAAA9D,GACzOiE,EAAaD,OAAAb,EAAA,EAAAa,CAAiBV,EAAA/E,GAC9B2F,EAAoBF,OAAAZ,EAAA,EAAAY,CAAcV,EAAA/E,GAClC,OAAS0E,EAAAzD,EAAKC,cAAAyE,EAA4BtB,IAAQ,GAAGqB,EAAA,CACrDjE,UAAA+D,IACMV,EAAA,EAAac,MAAAZ,GAAAnD,EAAAmD,GAGnBD,EAAAc,aAAA,kHACAd,EAAAe,UAiCC,GACcC,EAAA","file":"static/js/155.c9e20ff3.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { showError } from \"../../../actions\";\nimport { wHeight } from \"../../parms\";\nimport { Card, Divider, Button, Table } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\n\nclass DetExamStats extends Component {\n state = {};\n\n handleReturn = () => {\n let path = \"/before-exam/examAppStats\";\n\n this.props.history.push(path);\n };\n render() {\n let stats = this.props.AppStats.det;\n\n var ttl = 0,\n ttlPaid = 0,\n ttlPending = 0,\n ttlRaz = 0,\n ttlpaytm = 0,\n ttlPO = 0,\n ttlHDFC = 0,\n ttlAxis = 0,\n ttlHDFCB = 0;\n return (\n <div>\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>Exam Application Statistics</h4>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"green\"\n content=\"Back\"\n onClick={this.handleReturn}\n icon=\"reply\"\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 <Table className=\"sticky\" celled compact selectable>\n <Table.Header>\n <Table.Row textAlign=\"center\">\n <Table.HeaderCell\n rowSpan=\"2\"\n style={{ width: \"5%\" }}\n singleLine\n >\n Sl. No.\n </Table.HeaderCell>\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"50%\" }}>\n College Code\n </Table.HeaderCell>\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"5%\" }}>\n Total Student\n </Table.HeaderCell>\n <Table.HeaderCell\n rowSpan=\"2\"\n style={{ width: \"5%\" }}\n singleLine\n >\n Success Count\n </Table.HeaderCell>\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"5%\" }}>\n Pending Count\n </Table.HeaderCell>\n <Table.HeaderCell colSpan=\"6\">Paid Via</Table.HeaderCell>\n </Table.Row>\n <Table.Row>\n <Table.HeaderCell style={{ width: \"5%\" }}>\n Razorpay\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }}>\n Paytm\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }}>\n Post Office\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }} singleLine>\n HDFC\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }}>\n Axis\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }}>\n HDFC Bank Challan\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {stats.map((el, i) => {\n ttl += +el.fcount;\n ttlPaid += +el.fsuccesscount;\n ttlPending += +el.fpendcount;\n ttlRaz += +el.Razorpay;\n ttlpaytm += +el.Paytm;\n ttlPO += +el.POSTOFFICE;\n ttlHDFC += +el.HDFC;\n ttlAxis += +el.axis;\n ttlHDFCB += +el.HDFC_BANK;\n return (\n <Table.Row key={i}>\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell>{el.fcollname}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fcount}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.fsuccesscount}\n </Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.fpendcount}\n </Table.Cell>\n <Table.Cell textAlign=\"center\">{el.Razorpay}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.Paytm}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.POSTOFFICE}\n </Table.Cell>\n <Table.Cell textAlign=\"center\">{el.HDFC}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.axis}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.HDFC_BANK}</Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n <Table.Footer>\n <Table.Row textAlign=\"center\">\n <Table.HeaderCell colSpan=\"2\">Total</Table.HeaderCell>\n <Table.HeaderCell>{ttl}</Table.HeaderCell>\n <Table.HeaderCell>{ttlPaid}</Table.HeaderCell>\n <Table.HeaderCell>{ttlPending}</Table.HeaderCell>\n <Table.HeaderCell>{ttlRaz}</Table.HeaderCell>\n <Table.HeaderCell>{ttlpaytm}</Table.HeaderCell>\n <Table.HeaderCell>{ttlPO}</Table.HeaderCell>\n <Table.HeaderCell>{ttlHDFC}</Table.HeaderCell>\n <Table.HeaderCell>{ttlAxis}</Table.HeaderCell>\n <Table.HeaderCell>{ttlHDFCB}</Table.HeaderCell>\n </Table.Row>\n </Table.Footer>\n </Table>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\nconst mapStateToProps = state => {\n return {\n AppStats: state.ExmDetStats\n };\n};\nexport default connect(\n mapStateToProps,\n {\n showError\n }\n)(DetExamStats);\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":""}
|