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.145.115.45
{"version":3,"sources":["pages/before-exam/examAppStats/DetExmStats.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["DetExamStats","_Component","_getPrototypeOf2","_this","_classCallCheck","this","_len","arguments","length","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","call","apply","concat","state","handleReturn","props","history","push","_inherits","_createClass","key","value","stats","AppStats","det","ttl","ttlPaid","ttlPending","ttlRaz","ttlpaytm","ttlPO","ttlHDFC","ttlAxis","ttlHDFCB","React","createElement","Card","fluid","Content","Header","style","display","className","Button","basic","color","content","onClick","icon","Link","to","Divider","Table","celled","compact","selectable","Row","textAlign","HeaderCell","rowSpan","width","singleLine","colSpan","Body","map","el","i","fcount","fsuccesscount","fpendcount","Razorpay","Paytm","POSTOFFICE","HDFC","axis","HDFC_BANK","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__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","a","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"oPAOMA,EAAY,SAAAC,GAAA,SAAAD,IAAA,IAAAE,EAAAC,EAAAC,YAAAC,KAAAL,GAAA,QAAAM,EAAAC,UAAAC,OAAAC,EAAA,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAA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nimport { showError } from \"../../../actions\";\r\nimport { wHeight } from \"../../parms\";\r\nimport { Card, Divider, Button, Table } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nclass DetExamStats extends Component {\r\n state = {};\r\n\r\n handleReturn = () => {\r\n let path = \"/before-exam/examAppStats\";\r\n\r\n this.props.history.push(path);\r\n };\r\n render() {\r\n let stats = this.props.AppStats.det;\r\n\r\n var ttl = 0,\r\n ttlPaid = 0,\r\n ttlPending = 0,\r\n ttlRaz = 0,\r\n ttlpaytm = 0,\r\n ttlPO = 0,\r\n ttlHDFC = 0,\r\n ttlAxis = 0,\r\n ttlHDFCB = 0;\r\n return (\r\n <div>\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h4>Exam Application Statistics</h4>\r\n <div className=\"ml-auto\">\r\n <Button\r\n basic\r\n color=\"green\"\r\n content=\"Back\"\r\n onClick={this.handleReturn}\r\n icon=\"reply\"\r\n />\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n\r\n <Divider />\r\n <Table className=\"sticky\" celled compact selectable>\r\n <Table.Header>\r\n <Table.Row textAlign=\"center\">\r\n <Table.HeaderCell\r\n rowSpan=\"2\"\r\n style={{ width: \"5%\" }}\r\n singleLine\r\n >\r\n Sl. No.\r\n </Table.HeaderCell>\r\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"50%\" }}>\r\n College Code\r\n </Table.HeaderCell>\r\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"5%\" }}>\r\n Total Student\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n rowSpan=\"2\"\r\n style={{ width: \"5%\" }}\r\n singleLine\r\n >\r\n Success Count\r\n </Table.HeaderCell>\r\n <Table.HeaderCell rowSpan=\"2\" style={{ width: \"5%\" }}>\r\n Pending Count\r\n </Table.HeaderCell>\r\n <Table.HeaderCell colSpan=\"6\">Paid Via</Table.HeaderCell>\r\n </Table.Row>\r\n <Table.Row>\r\n <Table.HeaderCell style={{ width: \"5%\" }}>\r\n Razorpay\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ width: \"5%\" }}>\r\n Paytm\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ width: \"5%\" }}>\r\n Post Office\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ width: \"5%\" }} singleLine>\r\n HDFC\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ width: \"5%\" }}>\r\n Axis\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ width: \"5%\" }}>\r\n HDFC Bank Challan\r\n </Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Header>\r\n <Table.Body>\r\n {stats.map((el, i) => {\r\n ttl += +el.fcount;\r\n ttlPaid += +el.fsuccesscount;\r\n ttlPending += +el.fpendcount;\r\n ttlRaz += +el.Razorpay;\r\n ttlpaytm += +el.Paytm;\r\n ttlPO += +el.POSTOFFICE;\r\n ttlHDFC += +el.HDFC;\r\n ttlAxis += +el.axis;\r\n ttlHDFCB += +el.HDFC_BANK;\r\n return (\r\n <Table.Row key={i}>\r\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n <Table.Cell>{el.fcollname}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.fcount}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n {el.fsuccesscount}\r\n </Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n {el.fpendcount}\r\n </Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.Razorpay}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.Paytm}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n {el.POSTOFFICE}\r\n </Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.HDFC}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.axis}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.HDFC_BANK}</Table.Cell>\r\n </Table.Row>\r\n );\r\n })}\r\n </Table.Body>\r\n <Table.Footer>\r\n <Table.Row textAlign=\"center\">\r\n <Table.HeaderCell colSpan=\"2\">Total</Table.HeaderCell>\r\n <Table.HeaderCell>{ttl}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlPaid}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlPending}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlRaz}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlpaytm}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlPO}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlHDFC}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlAxis}</Table.HeaderCell>\r\n <Table.HeaderCell>{ttlHDFCB}</Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Footer>\r\n </Table>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n );\r\n }\r\n}\r\nconst mapStateToProps = state => {\r\n return {\r\n AppStats: state.ExmDetStats\r\n };\r\n};\r\nexport default connect(\r\n mapStateToProps,\r\n {\r\n showError\r\n }\r\n)(DetExamStats);\r\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}\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 /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;"],"sourceRoot":""}
|