{"version":3,"sources":["modules/reducers.js","components/global/Sidebar.js","components/global/Topbar.js","reportWebVitals.js","store.js","index.js","modules/actions.js","util/ApiCaller.js","screens/common/Home.js","screens/common/IndexPage.js","components/global/Loader.js","screens/common/Login.js","screens/common/SignUp.js","screens/common/MerchantSignUp.js","screens/Error.js","components/customer/dashboard/DataCard.js","components/customer/dashboard/ServiceCard.js","screens/customer/CustomerDashboard.js","screens/customer/UtilityTransactions.js","screens/customer/BillingTransactions.js","util/FileDownloadApiCaller.js","screens/merchant/BillingTransactions.js","screens/merchant/UtilityTransactions.js","screens/customer/AccountsList.js","screens/common/UserProfile.js","screens/common/UserSupport.js","screens/merchant/WalletTransactions.js","screens/merchant/DmrTransactions.js","screens/merchant/helpers/DmrHelper.js","screens/merchant/DmrTransfer.js","components/merchant/dashboard/DataCard.js","components/merchant/dashboard/ServiceCard.js","screens/merchant/components/BillingTransactionTable.js","screens/merchant/components/DMRTransactionsTable.js","screens/merchant/MerchantDashboard.js","screens/common/ForgotPassword.js","screens/common/MerchantLogin.js","screens/common/PrivacyPolicy.js","screens/common/TermsAndConditions.js","screens/merchant/NewMerchantDashboard.js","App.js","components/merchant/wallets/WalletCard.js","screens/customer/CustomerProfile.js","screens/merchant/MerchantProfile.js","screens/merchant/MasterLink.js"],"names":["initialState","error","isError","isLogging","isLoggingOut","isfetchingUser","user","isAuthenticated","dataReducer","state","arguments","length","undefined","action","type","POPULATE_ERROR","LOGIN_USER","userData","LOGGING_IN_USER","status","LOGOUT_USER","LOGGING_OUT_USER","FETCHING_USER","getUserData","getLoggingStatus","getisAuthenticated","getErrorStatus","getErrorMessage","getLogoutStatus","SideBar","Component","componentDidMount","this","props","fetchUser","_id","render","_jsx","children","className","_jsxs","id","role","href","class","concat","Date","getFullYear","compose","withRouter","connect","dispatch","userId","TopBar","constructor","super","handleLogout","history","push","getImage","async","fieldName","fileKey","setState","apicaller","then","res","base64","Buffer","from","data","toString","final_image","updateUser","swal","organization_logo","logoutStatus","style","color","fontWeight","title","src","width","alt","first_name","last_name","Link","to","pathname","xmlns","height","viewBox","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","d","cx","cy","r","onClick","points","x1","y1","x2","y2","logoutUser","reportWebVitals","onPerfEntry","Function","_ref","getCLS","getFID","getFCP","getLCP","getTTFB","persistConfig","key","storage","persistedReducer","persistReducer","composedEnhancer","composeWithDevTools","applyMiddleware","thunkMiddleware","store","createStore","persistor","persistStore","ReactDOM","React","StrictMode","Provider","PersistGate","loading","App","document","getElementById","loginUser","error_message","catch","err","console","log","BASE_URL","method","route","url","axios","withCredentials","Home","charSet","httpEquiv","content","name","rel","rx","IndexPage","display","alignItems","flexDirection","Loader","Login","handleOnChangeFields","userField","value","handleOnLogin","validation","validateUserFields","isvalid","FormData","append","userName","password","message","handleOnForgotPassword","test","String","toLowerCase","sentMailStatus","click","componentDidUpdate","errorStatus","errorMessage","input","output","loggingStatus","onSubmit","e","preventDefault","placeholder","onChange","target","required","htmlFor","email","SignUp","handleOnSignup","isValid","sendOtpToUser","phone","isSendingOtp","isUserExist","handleOnOtpSubmit","otp","verifyOtp","isVerifyingOtp","otp_record","isVerified","createCustomer","handleShowPasswordConditions","handleHidePasswordConditions","smsSentStatus","confirm_password","onBlur","onFocus","disabled","MerchantSignUp","handleOnUploadFiles","files","i","querySelector","textContent","size","createMerchant","isCreatingMerchant","organization_name","alternative_phone","dob","shop_address","location","organization_outside_image","organization_inside_image","account_number","ifsc_code","account_holder_name","canceled_check","pan_number","aadhar_number","pan_image","aadhar_front_image","aadhar_back_image","certificate_image","_","isEmpty","backgroundColor","max","moment","format","accept","Error","ServiceCard","icon","iconSize","iconColor","cursor","handleSelectService","serviceName","serviceShortName","iconImage","cardText","cardSubText","CustomerDashboard","service_name","short_name","selectedService","selectedServiceShort","serviceDetails","isLoading","UtilityTransactions","BillingTransactions","API_URL","downloadApi","endpoint","body","fetch","headers","JSON","stringify","response","blob","window","URL","createObjectURL","a","createElement","download","animatedComponents","makeAnimated","getQuery","query","transactionId","amount","fetchTransactions","pageSize","pageNum","currentPage","startDate","endDate","transactions","match","params","presentTransactionId","final_transactions","presentTransactionDetails","filter","item","totalDocuments","count","isApplyingFilters","handleOnDownloadReport","isDownloadingBillingTransactions","handleOnPayNow","setTimeout","handleOnPrint","handleOnSelectFilter","isFilterEnabled","startOf","endOf","handleOnSelectFilterDetails","attribute","isPaid","$in","map","handleOnChangeFilterDetails","handleOnApplyFilter","onChangePage","page","handleRaiseIssue","issue","selectedTransaction","numberFormat","createdAt","raised_ticket","service_types","label","payment_methods","mode","handleOnCopyLink","elem","appendChild","select","execCommand","removeChild","handleOnShareLink","serviceType","link","capturedResponse","parse","receiptName","receiptPhone","receiptEmail","paymentLink","Select","closeMenuOnSelect","components","isMulti","options","index","version","x","y","razorpayPaymentId","razorpayOrderId","isPaymentStepDone","transactionType","Pagination","total","showLessItems","parseInt","ref","el","componentRef","rows","paymentMethod","isPaymentFailed","card","last4","network","issuer","previousBalance","finalBalance","ReactToPrint","copyStyles","trigger","onBeforeGetContent","onAfterPrint","setTransactions","useState","setPageNum","setPageSize","setIsLoading","search","setSearch","totalRecords","setTotalRecords","totalPages","setTotalPages","useSelector","useEffect","getAllTransactions","_res$data","reqBody","pageNo","_res$data2","_res$data2$data","_res$data3","_res$data3$data","_res$data4","_res$data4$data","totalDocs","fontSize","marginTop","marginBottom","_item$bbpsResponse","_item$bbpsResponse2","_item$bbpsResponse3","_item$bbpsResponse4","_item$bbpsResponse5","_item$bbpsResponse6","_item$bbpsResponse7","bbpsResponse","RespBillNumber","billAmount","RespBillPeriod","RespDueDate","RespCustomerName","txnRefId","AccountsList","account","handleOnAddAccount","validateAccountDetails","isAddingAccount","contact","ifsc","handleOnSearchAccounts","validateBeforeSearch","isFetchingAccounts","accountsList","AccountsFetched","handlePayNow","selectedAccount","verifyServiceDetails","handleOnSubmitPayment","open","payment_link","short_url","confirm_account_number","bankAccount","accountStatus","min","UserProfile","UserSupport","handleOnSendIssue","alert","addEventListener","event","activeElement","blur","WalletTransactions","fetchWallets","wallets","razorpaySuccessResposne","isDownloadingWalletTransactions","handleTransferToWallet","handleOnSetRequestedAmount","Field","handleOnSubmitTransfer","requested_amount","pg_balance","handleTransferViaDmr","isActive","isSuccess","isFailed","WalletCard","handleOnClick","heading","card_content","wallet_balance","cardColor","showButton","buttonText","utr","payload","payout","entity","senderName","razorpayStatus","razorpayPayoutId","easyBuzzPayoutId","accountId","senderPhone","failedReason","DmrTransfer","handleOnChangePhone","finalPhone","replace","accountsListCopy","noAccountsAvailable","dmrDetails","reset","toUpperCase","handleOnChangePaymentFields","paymentDetails","createProfile","validateProfileDetails","accounts","createdBy","validateDmrTransfer","completePayNow","isProcessingTransfer","handleOnSubmitPayNow","_this$state","_this$state$latestDmr","_this$state2","_this$state2$latestDm","diff","latestDmrTransaction","buttons","cancel","confirm","handleOnDeleteAccount","text","dangerMode","willDelete","_this$state3","_this$state4","latestTransaction","_this$state5","_this$state6","_this$state6$accounts","_this$state7","_this$state7$accounts","_this$state8","_this$state8$account","onKeyUp","keyCode","padding","tempAccountsListCopy","searchText","_item$bankAccount","indexOf","kebabCase","includes","DataCard","cardValue","BillingTransactionTable","setStartDate","setEndDate","DMRTransactionsTable","setWallets","MerchantDashboard","fetchGrossAmount","pgGrossAmount","dmrGrossAmount","transaction","handleSelectComingSoon","stopMarquee","stop","startMarquee","start","fetchConfiguration","configurations","grossAmount","_this$state$configura","_this$state2$configur","_this$props2","_this$props2$user","_this$props3","_this$props3$user","scroll_text","bgcolor","direction","onMouseOver","onMouseOut","margin","justifyContent","_this$props","_this$props$user","_this$props$user$orga","navigator","clipboard","writeText","hostname","isRentalServiceAllowed","isGroceryServiceAllowed","isInstitutionalServiceAllowed","ForgotPassword","handleOnSubmit","repeat_password","queryString","URLSearchParams","get","MerchantLogin","PrivacyPolicy","borderTopWidth","borderColor","borderStyle","TermsAndConditions","NewMerchantDashboard","mobileNUmber","setMobileNumber","ipAddress","setIpAddress","billInfo","setBillInfo","setTxnRefId","getIpAddress","json","ip","Topbar","Sidebar","marginLeft","marginRight","textAlign","lineHeight","borderRadius","pattern","agentId","agentDeviceInfo","initChannel","mac","customerInfo","customerMobile","customerEmail","customerAdhaar","customerPan","billerId","inputParams","paramName","paramValue","getBillDetails","billNumber","customerName","billDate","billPeriod","dueDate","amountInfo","currency","custConvFee","amountTags","paymentMode","quickPay","splitPay","paymentInfo","infoName","infoValue","payBill","position","top","right","Intl","NumberFormat","onpopstate","reload","BrowserRouter","forceRefresh","Switch","Route","path","component","exact","MasterLink","CustomerProfile","MerchantProfile","CustomerUtilityTransactions","CustomerBillingTransactions","MerchantUtilityTransactions","MerchantBillingTransactions","cardCol","downloadUserImages","fetchUserProfileDetails","executeScroll","myRef","scrollIntoView","toggleKycBlock","displayKycBlock","handleOnCompleteKycUpdate","isUpdatingKyc","validateUpdatePassword","current_password","new_password","confirm_new_password","handleOnUpdatePassword","isUpdatingPassword","handleOnUpdateProfile","isUpdatingUser","isLightBoxOpen","selectedImage","isKycCompleted","isKycProcessed","scrollMarginTop","Lightbox","mainSrc","onCloseRequest","isUpdatingProfile","handleOnUploadImage","handleUpdateOrganizationLogo","isUpdatingOrganizationLogo","validateChangePassword","paddingLeft","v","_this$state$user","_res$data$data","_res$data$data$errorC","errorCode","code","_res$data2$data$error","_this$state3$user","_this$state4$user","_this$state5$serviceD","_this$state6$user","_this$state7$user","selected"],"mappings":"qGAAA,wNASA,IAAIA,EAAe,CACfC,MAAO,GACPC,SAAS,EACTC,WAAW,EACXC,cAAc,EACdC,gBAAgB,EAChBC,KAAM,CAAC,EACPC,iBAAiB,GAqBNC,IAnBf,WAAoD,IAA/BC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGV,EAAca,EAAMH,UAAAC,OAAA,EAAAD,UAAA,QAAAE,EAC7C,OAAQC,EAAOC,MACX,KAAKC,IACD,MAAO,IAAKN,EAAOR,MAAOY,EAAOZ,MAAOC,SAAS,GACrD,KAAKc,IACD,MA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EAAEI,OAAO3B,OAAQyB,YAAY,+BAA+BG,UAAQ,WAUzM1J,eAAA,OAAKD,UAAU,cAAaD,SAAA,CACxBD,cAAA,UAAQvB,KAAK,SAASyB,UAAU,4BAA4BkL,SAAUzL,KAAKvB,MAAMoQ,aAAwB,QAAXqQ,EAAClf,KAAKvB,aAAK,IAAAygB,GAAM,QAANsL,EAAVtL,EAAY5gB,YAAI,IAAAksB,GAAhBA,EAAkBhP,UAASlb,SAAEN,KAAKvB,MAAMoQ,UAAY,aAAe,WAClKxO,cAAA,SAAOE,UAAU,cAAaD,SAAa,QAAX8e,EAACpf,KAAKvB,aAAK,IAAA2gB,GAAM,QAANqL,EAAVrL,EAAY9gB,YAAI,IAAAmsB,GAAhBA,EAAkBjP,SAAqE,GAA1D,oEAOtF,EAcWxa,sBAAQC,IAAYC,aAVXzC,IACb,CACHH,KAAMiB,YAAYd,OAIC0C,IAAQ,CAElC,KAEcH,CAAkEumB,E","file":"static/js/main.c43ca7df.chunk.js","sourcesContent":["import {\n LOGIN_USER,\n LOGGING_IN_USER,\n LOGOUT_USER,\n POPULATE_ERROR,\n LOGGING_OUT_USER,\n FETCHING_USER,\n} from \"./actions\";\n\nlet initialState = {\n error: \"\",\n isError: false,\n isLogging: false,\n isLoggingOut: false,\n isfetchingUser: false,\n user: {},\n isAuthenticated: false,\n}\nfunction dataReducer(state = initialState, action) {\n switch (action.type) {\n case POPULATE_ERROR:\n return { ...state, error: action.error, isError: true }\n case LOGIN_USER:\n return { ...initialState, user: action.userData, isAuthenticated: action.isAuthenticated, isError: false };\n case LOGGING_IN_USER:\n return { ...state, isLogging: action.status, isError: false }\n case LOGOUT_USER:\n return { ...initialState };\n case LOGGING_OUT_USER:\n return { ...initialState, isLoggingOut: action.status, isError: false };\n case FETCHING_USER:\n return { ...state, isfetchingUser: action.status }\n default:\n return state;\n }\n}\n\nexport default dataReducer;\n\nexport const getUserData = state => state.user;\nexport const getLoggingStatus = state => state.isLogging;\nexport const getisAuthenticated = state => state.isAuthenticated;\nexport const getErrorStatus = state => state.isError;\nexport const getErrorMessage = state => state.error;\nexport const getLogoutStatus = state => state.isLoggingOut;\n","import React, { Component } from \"react\";\nimport { Link, withRouter } from \"react-router-dom\";\nimport { compose } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { getisAuthenticated, getUserData } from \"../../modules/reducers\";\nimport { fetchUser } from \"../../modules/actions\";\nimport swal from \"sweetalert\";\n\nclass SideBar extends Component {\n componentDidMount() {\n if (this.props.isAuthenticated) {\n this.props.fetchUser(this.props.user._id);\n }\n }\n render() {\n return (\n
\n {/***********************************\n Sidebar start\n ************************************/}\n
\n
\n
    \n {this.props.user.role == 2 ? (\n
  • \n \n \n Dashboard\n \n
  • \n ) : (\n
  • \n \n \n Dashboard\n \n
  • \n )}\n {this.props.user.role == 2 ? (\n
  • \n \n \n Accounts\n \n
  • \n ) : null}\n
  • \n \n \n Transactions\n \n
  • \n {this.props.user.role == 2 ? (\n
  • \n \n \n Profile\n \n
  • \n ) : (\n
  • \n \n \n Profile\n \n
  • \n )}\n
  • \n \n \n Help and support\n \n
  • \n
\n
\n Copyright © {new Date().getFullYear()} SVS Communication, All rights\n Reserved\n {/*

EK RUPAY ©All Rights Reserved

*/}\n {/*

by DexignZone

*/}\n
\n
\n
\n {/***********************************\n Sidebar end\n ************************************/}\n
\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n user: getUserData(state),\n isAuthenticated: getisAuthenticated(state),\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n fetchUser: (userId) => dispatch(fetchUser(userId)),\n});\n\nexport default compose(\n withRouter,\n connect(mapStateToProps, mapDispatchToProps)\n)(SideBar);\n","import React, { Component } from 'react';\nimport { logoutUser } from '../../modules/actions';\nimport { connect } from \"react-redux\";\nimport { Link, withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport { getLogoutStatus, getUserData } from '../../modules/reducers';\nimport { numberFormat } from '../../App';\nimport apicaller from '../../util/ApiCaller';\nimport swal from 'sweetalert';\n\n\nclass TopBar extends Component {\n\n constructor() {\n super();\n this.state = {\n user: {},\n }\n }\n\n componentDidMount() {\n if (this.props.userData.organization_logo) {\n this.getImage(\"organization_logo\", this.props.userData.organization_logo)\n }\n }\n\n handleLogout = () => {\n // this.props.logoutUser();\n this.props.history.push('/');\n }\n\n getImage = async (fieldName, fileKey) => {\n this.setState({\n user: this.props.userData\n })\n await apicaller('get', `get/file?fileKey=${fileKey}`)\n .then(res => {\n if (res.status == 200) {\n let user = this.state.user;\n let buf = Buffer.from(res.data);\n let base64 = buf.toString('base64');\n let final_image = `data:image/jpeg;base64,${base64}`\n user[fieldName] = final_image\n this.setState({ user, updateUser: user })\n }\n else {\n swal('some internal issue');\n }\n })\n }\n\n\n render() {\n return (\n
\n {this.props.logoutStatus ?\n
\n
\n
\n
\n
\n
\n
\n :\n
\n {/***********************************\n Nav header start\n ************************************/}\n
\n {this.props.userData.role == 2 ?\n \n

EK RUPAY

\n {/* \"\"\n \"\"\n \"\" */}\n
\n\n :\n \n

SVS

\n {/* \"\"\n \"\"\n \"\" */}\n
\n }\n
\n
\n \n
\n
\n
\n {/***********************************\n Nav header end\n ************************************/}\n {/***********************************\n Header start\n ************************************/}\n
\n
\n \n
\n
\n {/***********************************\n Header end ti-comment-alt\n ************************************/}\n
}\n
\n )\n }\n}\n\n\nconst mapStateToProps = state => {\n return {\n logoutStatus: getLogoutStatus(state),\n userData: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n logoutUser: () => dispatch(logoutUser())\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(TopBar);\n\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import { createStore, applyMiddleware } from \"redux\";\nimport { persistStore, persistReducer } from 'redux-persist'\nimport storage from 'redux-persist/lib/storage'\nimport dataReducer from \"./modules/reducers\";\nimport thunkMiddleware from 'redux-thunk';\nimport { composeWithDevTools } from 'redux-devtools-extension';\n\nconst persistConfig = {\n key: 'root',\n storage,\n}\nconst persistedReducer = persistReducer(persistConfig, dataReducer)\n\n\nconst composedEnhancer = composeWithDevTools(applyMiddleware(thunkMiddleware))\n\nlet store = createStore(persistedReducer, composedEnhancer)\nlet persistor = persistStore(store)\n\nexport { store, persistor };","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport { Provider } from \"react-redux\";\nimport { store, persistor } from \"./store\";\nimport { PersistGate } from 'redux-persist/integration/react'\n\n\nReactDOM.render(\n \n \n \n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n","import apicaller from '../util/ApiCaller';\nexport const LOGIN_USER = 'LOGIN_USER';\nexport const LOGGING_IN_USER = 'LOGGING_IN_USER';\nexport const LOGOUT_USER = 'LOGOUT_USER';\nexport const POPULATE_ERROR = 'POPULATE_ERROR';\nexport const LOGGING_OUT_USER = 'LOGGING_OUT_USER';\nexport const FETCHING_USER = 'FETCHING_USER';\nexport const SET_USER_ID = 'SET_USER_ID';\n\nexport const loginUser = (data, role) => dispatch => {\n\n dispatch({\n type: LOGGING_IN_USER,\n status: true\n })\n apicaller('post', `users/${role}/login`, data)\n .then(res => {\n if (res.status === 200) {\n if (res.data.data.user) {\n dispatch({\n type: LOGIN_USER,\n userData: res.data.data.user,\n isAuthenticated: true\n })\n }\n else {\n dispatch({\n type: POPULATE_ERROR,\n error: res.data.data.error_message\n })\n }\n }\n dispatch({\n type: LOGGING_IN_USER,\n status: false\n })\n })\n .catch(err => {\n console.log(err);\n dispatch({\n type: LOGGING_IN_USER,\n status: false\n })\n dispatch({\n type: POPULATE_ERROR,\n error: 'something went wrong'\n })\n })\n}\n\nexport const logoutUser = () => dispatch => {\n dispatch({\n type: LOGGING_OUT_USER,\n status: true\n })\n dispatch({\n type: LOGOUT_USER\n })\n dispatch({\n type: LOGGING_OUT_USER,\n status: false\n })\n}\n\nexport const fetchUser = (userId) => dispatch => {\n dispatch({\n type: FETCHING_USER,\n status: true\n })\n apicaller('get', `user/${userId}/profile`)\n .then(res => {\n if (res.status === 200) {\n if (res.data.data.user) {\n dispatch({\n type: LOGIN_USER,\n userData: res.data.data.user,\n isAuthenticated: true\n })\n }\n else {\n dispatch({\n type: POPULATE_ERROR,\n error: \"some internal issue\"\n })\n }\n }\n dispatch({\n type: FETCHING_USER,\n status: false\n })\n })\n .catch(err => {\n dispatch({\n type: FETCHING_USER,\n status: false\n })\n dispatch({\n type: POPULATE_ERROR,\n error: 'something went wrong'\n })\n console.log(err);\n })\n}\n","import axios from \"axios\";\n// export const BASE_URL = \"http://192.168.97.143:3333/api/v1/\";\n// export const BASE_URL = \"http://192.168.0.105:5551/api/v1/\";\n// export const BASE_URL = \"http://192.168.31.116:5551/api/v1/\";\n// export const BASE_URL = \"https://api.ekrupay.in/api/v1/\";\nexport const BASE_URL = \"https://devapi.ekrupay.in/api/v1/\";\n// export const BASE_URL = \"https://e3a5-183-82-104-234.ngrok.io/api/v1/\";\n\nexport default async function apicaller(method, route, data) {\n let url = BASE_URL + route;\n console.log(url);\n let api_response = await axios({\n method,\n url,\n data\n }, { withCredentials: true })\n .then((res) => {\n console.log(\"succ\", res.data);\n return res;\n })\n .catch(err => {\n console.log(\"err\", err);\n return err;\n })\n return api_response\n}","import React, { Component } from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { logoutUser } from \"../../modules/actions\";\r\nimport { withRouter } from 'react-router-dom';\r\nimport { compose } from \"redux\";\r\n\r\nclass Home extends Component {\r\n\r\n componentDidMount() {\r\n this.props.logoutUser()\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n \r\n {/* Theme tittle */}\r\n Ek Rupay\r\n {/* Theme style CSS */}\r\n \r\n\r\n
\r\n
\r\n

Ek Rupay

\r\n

A web based application to make all your payments related to utility services and billing services

\r\n
\r\n
\r\n

coming soon!

\r\n

In the mean time connect with us

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n logoutUser: () => dispatch(logoutUser()),\r\n});\r\n\r\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(Home);\r\n\r\n","import React, { Component } from 'react';\n\nimport { connect } from \"react-redux\";\nimport { logoutUser } from \"../../modules/actions\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\n\nexport class IndexPage extends Component {\n\n componentDidMount() {\n this.props.logoutUser()\n }\n\n render() {\n return (\n
\n SVS Communication\n \n \n
\n
\n \n \n
\n
\n {/* Home Section */}\n
\n
\n
\n
\n

One Web Application to Serve all your Payments

\n {/*

Related to utility and billing services

*/}\n
\n
\n {/* */}\n
\n
\n {/* Home Section */}\n {/* About Section */}\n
\n
\n
\n

About Us

\n

Simplicity is fundamental quality which our customers associate in SVS Communication. It is the seamless solution for all your Payment requirements. SVS Communication is designed to meet the varying needs of utility services.

\n
\n
\n
\n {/* About Section */}\n {/* Services Section */}\n
\n
\n
\n

Our Services

\n {/*

We serve for various online payment related services

*/}\n
\n
\n {/*
\n
\n
\n \n
\n

Rental payments

\n

Get rid of all kinds of rental payment issue with EKRUPAY. Here we would be able to offer you high-quality Rental payments services,property token,Property deposit,office/shop/shed rent,society maintenance with which you will never miss your next rental payment ever.

\n
\n
\n
\n
\n
\n \n
\n

Intitutional Payments

\n

The fee collection services offered by EKRUPAY is a one set solution for all kinds of educational institutes. We will take care of all your school fee payments efficiently.

\n
\n
\n
\n
\n
\n \n
\n

Grocery Bill Payments

\n

Choose and Buy Grocery from a wide range of fruits, vegetables, baby care products, personal care products and much more. Shop from any grocery shop or supermarket. Pay bill from here.

\n
\n
*/}\n
\n
\n
\n \n
\n

Utility Bill Payments

\n

SVS Communication provides features to recharge online, pay bills online. Avail Prepaid Mobile Recharge, DTH Recharge, etc. Pay Utility Bills Online - Mobile bills, Electricity Bills, Gas Bills, Landline Bills, etc.

\n
\n \n
\n
\n
\n
\n
\n
\n {/* Services Section */}\n {/* Contact Section */}\n
\n
\n
\n

Contact us

\n

To know more information about SVS Communication contact us

\n
\n
\n
\n
\n
\n
\n \n

Location:

\n

Plot NO 13,Ganesh Nagar,Chintal
Medchal

\n
\n
\n \n

Email:

\n

svscommunication@gmail.com

\n
\n
\n \n

Call:

\n

9390005464

\n
\n
\n
\n
\n
\n
\n
\n {/* Contact Section */}\n {/* Footer Section */}\n \n {/* Footer Section */}\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n logoutUser: () => dispatch(logoutUser()),\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(IndexPage);","import React, { Component } from 'react';\n\nclass Loader extends Component {\n render() {\n return (\n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default Loader;\n","import React, { Component } from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { loginUser, logoutUser } from \"../../modules/actions\";\r\nimport { getErrorMessage, getErrorStatus, getisAuthenticated, getLoggingStatus, getUserData } from '../../modules/reducers';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { compose } from \"redux\";\r\nimport apicaller from '../../util/ApiCaller';\r\nimport Loader from '../../components/global/Loader';\r\nimport swal from 'sweetalert';\r\n\r\nclass Login extends Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n user: {}\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.props.logoutUser()\r\n }\r\n\r\n componentDidUpdate() {\r\n if (this.props.isAuthenticated) {\r\n if (this.props.user.role == 2) {\r\n this.props.history.push('/customer/dashboard');\r\n }\r\n else if (this.props.user.role == 1) {\r\n this.props.history.push('/merchant/dashboard');\r\n }\r\n }\r\n else if (this.props.errorStatus) {\r\n swal('Alert', this.props.errorMessage, 'error');\r\n }\r\n }\r\n\r\n handleOnChangeFields = (userField, value) => {\r\n let user = this.state.user;\r\n user[userField] = value\r\n this.setState({\r\n user\r\n })\r\n }\r\n\r\n validateUserFields(input) {\r\n let output = {};\r\n output.isvalid = true;\r\n output.message = \"\";\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const rp = /^[0-9]{10}$/g;\r\n if (!input.userName || input.userName == \"\") {\r\n output.isvalid = false;\r\n output.message = \"Please enter Username\";\r\n }\r\n if (!re.test(String(input.userName).toLowerCase()) && !rp.test(input.userName)) {\r\n output.isvalid = false;\r\n output.message = \"Please enter a valid phone or email\"\r\n }\r\n if (!input.password || input.password == \"\") {\r\n output.isvalid = false;\r\n output.message = \"Please enter password\";\r\n }\r\n return output;\r\n }\r\n\r\n handleOnLogin = () => {\r\n let user = this.state.user;\r\n let validation = this.validateUserFields(user);\r\n if (validation.isvalid) {\r\n let data = new FormData();\r\n data.append(\"name\", user.userName);\r\n data.append(\"password\", user.password);\r\n let role = \"customer\"\r\n this.props.loginUser(data, role);\r\n }\r\n else {\r\n swal(validation.message);\r\n }\r\n }\r\n\r\n handleOnForgotPassword = () => {\r\n let user = this.state.user;\r\n let data = {\r\n userName: user.userName\r\n }\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const rp = /[0-9]{10}/;\r\n if (user.userName && user.userName != \"\" && re.test(String(user.userName).toLowerCase()) || rp.test(user.userName)) {\r\n apicaller('post', 'user/forgotPassword', data)\r\n .then(res => {\r\n if (res.status == 200) {\r\n if (res.data.data.sentMailStatus) {\r\n swal('mail sent, please check your mail');\r\n document.getElementById('model-close-button').click();\r\n }\r\n else {\r\n swal('some internal issue please try again');\r\n document.getElementById('model-close-button').click();\r\n }\r\n }\r\n })\r\n }\r\n else {\r\n swal('please enter a valid email / phone number')\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n {this.props.loggingStatus || this.props.isAuthenticated ?\r\n :\r\n
\r\n \r\n \r\n \r\n {/* Theme tittle */}\r\n Ek Rupay\r\n {/* Theme style CSS */}\r\n \r\n \r\n \r\n {/* Vectormap */}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

EKRUPAY

\r\n

Customer Sign in

\r\n
\r\n
\r\n
\r\n
{ e.preventDefault(); this.handleOnLogin() }}>\r\n
\r\n {/*

Customer Sign in

*/}\r\n
\r\n \r\n this.handleOnChangeFields(\"userName\", e.target.value)} required />\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"password\", e.target.value)} required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n

Don't have an account? Sign up

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
}\r\n\r\n {/* Modal */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"userName\", e.target.value)} placeholder=\"Enter Registered Phone Number or Email\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n isAuthenticated: getisAuthenticated(state),\r\n user: getUserData(state),\r\n errorStatus: getErrorStatus(state),\r\n errorMessage: getErrorMessage(state),\r\n loggingStatus: getLoggingStatus(state),\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n loginUser: (email, password) => dispatch(loginUser(email, password)),\r\n logoutUser: () => dispatch(logoutUser()),\r\n});\r\n\r\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(Login);\r\n\r\n\r\n\r\n","import React, { Component } from 'react';\r\nimport apicaller from '../../util/ApiCaller';\r\nimport { connect } from \"react-redux\";\r\nimport { logoutUser } from \"../../modules/actions\";\r\nimport { withRouter } from 'react-router-dom';\r\nimport { compose } from \"redux\";\r\nimport swal from 'sweetalert';\r\n\r\nclass SignUp extends Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n user: {},\r\n smsSentStatus: '',\r\n isSendingOtp: false,\r\n isVerifyingOtp: false\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.props.logoutUser()\r\n }\r\n\r\n handleOnChangeFields = (userField, value) => {\r\n let user = this.state.user;\r\n user[userField] = value\r\n this.setState({\r\n user,\r\n })\r\n }\r\n\r\n validateUserFields(input) {\r\n let output = {};\r\n output.isValid = true;\r\n output.message = \"\";\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const rp = /^[0-9]{10}$/g;\r\n const rpass = /^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9]).{8,16}$/\r\n if (!input.first_name || input.first_name == \"\") {\r\n output.isValid = false;\r\n output.message = \"Please enter first name\";\r\n return output;\r\n }\r\n if (!input.email || input.email == \"\" || !re.test(String(input.email).toLowerCase())) {\r\n output.isValid = false;\r\n output.message = \"Please enter a valid email\";\r\n return output;\r\n }\r\n if (!input.phone || input.phone == \"\" || !rp.test(input.phone)) {\r\n output.isValid = false;\r\n output.message = \"Please enter a valid phone number\";\r\n return output;\r\n }\r\n if (!input.password || input.password == \"\" || !rpass.test(input.password)) {\r\n output.isValid = false;\r\n output.message = \"Please check for minimum conditions and enter a password.\";\r\n return output;\r\n }\r\n if (input.password != input.confirm_password) {\r\n output.isValid = false;\r\n output.message = \"Password confirmation does not matched\";\r\n return output;\r\n }\r\n return output;\r\n }\r\n\r\n handleOnSignup = () => {\r\n let user = this.state.user;\r\n let validation = this.validateUserFields(user);\r\n if (validation.isValid) {\r\n this.sendOtpToUser(user.phone);\r\n }\r\n else {\r\n swal(validation.message, '', 'warning');\r\n }\r\n }\r\n\r\n sendOtpToUser = (phone) => {\r\n this.setState({\r\n isSendingOtp: true\r\n })\r\n apicaller('post', 'user/send/otp', { phone })\r\n .then(res => {\r\n if (res.status == 200) {\r\n if (res.data.data.isUserExist) {\r\n swal(\"User Exists\", \"User with same phone or email already exists in the system\", \"warning\");\r\n }\r\n else {\r\n // if (res.data.data.smsSentStatus.status == \"success\") {\r\n // this.setState({\r\n // smsSentStatus: res.data.data.smsSentStatus.status\r\n // })\r\n // }\r\n document.getElementById('model-button').click();\r\n // else {\r\n // if (res.data.data.smsSentStatus.errors && res.data.data.smsSentStatus.errors[0].code == 51) {\r\n // swal(\"Please enter a valid number\", \"and try again!\", \"warning\");\r\n // }\r\n // else {\r\n // swal(\"Something went wrong\", \"Please try again later!\", \"warning\");\r\n // }\r\n // }\r\n }\r\n }\r\n this.setState({\r\n isSendingOtp: false\r\n })\r\n })\r\n .catch(err => {\r\n console.log(err);\r\n swal('Error', 'something went wrong.', 'error');\r\n this.setState({\r\n isSendingOtp: false\r\n })\r\n })\r\n }\r\n\r\n handleOnOtpSubmit = () => {\r\n console.log('hello');\r\n let otp = this.state.user.otp;\r\n const rotp = /^[0-9]{4}$/g;\r\n if (otp && otp != \"\" && rotp.test(otp)) {\r\n this.verifyOtp(this.state.user.phone, otp);\r\n }\r\n else {\r\n swal('Alert', 'please enter a valid otp', 'warning');\r\n }\r\n }\r\n\r\n verifyOtp = (phone, otp) => {\r\n this.setState({\r\n isVerifyingOtp: true\r\n })\r\n apicaller('post', 'user/verify/otp', { phone, otp })\r\n .then(res => {\r\n if (res.status == 200) {\r\n if (res.data.data.otp_record.isVerified) {\r\n this.createCustomer();\r\n }\r\n else {\r\n swal('Alert', 'OTP validation failed! please try again.', 'warning')\r\n }\r\n }\r\n this.setState({\r\n isVerifyingOtp: true\r\n })\r\n })\r\n .catch(err => {\r\n swal('Error', 'something went wrong.', 'error');\r\n this.setState({\r\n isVerifyingOtp: true\r\n })\r\n })\r\n }\r\n\r\n createCustomer = () => {\r\n let user = this.state.user;\r\n let data = new FormData();\r\n data.append(\"first_name\", user.first_name);\r\n data.append(\"last_name\", user.last_name || \"\");\r\n data.append(\"email\", user.email.toLowerCase());\r\n data.append(\"phone\", user.phone);\r\n data.append(\"password\", user.password);\r\n data.append(\"isActive\", true);\r\n apicaller('post', 'customer/register', data)\r\n .then(res => {\r\n if (res.status == 200) {\r\n if (res.data.data.user) {\r\n this.props.history.push('/customer/login');\r\n }\r\n else {\r\n swal('user creation failed')\r\n }\r\n }\r\n })\r\n .catch(err => {\r\n swal('Error', 'something went wrong.', 'error');\r\n })\r\n }\r\n\r\n handleShowPasswordConditions = () => {\r\n let ele = document.getElementById('password');\r\n ele.style.display = 'block'\r\n }\r\n handleHidePasswordConditions = () => {\r\n let ele = document.getElementById('password');\r\n ele.style.display = 'none'\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n \r\n {/* Theme tittle */}\r\n Ek Rupay\r\n {/* Theme style CSS */}\r\n \r\n \r\n \r\n {/* Vectormap */}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

EKRUPAY

\r\n

Customer Sign up

\r\n
\r\n
\r\n
\r\n
\r\n {/*

Customer Sign up

*/}\r\n
{ e.preventDefault(); this.handleOnSignup() }}>\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"first_name\", e.target.value)} required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"last_name\", e.target.value)} placeholder=\"Last Name\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"email\", e.target.value)} placeholder=\"Enter Email ID\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"phone\", e.target.value)} placeholder=\"Enter Phone Number\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"password\", e.target.value)} placeholder=\"Enter Password\" required />\r\n
\r\n
\r\n Password should contain
\r\n Atleast one Uppercase letter
\r\n Atleast one Special character letter
\r\n Atleast one Number letter
\r\n Minimum length of 8 and Maximum of 16
\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"confirm_password\", e.target.value)} placeholder=\"Confirm Password\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n

Already have an account? Sign in

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n {/* Modal */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"otp\", e.target.value)} placeholder=\"Enter OTP\" required />\r\n {this.state.smsSentStatus == \"success\" ? OTP sent to your phone number : null}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n logoutUser: () => dispatch(logoutUser()),\r\n});\r\n\r\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(SignUp);","import React, { Component } from 'react';\nimport _ from 'lodash';\nimport apicaller from '../../util/ApiCaller';\n\nimport { connect } from \"react-redux\";\nimport { logoutUser } from \"../../modules/actions\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport swal from 'sweetalert';\nimport moment from 'moment';\n\nclass MerchantSignUp extends Component {\n constructor() {\n super();\n this.state = {\n user: {},\n smsSentStatus: '',\n isSendingOtp: false,\n isVerifyingOtp: false,\n isCreatingMerchant: false,\n }\n }\n\n componentDidMount() {\n this.props.logoutUser()\n }\n\n handleOnChangeFields = (userField, value) => {\n let user = this.state.user;\n user[userField] = value\n this.setState({\n user,\n })\n }\n\n handleOnUploadFiles = (userField, files) => {\n let value;\n for (var i in files) {\n if (i != \"length\" && i != \"item\") {\n document.querySelector(`#${userField}`).textContent = files[i].name;\n var FileSize = files[i].size / 1024 / 1024; // in MB\n if (FileSize > 3) {\n swal('Alert', 'File size exceeds 3 MB', 'warning');\n }\n value = files[i];\n }\n }\n let user = this.state.user;\n user[userField] = value\n this.setState({\n user,\n })\n }\n\n //validation of user form\n validateUserFields(input) {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n const rpass = /^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9]).{8,16}$/\n if (!input.organization_name || input.organization_name == \"\") {\n output.isValid = false;\n output.message = \"Please enter organization name\";\n return output;\n }\n if (!input.first_name || input.first_name == \"\") {\n output.isValid = false;\n output.message = \"Please enter first name\";\n return output;\n }\n if (!input.phone || input.phone == \"\" || !rp.test(input.phone)) {\n output.isValid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.email || input.email == \"\" || !re.test(input.email)) {\n output.isValid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.dob || input.dob == \"\") {\n output.isValid = false;\n output.message = \"Please enter date of birth\";\n return output;\n }\n if (!input.shop_address || input.shop_address == \"\") {\n output.isValid = false;\n output.message = \"Please enter shop address\";\n return output;\n }\n if (!input.location || input.location == \"\") {\n output.isValid = false;\n output.message = \"Please enter location\";\n return output;\n }\n if (!input.organization_logo || !_.isEmpty(input.organization_logo)) {\n output.isValid = false;\n output.message = \"Logo of Merchant is required\";\n return output;\n }\n if (!input.organization_logo || (input.organization_logo.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Logo of Merchant should be less than 3MB\";\n return output;\n }\n if (!input.location || input.location == \"\") {\n output.isValid = false;\n output.message = \"Please enter location\";\n return output;\n }\n if (!input.organization_outside_image || !_.isEmpty(input.organization_outside_image)) {\n output.isValid = false;\n output.message = \"Shop outer photo is required\";\n return output;\n }\n if (!input.organization_outside_image || (input.organization_outside_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Shop outer photo should be less than 3MB\";\n return output;\n }\n if (!input.organization_inside_image || !_.isEmpty(input.organization_inside_image)) {\n output.isValid = false;\n output.message = \"Shop inside photo is required\";\n return output;\n }\n if (!input.organization_inside_image || (input.organization_inside_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Shop inside photo should be less than 3MB\";\n return output;\n }\n if (!input.account_number || input.account_number == \"\") {\n output.isValid = false;\n output.message = \"Please enter account number\";\n return output;\n }\n if (!input.ifsc_code || input.ifsc_code == \"\") {\n output.isValid = false;\n output.message = \"Please enter ifsc code\";\n return output;\n }\n if (!input.account_holder_name || input.account_holder_name == \"\") {\n output.isValid = false;\n output.message = \"Please enter account holder name\";\n return output;\n }\n if (!input.canceled_check || !_.isEmpty(input.canceled_check)) {\n output.isValid = false;\n output.message = \"Canceled Check is required\";\n return output;\n }\n if (!input.canceled_check || (input.canceled_check.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Canceled Check should be less than 3MB\";\n return output;\n }\n if (!input.pan_number || input.pan_number == \"\") {\n output.isValid = false;\n output.message = \"Please enter pan number\";\n return output;\n }\n if (!input.pan_image || !_.isEmpty(input.pan_image)) {\n output.isValid = false;\n output.message = \"Pan card image is required\";\n return output;\n }\n if (!input.pan_image || (input.pan_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Pan card image should be less than 3MB\";\n return output;\n }\n if (!input.aadhar_number || input.aadhar_number == \"\") {\n output.isValid = false;\n output.message = \"Please enter aadhar number\";\n return output;\n }\n if (!input.aadhar_front_image || !_.isEmpty(input.aadhar_front_image)) {\n output.isValid = false;\n output.message = \"Aadhar front image image is required\";\n return output;\n }\n if (!input.aadhar_front_image || (input.aadhar_front_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Aadhar front image should be less than 3MB\";\n return output;\n }\n if (!input.aadhar_back_image || !_.isEmpty(input.aadhar_back_image)) {\n output.isValid = false;\n output.message = \"Aadhar back image image is required\";\n return output;\n }\n if (!input.aadhar_back_image || (input.aadhar_back_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Aadhar back image should be less than 3MB\";\n return output;\n }\n if (!input.certificate_image || !_.isEmpty(input.certificate_image)) {\n output.isValid = false;\n output.message = \"Certificate image is required\";\n return output;\n }\n if (!input.certificate_image || (input.certificate_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Certificate image should be less than 3MB\";\n return output;\n }\n if (!input.password || input.password == \"\" || !rpass.test(input.password)) {\n output.isValid = false;\n output.message = \"Please check for minimum conditions and enter a password.\";\n return output;\n }\n if (input.password != input.confirm_password) {\n output.isValid = false;\n output.message = \"Password confirmation does not matched\";\n return output;\n }\n return output;\n }\n\n handleOnSignup = () => {\n let user = this.state.user;\n let validation = this.validateUserFields(user);\n if (validation.isValid) {\n this.sendOtpToUser(user.phone, user.email);\n }\n else {\n swal(validation.message);\n }\n }\n\n sendOtpToUser = (phone, email) => {\n this.setState({\n isSendingOtp: true\n })\n apicaller('post', 'user/send/otp', { phone, email })\n .then(res => {\n if (res.status == 200) {\n console.log(\"otp\", res.data);\n if (res.data.data.isUserExist) {\n swal(\"User Exists\", \"User with same phone or email already exists in the system\", \"warning\");\n }\n else {\n // if (res.data.data.smsSentStatus.status == \"success\") {\n // this.setState({\n // smsSentStatus: res.data.data.smsSentStatus.status\n // })\n // }\n document.getElementById('model-button').click();\n // else {\n // if (res.data.data.smsSentStatus.errors && res.data.data.smsSentStatus.errors[0].code == 51) {\n // swal(\"Please enter a valid number\", \"and try again!\", \"warning\");\n // }\n // else {\n // swal(\"Something went wrong\", \"Please try again later!\", \"warning\");\n // }\n // }\n }\n }\n this.setState({\n isSendingOtp: false\n })\n })\n .catch(err => {\n swal('Error', 'something went wrong.', 'error');\n this.setState({\n isSendingOtp: false\n })\n })\n }\n\n handleOnOtpSubmit = () => {\n let otp = this.state.user.otp;\n const rotp = /^[0-9]{4}$/g;\n if (otp && otp != \"\" && rotp.test(otp)) {\n this.verifyOtp(this.state.user.phone, otp);\n }\n else {\n swal('Alert', 'please enter otp', 'warning');\n }\n }\n\n verifyOtp = (phone, otp) => {\n this.setState({\n isVerifyingOtp: true\n })\n apicaller('post', 'user/verify/otp', { phone, otp })\n .then(res => {\n console.log(\"verify otp\", res.data);\n if (res.status == 200) {\n if (res.data.data.otp_record.isVerified) {\n this.createMerchant();\n }\n else {\n swal('Validation Error', 'OTP validation failed! please try again.', 'error')\n }\n }\n this.setState({\n isVerifyingOtp: false\n })\n })\n .catch(err => {\n swal('Error', 'something went wrong.', 'error');\n this.setState({\n isVerifyingOtp: false\n })\n })\n }\n\n createMerchant = () => {\n this.setState({\n isCreatingMerchant: true\n })\n let user = this.state.user;\n let data = new FormData();\n data.append(\"organization_name\", user.organization_name);\n data.append(\"first_name\", user.first_name);\n data.append(\"last_name\", user.last_name || \"\");\n data.append(\"email\", user.email.toLowerCase());\n data.append(\"phone\", user.phone);\n data.append(\"alternative_phone\", user.alternative_phone || \"\");\n data.append(\"dob\", user.dob);\n data.append(\"password\", user.password);\n data.append(\"shop_address\", user.shop_address);\n data.append(\"location\", user.location);\n data.append(\"organization_logo\", user.organization_logo);\n data.append(\"organization_outside_image\", user.organization_outside_image);\n data.append(\"organization_inside_image\", user.organization_inside_image);\n data.append(\"account_number\", user.account_number);\n data.append(\"ifsc_code\", user.ifsc_code);\n data.append(\"account_holder_name\", user.account_holder_name);\n data.append(\"canceled_check\", user.canceled_check);\n data.append(\"pan_number\", user.pan_number);\n data.append(\"aadhar_number\", user.aadhar_number);\n data.append(\"pan_image\", user.pan_image);\n data.append(\"aadhar_front_image\", user.aadhar_front_image);\n data.append(\"aadhar_back_image\", user.aadhar_back_image);\n data.append(\"certificate_image\", user.certificate_image);\n data.append(\"isKycCompleted\", true);\n data.append(\"isKycProcessed\", true);\n apicaller('post', 'merchant/register', data)\n .then(res => {\n console.log(\"merchant\", res);\n if (res.status == 200) {\n if (res.data.data.user) {\n this.props.history.push('/merchant/login');\n }\n else {\n swal('user creation failed')\n }\n }\n this.setState({\n isCreatingMerchant: false\n })\n })\n .catch(err => {\n this.setState({\n isCreatingMerchant: false\n })\n swal('Error', 'something went wrong.', 'error');\n })\n }\n\n handleShowPasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'block'\n }\n handleHidePasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'none'\n }\n\n render() {\n return (\n
\n {/***********************************\n Content body start\n ************************************/}\n {/* row */}\n
\n
\n

EKRUPAY

\n

Merchant Sign up

\n
\n {/*
*/}\n {/*

Merchant Signup Form

*/}\n {/*
*/}\n
\n {/*
*/}\n { e.preventDefault(); this.handleOnSignup() }}>\n
\n

Basic Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"organization_name\", e.target.value)} placeholder=\"Enter Organization Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"first_name\", e.target.value)} placeholder=\"Proprietor First Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"last_name\", e.target.value)} placeholder=\"Proprietor Last Name\" />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"phone\", e.target.value)} placeholder=\"Enter Phone Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"alternative_phone\", e.target.value)} placeholder=\"Enter Alternate Phone Number\" />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"email\", e.target.value)} placeholder=\"Enter Email\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"dob\", e.target.value)} placeholder=\"Enter Date of Birth\" required />\n
\n
\n
\n
\n

Shop Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"shop_address\", e.target.value)} placeholder=\"Enter Shop Address\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"location\", e.target.value)} placeholder=\"Enter Location\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"organization_logo\", e.target.files)} required />\n \n
\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"organization_outside_image\", e.target.files)} />\n \n
\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"organization_inside_image\", e.target.files)} />\n \n
\n
\n
\n
\n
\n

Bank Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_number\", e.target.value)} placeholder=\"Enter Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"ifsc_code\", e.target.value)} placeholder=\"Enter IFSC Code\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_holder_name\", e.target.value)} placeholder=\"Enter Account Holder Name\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"canceled_check\", e.target.files)} required />\n \n
\n
\n
\n
\n
\n

Documents to be uploaded

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"pan_number\", e.target.value)} placeholder=\"Enter PAN Card Number\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"pan_image\", e.target.files)} required />\n \n
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"aadhar_number\", e.target.value)} placeholder=\"Enter Aadhaar Card Number\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"aadhar_front_image\", e.target.files)} required />\n \n
\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"aadhar_back_image\", e.target.files)} required />\n \n
\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"certificate_image\", e.target.files)} required />\n \n
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"password\", e.target.value)} placeholder=\"Enter Password\" required />\n
\n
\n Password should contain
\n Atleast one Uppercase letter
\n Atleast one Special character letter
\n Atleast one Number letter
\n Minimum length of 8 and Maximum of 16
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"confirm_password\", e.target.value)} placeholder=\"Confirm Password\" required />\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n \n\n {/* Modal */}\n
\n
\n
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"otp\", e.target.value)} placeholder=\"Enter OTP\" required />\n {this.state.smsSentStatus == \"success\" ? OTP sent to your phone number : null}\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n\n {/***********************************\n Content body end\n ************************************/}\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n logoutUser: () => dispatch(logoutUser()),\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(MerchantSignUp);\n","import React, { Component } from 'react';\n\nclass Error extends Component {\n render() {\n return

Error page!

;\n }\n}\n\nexport default Error;","import React, { Component } from 'react';\n\nclass DataCard extends Component {\n render() {\n let cardColor = `card bg-${this.props.cardColor}`;\n let icon = `zmdi ${this.props.icon} ${this.props.iconSize}`;\n let iconColor = this.props.iconColor;\n return (\n
\n
\n
\n
\n \n \n \n
\n

{this.props.cardText}

\n {this.props.cardValue}\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default DataCard;","import React, { Component } from 'react';\n\nclass ServiceCard extends Component {\n render() {\n let icon = `zmdi ${this.props.icon} ${this.props.iconSize}`;\n let iconColor = this.props.iconColor;\n return (\n \n )\n }\n}\n\nexport default ServiceCard;","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport DataCard from '../../components/customer/dashboard/DataCard';\nimport ServiceCard from '../../components/customer/dashboard/ServiceCard';\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\n\nclass CustomerDashboard extends Component {\n\n constructor() {\n super();\n this.state = {\n serviceDetails: {},\n isLoading: false,\n }\n }\n\n\n handleSelectService = (service_name, short_name) => {\n this.props.history.push({\n pathname: '/accounts/list',\n state: {\n selectedService: service_name,\n selectedServiceShort: short_name\n }\n })\n }\n\n\n render() {\n return (\n
\n Customer Dashboard\n
\n \n \n
\n
\n {/*
\n \n
*/}\n

Services

\n
\n )}\n cardText=\"Rental bill\"\n />\n )}\n cardText=\"Grocery Bill\"\n />\n )}\n cardText=\"Institutional fee\"\n />\n
\n
\n
\n
\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(CustomerDashboard);\n","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\n\nclass UtilityTransactions extends Component {\n render() {\n return (\n
\n Utility Transactions\n
\n \n \n
\n
\n
\n
\n
\n

Transactions

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Roll NoStudent NameInvoice numberFees Type Payment Type Status DateAmount
01Tiger Nixon#54605LibraryCashPaid2011/04/25120$
\n
\n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default UtilityTransactions;","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\n\nclass BillingTransactions extends Component {\n render() {\n return (\n
\n Billing Transactions\n
\n \n \n
\n
\n
\n
\n
\n

Transactions

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Roll NoStudent NameInvoice numberFees Type Payment Type Status DateAmount
01Tiger Nixon#54605LibraryCashPaid2011/04/25120$
\n
\n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default BillingTransactions;","import fetch from 'isomorphic-fetch';\n// const API_URL = `http://192.168.43.85:3333/api/v1/`;\nexport const API_URL = \"https://api.ekrupay.in/api/v1/\";\n\n\n\nexport default function downloadApi(name, endpoint, method = 'get', body) {\n\n console.log(`${API_URL}/${endpoint}`);\n return fetch(`${API_URL}/${endpoint}`, {\n headers: { 'content-type': 'application/json' },\n method,\n body: JSON.stringify(body),\n })\n .then(response => response.blob()).then(\n blob => {\n let url = window.URL.createObjectURL(blob);\n let a = document.createElement('a');\n a.href = url;\n a.download = name ? name : \"venue-leads.csv\";\n a.click();\n });\n}\n","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport apicaller, { BASE_URL } from '../../util/ApiCaller';\nimport downloadApi from '../../util/FileDownloadApiCaller';\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport { getUserData } from '../../modules/reducers';\nimport _, { isEmpty } from 'lodash';\nimport { numberFormat } from '../../App';\nimport ReactToPrint from \"react-to-print\";\nimport moment from 'moment';\nimport swal from 'sweetalert';\nimport Select from 'react-select';\nimport makeAnimated from 'react-select/animated';\nimport Pagination from 'rc-pagination';\nimport '../../assets/index.css';\n\nconst animatedComponents = makeAnimated();\n\nclass BillingTransactions extends Component {\n\n constructor() {\n super();\n this.state = {\n presentTransactionId: '',\n presentTransactionDetails: {},\n transactions: [],\n isLoading: false,\n selectedTransaction: {},\n isFilterEnabled: false,\n startDate: moment().startOf('day'),\n endDate: moment().endOf('day'),\n transactionId: '',\n amount: 0,\n query: {},\n currentPage: 1,\n totalDocuments: 0,\n isApplyingFilters: false,\n isDownloadingBillingTransactions: false,\n service_types: [\n {\n value: 'IP',\n label: 'Intitutional Payment'\n },\n {\n value: 'GP',\n label: 'Grocery Payment'\n },\n {\n value: 'RP',\n label: 'Rental Payment'\n },\n ],\n payment_methods: [\n {\n value: 'credit',\n label: 'Credit Card'\n },\n {\n value: 'debit',\n label: 'Debit Card'\n },\n {\n value: 'netbanking',\n label: 'Net Banking'\n },\n {\n value: 'prepaid',\n label: 'Prepaid Card'\n },\n {\n value: 'upi',\n label: 'UPI'\n },\n ],\n mode: [\n {\n value: 'credit',\n label: 'Credit'\n },\n {\n value: 'debit',\n label: 'Debit'\n },\n ],\n status: [\n {\n value: 'paid',\n label: 'Paid'\n },\n {\n value: 'unpaid',\n label: 'unpaid'\n },\n ],\n }\n }\n\n componentDidMount() {\n this.fetchTransactions();\n }\n\n getQuery = () => {\n let query = this.state.query;\n if (this.state.transactionId != '') {\n query.transactionId = this.state.transactionId;\n }\n if (this.state.amount != '') {\n query.amount = this.state.amount;\n }\n return query;\n }\n\n fetchTransactions = () => {\n let query = this.getQuery();\n console.log(\"bhanu\", query);\n let data = {\n query,\n pageSize: 10,\n pageNum: this.state.currentPage,\n startDate: this.state.startDate,\n endDate: this.state.endDate\n }\n apicaller('post', `merchant/${this.props.user._id}/get-billing-transactions`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.transactions) {\n if (this.props.match.params && this.props.match.params.id) {\n this.setState({\n presentTransactionId: this.props.match.params.id\n }, () => {\n let final_transactions = res.data.data.transactions;\n this.setState(\n {\n presentTransactionDetails: res.data.data.transactions.filter(item => (item._id == this.state.presentTransactionId))[0],\n transactions: final_transactions,\n totalDocuments: res.data.data.count,\n });\n })\n }\n else {\n this.setState(\n {\n transactions: res.data.data.transactions,\n totalDocuments: res.data.data.count,\n });\n }\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n this.setState({\n isApplyingFilters: false\n })\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isApplyingFilters: false\n })\n })\n }\n\n handleOnDownloadReport = () => {\n this.setState({\n isDownloadingBillingTransactions: true\n })\n let query = this.getQuery();\n downloadApi(`BillingTransactions-${moment().format('DD-MM-YYYY-HH:mm')}.csv`, `merchant/${this.props.user._id}/get-billing-transactions-dump`, 'post', {\n query,\n pageSize: 10,\n pageNum: this.state.currentPage,\n startDate: this.state.startDate,\n endDate: this.state.endDate\n })\n .then(\n (blob) => {\n swal('Success', 'Billing Transactions downloaded successfully.', 'success')\n this.setState({\n isDownloadingBillingTransactions: false\n })\n }\n )\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isDownloadingBillingTransactions: false\n })\n })\n }\n\n handleOnCopyLink(url) {\n var elem = document.createElement(\"textarea\");\n document.body.appendChild(elem);\n elem.value = url;\n elem.select();\n document.execCommand(\"copy\");\n document.body.removeChild(elem);\n swal('Link Copied', '', 'success')\n }\n\n handleOnShareLink(input) {\n this.setState({\n isLoading: true\n })\n let data = {};\n data.email = input.email;\n data.phone = input.phone;\n data.name = input.name;\n data.serviceType = input.serviceType;\n data.link = input.link;\n apicaller('post', 'merchant/share-payment-link', data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.status) {\n swal('Success', 'link sent successfully', 'success');\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n this.setState({\n isLoading: false\n })\n })\n .catch(err => {\n this.setState({\n isLoading: false\n })\n swal('Error', err.message, 'error');\n })\n }\n\n handleOnPayNow = () => {\n document.getElementById('pay-now').click();\n setTimeout(this.props.history.push(`/merchant/billing/trasactions`), 5000);\n }\n handleOnPrint = () => {\n document.getElementById('print-button').style.display = \"none\";\n document.getElementById('print-trigger').click();\n }\n\n handleOnSelectFilter = () => {\n this.setState({\n isFilterEnabled: !this.state.isFilterEnabled,\n query: {},\n startDate: moment().startOf('day'),\n endDate: moment().endOf('day'),\n transactionId: '',\n amount: 0,\n }, () => this.fetchTransactions())\n }\n\n handleOnSelectFilterDetails = (attribute, value) => {\n let query = this.state.query;\n if (value && value.length > 0 || !_.isEmpty(value)) {\n if (attribute === \"status\") {\n if (value.value === \"paid\") {\n query.isPaid = true;\n }\n else if (value.value === \"unpaid\") {\n query.isPaid = false;\n }\n }\n else {\n query[attribute] = { $in: value.map(item => item.value) };\n }\n }\n else {\n delete query[attribute];\n }\n this.setState({ query });\n }\n\n handleOnChangeFilterDetails = (attribute, value) => {\n if (value == \"\" || _.isEmpty(value)) {\n let query = this.state.query;\n delete query[attribute];\n this.setState({\n query\n });\n }\n this.setState({\n [attribute]: value\n })\n }\n\n handleOnApplyFilter = () => {\n this.setState({\n isApplyingFilters: true\n })\n this.fetchTransactions();\n }\n\n onChangePage = page => {\n this.setState({\n currentPage: page,\n }, () => this.fetchTransactions());\n };\n\n handleOnChangeFields = (userField, value) => {\n this.setState({\n [userField]: value\n })\n }\n\n handleRaiseIssue = () => {\n let data = {};\n data.issue = `Hey, I have a transaction with transaction id ${this.state.selectedTransaction.transactionId} of amount ${numberFormat(this.state.selectedTransaction.amount)} on ${moment(this.state.selectedTransaction.createdAt).format('DD-MM-YYYY HH:mm:ss')}.\n my issue is: ${this.state.issue}`;\n this.setState({\n loading: true\n })\n apicaller('post', `user/${this.props.user._id}/raise/ticket`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.raised_ticket) {\n swal('Ticket raised successfully, we will contact you soon', '', 'success');\n document.getElementById('issue').value = \"\";\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n }\n this.setState({\n loading: false\n })\n document.getElementById('issue-model-close-button').click();\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n loading: false\n })\n document.getElementById('issue-model-close-button').click();\n })\n }\n\n render() {\n let capturedResponse = this.state.selectedTransaction && this.state.selectedTransaction.capturedResponse ? JSON.parse(this.state.selectedTransaction.capturedResponse) : {};\n return (\n
\n
\n Billing Transactions\n
\n \n \n
\n
\n
\n \n {this.state.presentTransactionDetails && !_.isEmpty(this.state.presentTransactionDetails) && !this.state.presentTransactionDetails.isPaid ?\n
\n
\n

Present Transaction

\n
\n
\n

Details

\n
\n
\n

Name: {this.state.presentTransactionDetails.receiptName}

\n

Phone: {this.state.presentTransactionDetails.receiptPhone}

\n

Email: {this.state.presentTransactionDetails.receiptEmail}

\n

Amount: {this.state.presentTransactionDetails.amount}

\n

Service Type: {this.state.presentTransactionDetails.serviceType == \"RP\" ? \"Rental Payment\" : this.state.presentTransactionDetails.serviceType == \"IP\" ? \"institutional Payment\" : this.state.presentTransactionDetails.serviceType == \"GP\" ? \"Grocery Payment\" : null}

\n
\n
\n

Transaction Link {this.state.presentTransactionDetails.paymentLink}

\n \n Pay Now\n Pay Now\n \n
\n
\n
\n
\n : null}\n {this.state.isFilterEnabled ?\n
\n
\n

Filters

\n
\n
\n

Filter by Category Details

\n
\n
\n \n this.handleOnSelectFilterDetails('serviceType', value)}\n />\n
\n
\n \n this.handleOnSelectFilterDetails('paymentMethod', value)}\n />\n
\n
\n \n this.handleOnSelectFilterDetails(\"transactionType\", value)}\n />\n
\n
\n \n this.handleOnSelectFilterDetails(\"status\", value)}\n />\n
\n
\n

Search by Merchant Details

\n
\n
\n \n this.handleOnChangeFilterDetails('transactionId', e.target.value)} />\n
\n
\n \n this.handleOnChangeFilterDetails('amount', e.target.value)} />\n Please enter amount without any special characters (eg: 25000)\n
\n
\n

Filter by Date

\n
\n
\n \n this.handleOnChangeFilterDetails('startDate', moment(e.target.value).startOf('day'))} />\n
\n
\n \n this.handleOnChangeFilterDetails('endDate', moment(e.target.value).endOf('day'))} />\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n : null}\n
\n
\n
\n
\n

Transactions

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n \n {(this.state.transactions && this.state.transactions.length > 0) ? this.state.transactions.map((item, index) => (\n \n \n \n \n \n \n \n {item.isPaid ?\n \n : item.isPaymentStepDone ?\n \n :\n \n }\n \n \n {/* */}\n \n \n )) : No records available}\n \n
S.NOActionsTransaction IdPG Transaction IdOrder IdAmount StatusCreated DateService Type Payment Method Type
{index + 1}\n \n {item.transactionId ? item.transactionId : '-'}{item.razorpayPaymentId ? item.razorpayPaymentId : '-'}{item.razorpayOrderId ? item.razorpayOrderId : '-'}{item.amount ? numberFormat(item.amount) : '-'}PaidFailedUnpaid{item.createdAt ? moment(item.createdAt).format('DD-MM-YYYY hh:mm:ss') : '-'}{item.serviceType == \"RP\" ? \"Rental Payment\" : item.serviceType == \"IP\" ? \"institutional Payment\" : item.serviceType == \"GP\" ? \"Grocery Payment\" : item.serviceType == \"PW\" ? \"Wallet Transfer\" : null}{item.paymentMethod ? item.paymentMethod : '-'}{item.transactionType}
\n
\n
\n \n
\n
\n

{10 * parseInt(this.state.currentPage - 1)} - {10 * parseInt(this.state.currentPage) > this.state.totalDocuments ? this.state.totalDocuments : 10 * parseInt(this.state.currentPage)} of {this.state.totalDocuments} records

\n
\n
\n
\n
\n
\n
\n
\n\n\n {/* Raise an issue Modal */}\n
(this.componentRef = el)} className=\"modal fade\" id=\"raiseAnIssue\">\n
\n
\n
\n
\n
\n

Raise an Issue

\n
\n
\n
Transaction Id: {this.state.selectedTransaction.transactionId}
\n
Date: {moment(this.state.selectedTransaction.createdAt).format('DD-MM-YYYY HH:mm:ss')}
\n
Amount: {numberFormat(this.state.selectedTransaction.amount)}
\n
\n {/* */}\n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n {/* Modal */}\n
(this.componentRef = el)} className=\"modal fade\" id=\"viewMoreModal\">\n
\n
\n
\n
\n

EKRUPAY

\n
\n

Billed By - {this.props.user.first_name || \"\"} {this.props.user.last_name || \"\"}

\n

DATE - {moment().format('DD-MM-YYYY HH:mm:ss')}

\n
\n
\n
\n

Transaction Details

\n

{this.state.selectedTransaction.isPaid ? Paid : this.state.selectedTransaction.isPaymentStepDone ? Failed : Unpaid}

\n
\n
\n
Transaction Time: {moment(this.state.selectedTransaction.createdAt).format('DD-MM-YYYY HH:mm:ss')}


\n
\n
\n
\n
Transaction ID:
\n

{this.state.selectedTransaction.transactionId || \"-\"}

\n
\n
\n
Name:
\n

{this.state.selectedTransaction.receiptName || \"-\"}

\n
\n
\n
Phone Number:
\n

{this.state.selectedTransaction.receiptPhone || \"-\"}

\n
\n
\n
Email:
\n

{this.state.selectedTransaction.receiptEmail || \"-\"}

\n
\n
\n
Service Type:
\n

{this.state.selectedTransaction.serviceType == \"RP\" ? \"Rental Payment\" : this.state.selectedTransaction.serviceType == \"IP\" ? \"institutional Payment\" : this.state.selectedTransaction.serviceType == \"GP\" ? \"Grocery Payment\" : this.state.selectedTransaction.serviceType == \"PW\" ? \"Wallet Transfer\" : null}

\n
\n
\n
Amount:
\n

{numberFormat(this.state.selectedTransaction.amount) || \"-\"}

\n
\n
\n
Payment Method:
\n

{this.state.selectedTransaction.paymentMethod || \"-\"}

\n
\n
\n
Transaction Type:
\n

{this.state.selectedTransaction.transactionType || \"-\"}

\n
\n
\n
Status:
\n

{this.state.selectedTransaction.isPaid ? \"Success\" : this.state.selectedTransaction.isPaymentFailed ? \"Failed\" : null}

\n
\n
\n
Card Name:
\n

{capturedResponse && capturedResponse.card ? capturedResponse.card.name : '-'}

\n
\n
\n
Last 4 digits:
\n

{capturedResponse && capturedResponse.card ? capturedResponse.card.last4 : '-'}

\n
\n
\n
Network:
\n

{capturedResponse && capturedResponse.card ? capturedResponse.card.network : '-'}

\n
\n
\n
Issuer:
\n

{capturedResponse && capturedResponse.card ? capturedResponse.card.issuer : '-'}

\n
\n
\n
Previous Balance:
\n

{this.state.selectedTransaction.previousBalance ? numberFormat(this.state.selectedTransaction.previousBalance) : null || \"-\"}

\n
\n
\n
Final Balance:
\n

{this.state.selectedTransaction.finalBalance ? numberFormat(this.state.selectedTransaction.finalBalance) : null || \"-\"}

\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n\n Print}\n content={() => this.componentRef}\n onBeforeGetContent={() => {\n document.getElementById('invoice-content').style.display = \"block\"\n document.getElementById('previous-balance').style.display = \"none\"\n document.getElementById('final-balance').style.display = \"none\"\n }}\n onAfterPrint={() => {\n document.getElementById('invoice-content').style.display = \"none\"\n document.getElementById('previous-balance').style.display = \"block\"\n document.getElementById('final-balance').style.display = \"block\"\n document.getElementById('print-button').style.display = \"block\";\n document.getElementById('model-close-button').click()\n }}\n />\n
\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(BillingTransactions);\n","import React, { Component, useEffect } from \"react\";\nimport SideBar from \"../../components/global/Sidebar\";\nimport TopBar from \"../../components/global/Topbar\";\nimport apicaller from \"../../util/ApiCaller\";\nimport { useSelector } from \"react-redux\";\nimport Pagination from \"rc-pagination\";\nimport moment from \"moment\";\n\nconst UtilityTransactions = () => {\n const [transactions, setTransactions] = React.useState([]);\n const [pageNum, setPageNum] = React.useState(1);\n const [pageSize, setPageSize] = React.useState(10);\n const [isLoading, setIsLoading] = React.useState(false);\n const [search, setSearch] = React.useState(\"\");\n const [totalRecords, setTotalRecords] = React.useState(0);\n const [totalPages, setTotalPages] = React.useState(0);\n const user = useSelector((state) => state.user);\n\n useEffect(() => {\n getAllTransactions();\n }, [pageNum]);\n\n const getAllTransactions = async () => {\n setIsLoading(true);\n const reqBody = {\n pageNo: pageNum,\n pageSize: pageSize,\n };\n const res = await apicaller(\n \"GET\",\n `bbps/transactions/${user?._id}`,\n reqBody\n );\n setIsLoading(false);\n if (res.data?.status === \"Success\") {\n setTransactions(res.data?.data?.transactions);\n setTotalRecords(res.data?.data?.totalDocs);\n setTotalPages(res?.data?.data?.totalPages);\n }\n };\n\n return (\n
\n Utility Transactions\n
\n \n \n
\n
\n
\n
\n
\n

Transactions

\n
\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {isLoading ? (\n
\n \n
\n ) : transactions && transactions.length > 0 ? (\n transactions.map((item, index) => (\n \n \n \n \n \n \n \n \n \n \n {item?.bbpsResponse?.status == \"Successful\" ? (\n \n ) : (\n \n )}\n \n ))\n ) : (\n No records available\n )}\n \n
S.NOServiceBill NumberBill AmountPayment DatePeriod / Due DateCustomerTxn RefTxn IDStatus
{index + 1}Mobile Recharge{item?.bbpsResponse?.RespBillNumber}{item?.bbpsResponse?.billAmount}\n {moment(item?.createdAt).format(\"DD-MM-YYYY\")}\n \n {item?.bbpsResponse?.RespBillPeriod} /{\" \"}\n {item?.bbpsResponse?.RespDueDate}\n {item?.bbpsResponse?.RespCustomerName}{item?.bbpsResponse?.txnRefId}{item?.transactionId}\n \n Successful\n \n \n \n Failed\n \n
\n
\n
\n {\n setPageNum(page);\n }}\n currentPage={pageNum}\n total={totalRecords}\n pageSize={pageSize}\n showLessItems\n />\n
\n
\n

\n {10 * parseInt(pageNum - 1)} -{\" \"}\n {10 * parseInt(pageNum) > totalRecords\n ? totalRecords\n : 10 * parseInt(pageNum)}{\" \"}\n of {totalRecords} records\n

\n
\n
\n
\n
\n
\n
\n
\n
\n );\n};\n\nexport default UtilityTransactions;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport { withRouter } from 'react-router';\nimport { compose } from 'redux';\nimport swal from 'sweetalert';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport { getUserData } from '../../modules/reducers';\nimport apicaller from '../../util/ApiCaller';\n\nclass AccountsList extends Component {\n\n constructor(props) {\n super(props);\n this.state = {\n account: {},\n phone: \"\",\n accountsList: [],\n isAddingAccount: false,\n isFetchingAccounts: false,\n AccountsFetched: false,\n selectedAccount: {},\n amount: 0,\n isLoading: false\n };\n }\n\n componentDidMount() {\n this.handleOnSearchAccounts();\n }\n\n handleOnChangeFields = (userField, value) => {\n let account = this.state.account;\n account[userField] = value\n this.setState({\n account\n })\n }\n\n validateAccountDetails(input) {\n let output = {};\n output.message = \"\";\n output.isvalid = true;\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n const rifsc = /^[A-Z]{4}0[A-Z0-9]{6}$/;\n if (!input.name || input.name == \"\") {\n output.isvalid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.contact || input.contact == \"\" || !rp.test(input.contact)) {\n output.isvalid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.email || input.email == \"\" || !re.test(input.email)) {\n output.isvalid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.account_number || input.account_number == \"\") {\n output.isvalid = false;\n output.message = \"Please enter account number\";\n return output;\n }\n if (input.account_number != input.confirm_account_number) {\n output.isvalid = false;\n output.message = \"Confirm account number does not match\";\n return output;\n }\n if (!input.ifsc || input.ifsc == \"\" || !rifsc.test(input.ifsc)) {\n output.isvalid = false;\n output.message = \"Please enter a valid ifsc code\";\n return output;\n }\n return output;\n }\n\n handleOnAddAccount = () => {\n let account = this.state.account;\n let validation = this.validateAccountDetails(account);\n if (validation.isvalid) {\n this.setState({\n isAddingAccount: true\n })\n let data = {};\n data.userId = this.props.user._id;\n data.contact = {};\n data.account = {};\n data.contact.name = account.name;\n data.contact.email = account.email;\n data.contact.contact = account.contact;\n data.account.name = account.name;\n data.account.account_number = account.account_number;\n data.account.ifsc = account.ifsc;\n apicaller('post', 'accounts/add', data)\n .then(res => {\n if (res.status == 200) {\n document.getElementById(\"model-close-button\").click();\n this.handleOnSearchAccounts();\n } else {\n swal(res.data.data.message);\n }\n this.setState({\n isAddingAccount: false\n })\n })\n .catch((err) => {\n this.setState({\n isAddingAccount: false\n })\n swal(err.message);\n })\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n validateBeforeSearch = (input) => {\n let output = {};\n output.message = \"\";\n output.isValid = true;\n const rp = /^[0-9]{10}$/g;\n if (!input.phone || input.phone == \"\" || !rp.test(input.phone)) {\n output.isValid = false;\n output.message = \"Invalid mobile number, update your number in profile section.\";\n return output;\n }\n return output;\n }\n\n handleOnSearchAccounts = () => {\n let data = {};\n data.userId = this.props.user._id;\n this.setState({\n isFetchingAccounts: true,\n })\n apicaller('post', 'accounts/get-by-userId', data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.length > 0) {\n this.setState({\n accountsList: res.data.data,\n isFetchingAccounts: false,\n AccountsFetched: true,\n })\n }\n else {\n swal('No accounts found with the given number')\n this.setState({\n isFetchingAccounts: false,\n accountsList: res.data.data,\n })\n }\n }\n else {\n this.setState({\n isFetchingAccounts: false,\n })\n swal('some internal error')\n }\n })\n .catch(err => {\n this.setState({\n isFetchingAccounts: false,\n })\n swal(err);\n })\n }\n\n handlePayNow = (item) => {\n this.setState({\n selectedAccount: item\n })\n document.getElementById('pay-now-model-button').click();\n }\n\n verifyServiceDetails = (input) => {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n if (!input.receiptName || input.receiptName == \"\") {\n output.isValid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.receiptPhone || input.receiptPhone == \"\" || !rp.test(input.receiptPhone)) {\n output.isValid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.receiptEmail || input.receiptEmail == \"\" || !re.test(input.receiptEmail)) {\n output.isValid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.amount || input.amount == \"\" || input.amount <= 0) {\n output.isValid = false;\n output.message = \"Please enter valid amount\";\n return output;\n }\n return output;\n }\n\n handleOnSubmitPayment = () => {\n this.setState({\n isLoading: true\n })\n let data = {\n \"amount\": this.state.amount,\n \"serviceType\": this.props.location.state.selectedServiceShort,\n \"receiptPhone\": this.state.selectedAccount.phone,\n \"receiptEmail\": this.state.selectedAccount.email,\n \"receiptName\": this.state.selectedAccount.name\n };\n let validation = this.verifyServiceDetails(data);\n if (validation.isValid) {\n apicaller('post', `customerBiilingTransactions/customer/${this.props.user._id}/create_link`, data)\n .then(res => {\n if (res.status == 200) {\n window.open(res.data.data.payment_link.short_url);\n document.getElementById('pay-now-model-close-button').click();\n setTimeout(this.props.history.push(`/customer/dashboard`), 5000);\n }\n else {\n swal(\"some internal issue\")\n }\n this.setState({\n isLoading: false\n })\n })\n .catch(err => {\n this.setState({\n isLoading: false\n })\n swal('Error', err, 'error');\n })\n }\n else {\n this.setState({\n isLoading: false\n })\n swal(validation.message, \"\", \"warning\");\n }\n }\n\n render() {\n return (\n
\n List Accounts\n
\n \n \n
\n
\n
\n
\n
\n

List of accounts

\n \n
\n
\n
\n \n \n \n \n {/* */}\n \n \n \n \n \n \n \n {this.state.accountsList ? this.state.accountsList.map(item => (\n \n \n \n \n \n \n \n )) : null}\n \n
NameEmailPhoneAccount NumberstatusActions
{item.name}{item.phone}{item.bankAccount.account_number}{item.accountStatus ? Active : Inaction}\n
\n {this.props.location && this.props.location.state && this.props.location.state.selectedServiceShort ?\n \n : null}\n
\n Delete\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n {/* add-account-model */}\n
\n
\n
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"name\", e.target.value)} value={this.state.account.name ? this.state.account.name : null} placeholder=\"Enter Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"contact\", e.target.value)} value={this.state.account.contact ? this.state.account.contact : null} placeholder=\"Enter Phone Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"email\", e.target.value)} value={this.state.account.email ? this.state.account.email : null} placeholder=\"Enter Email\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_number\", e.target.value)} placeholder=\"Enter Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"confirm_account_number\", e.target.value)} placeholder=\"Confirm Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"ifsc\", e.target.value)} placeholder=\"Enter IFSC Code\" required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n\n \n {/* */}\n
\n
\n
\n
\n
{ e.preventDefault(); this.handleOnSubmitPayment() }}>\n

{this.props.location && this.props.location.state && this.props.location.state.selectedService ? this.props.location.state.selectedService : null}

\n
\n
\n
\n \n { this.setState({ amount: e.target.value }) }} placeholder=\"Enter Amount to be collected\" required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n
\n )\n }\n}\n\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(AccountsList);","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\n\nclass UserProfile extends Component {\n render() {\n return (\n
\n User Profile\n
\n \n \n
\n
\n

Profile Page

\n
\n
\n
\n
\n )\n }\n}\n\nexport default UserProfile;","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport apicaller from '../../util/ApiCaller';\nimport { getUserData } from '../../modules/reducers';\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport { connect } from \"react-redux\";\n\nclass UserSupport extends Component {\n constructor() {\n super();\n this.state = {\n issue: \"\",\n loading: false\n }\n }\n\n handleOnChangeFields = (userField, value) => {\n this.setState({\n [userField]: value\n })\n }\n\n handleOnSendIssue = () => {\n let data = {};\n data.issue = this.state.issue;\n this.setState({\n loading: true\n })\n apicaller('post', `user/${this.props.user._id}/raise/ticket`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.raised_ticket) {\n alert('Ticket raised successfully, we will contact you soon');\n document.getElementById('issue').value = \"\";\n }\n else {\n alert('some internal issue');\n }\n }\n })\n .catch(err => {\n alert(err);\n })\n this.setState({\n loading: false\n })\n }\n render() {\n return (\n
\n Support\n
\n \n \n
\n
\n
\n
\n
\n
\n

Raise an Issue

\n
\n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Contact Info
\n
\n
\n
\n
\n
Contact Number
\n 9390005464\n
\n
\n
Email Address
\n svscommunication@gmail.com\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(UserSupport);","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport WalletCard from '../../components/merchant/wallets/WalletCard';\nimport apicaller from '../../util/ApiCaller';\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport { getUserData } from '../../modules/reducers';\nimport { fetchUser } from '../../modules/actions';\nimport { numberFormat } from '../../App';\nimport ReactToPrint from \"react-to-print\";\nimport moment from 'moment';\nimport swal from 'sweetalert';\nimport Select from 'react-select';\nimport makeAnimated from 'react-select/animated';\nimport Pagination from 'rc-pagination';\nimport '../../assets/index.css';\nimport _ from 'lodash';\nimport downloadApi from '../../util/FileDownloadApiCaller';\n\nconst animatedComponents = makeAnimated();\n\ndocument.addEventListener(\"wheel\", function (event) {\n if (document.activeElement.type === \"number\") {\n document.activeElement.blur();\n }\n});\n\nclass WalletTransactions extends Component {\n\n constructor() {\n super();\n this.state = {\n user: {},\n requested_amount: \"\",\n wallets: [],\n selectedTransaction: {},\n isFilterEnabled: false,\n startDate: moment().startOf('day'),\n endDate: moment().endOf('day'),\n transactionId: '',\n amount: 0,\n query: {},\n currentPage: 1,\n totalDocuments: 0,\n isApplyingFilters: false,\n isDownloadingWalletTransactions: false,\n mode: [\n {\n value: 'credit',\n label: 'Credit'\n },\n {\n value: 'debit',\n label: 'Debit'\n },\n ],\n status: [\n {\n value: 'paid',\n label: 'Paid'\n },\n {\n value: 'failed',\n label: 'Failed'\n },\n ],\n }\n }\n\n componentDidMount() {\n this.props.fetchUser(this.props.user._id);\n this.fetchWallets();\n }\n\n getQuery = () => {\n let query = this.state.query;\n if (this.state.transactionId != '') {\n query.transactionId = this.state.transactionId;\n }\n if (this.state.amount != 0) {\n query.amount = this.state.amount;\n }\n return query;\n }\n\n fetchWallets = () => {\n let query = this.getQuery();\n console.log(query);\n let data = {\n query,\n pageSize: 10,\n pageNum: this.state.currentPage,\n startDate: this.state.startDate,\n endDate: this.state.endDate\n }\n apicaller('post', `merchant/${this.props.user._id}/get-wallet-transactions`, data)\n .then(res => {\n if (res.status == 200) {\n let wallets = res.data.data.wallets;\n wallets.map(item => {\n try {\n item.razorpaySuccessResposne[0] = JSON.parse(item.razorpaySuccessResposne[0]);\n } catch (error) {\n }\n finally {\n return item;\n }\n })\n this.setState({\n wallets: wallets,\n totalDocuments: res.data.data.count\n })\n }\n else {\n swal('some internal issue', '', 'error');\n }\n this.setState({\n isApplyingFilters: false\n })\n })\n .catch(err => {\n swal('Error', err, 'error');\n this.setState({\n isApplyingFilters: false\n })\n })\n }\n\n handleOnDownloadReport = () => {\n this.setState({\n isDownloadingWalletTransactions: true\n })\n let query = this.getQuery();\n downloadApi(`WalletTransactions-${moment().format('DD-MM-YYYY-HH:mm')}.csv`, `merchant/${this.props.user._id}/get-wallet-transactions-dump`, 'post', {\n query,\n pageSize: 10,\n pageNum: this.state.currentPage,\n startDate: this.state.startDate,\n endDate: this.state.endDate\n })\n .then(\n (blob) => {\n swal('Success', 'Wallet Transactions downloaded successfully.', 'success')\n this.setState({\n isDownloadingWalletTransactions: false\n })\n }\n )\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isDownloadingWalletTransactions: false\n })\n })\n }\n\n handleTransferToWallet = () => {\n document.getElementById('model-button').click();\n }\n\n handleOnSetRequestedAmount = (Field, value) => {\n this.setState({\n [Field]: value\n })\n }\n\n handleOnSubmitTransfer = () => {\n if (this.state.requested_amount) {\n if (parseInt(this.state.requested_amount) > 0 && parseInt(this.state.requested_amount) < this.props.user.pg_balance) {\n let data = {};\n data.requested_amount = this.state.requested_amount;\n apicaller('post', `pgTransactions/merchant/${this.props.user._id}/pg-to-wallet`, data)\n .then(res => {\n if (res.status == 200) {\n swal('transfered', '', 'success');\n document.getElementById('model-close-button').click();\n this.fetchWallets();\n this.props.fetchUser(this.props.user._id);\n }\n else {\n swal('some internal issue', '', 'error')\n }\n })\n .catch(err => {\n swal('Error', err, 'error');\n })\n }\n else {\n swal('Amount should be less than PG wallet balance', '', 'warning')\n }\n }\n else {\n swal('Amount to be Transfered field is required', '', 'warning')\n }\n }\n\n handleTransferViaDmr = () => {\n if (this.props.user.isActive) {\n this.props.history.push('/dmr/transfer');\n }\n else {\n swal(\"Alert\", \"this service is unavailable\", \"error\")\n }\n }\n\n handleOnPrint = () => {\n document.getElementById('print-button').style.display = \"none\";\n document.getElementById('print-trigger').click();\n }\n\n handleOnSelectFilter = () => {\n this.setState({\n isFilterEnabled: !this.state.isFilterEnabled,\n query: {},\n startDate: moment().startOf('day'),\n endDate: moment().endOf('day'),\n transactionId: '',\n amount: 0,\n }, () => this.fetchWallets())\n }\n\n handleOnSelectFilterDetails = (attribute, value) => {\n let query = this.state.query;\n if (value && value.length > 0 || !_.isEmpty(value)) {\n if (attribute === \"status\") {\n if (value.value === \"paid\") {\n query.isSuccess = true;\n query.isFailed = false;\n }\n else if (value.value === \"failed\") {\n query.isFailed = true;\n query.isSuccess = false;\n }\n }\n else {\n query[attribute] = { $in: value.map(item => item.value) };\n }\n }\n else {\n delete query[attribute];\n }\n this.setState({ query });\n }\n\n handleOnChangeFilterDetails = (attribute, value) => {\n if (value == \"\" || _.isEmpty(value)) {\n let query = this.state.query;\n delete query[attribute];\n this.setState({\n query\n });\n }\n this.setState({\n [attribute]: value\n })\n }\n\n handleOnApplyFilter = () => {\n this.setState({\n isApplyingFilters: true\n })\n this.fetchWallets();\n }\n\n onChangePage = page => {\n this.setState({\n currentPage: page,\n }, () => this.fetchWallets());\n };\n\n render() {\n return (\n
\n Wallet Transactions\n
\n \n \n
\n
\n
\n {/* */}\n \n
\n
\n \n {this.state.isFilterEnabled ?\n
\n
\n

Filters

\n
\n
\n

Filter by Category Details

\n
\n
\n \n this.handleOnSelectFilterDetails(\"transactionType\", value)}\n />\n
\n
\n \n this.handleOnSelectFilterDetails(\"status\", value)}\n />\n
\n
\n

Search by Merchant Details

\n
\n
\n \n this.handleOnChangeFilterDetails('transactionId', e.target.value)} />\n
\n
\n \n this.handleOnChangeFilterDetails('amount', e.target.value)} />\n Please enter amount without any special characters (eg: 25000)\n
\n
\n

Filter by Date

\n
\n
\n \n this.handleOnChangeFilterDetails('startDate', moment(e.target.value).startOf('day'))} />\n
\n
\n \n this.handleOnChangeFilterDetails('endDate', moment(e.target.value).endOf('day'))} />\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n : null}\n
\n
\n

Transactions

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.wallets ? this.state.wallets.map((item, index) => (\n \n \n \n \n \n \n \n \n \n \n \n )) : No records available in table}\n \n
S.NoActions Transaction IDUTR No.NameAmountTransaction timeType Status
{index + 1}\n \n {item.transactionId}{item.utr && item.utr != \"\" ? item.utr : item.razorpaySuccessResposne[0] && item.razorpaySuccessResposne[0].payload && item.razorpaySuccessResposne[0].payload.payout && item.razorpaySuccessResposne[0].payload.payout.entity && item.razorpaySuccessResposne[0].payload.payout.entity.utr ? item.razorpaySuccessResposne[0].payload.payout.entity.utr : '-'}{item.senderName ? item.senderName : '-'}{numberFormat(item.amount)}{moment(item.createdAt).format(\"DD-MM-YYYY HH:mm:ss\")}{item.transactionType}\n {\n item.status && item.status != \"\"\n ?\n item.status\n :\n item.razorpayStatus ?\n item.razorpayStatus == \"processing\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"reversed\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"processed\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"refund\" ?\n {item.razorpayStatus}\n : {item.razorpayStatus}\n :\n item.isSuccess ?\n Success\n :\n failed\n }\n
\n
\n
\n \n
\n
\n

{10 * parseInt(this.state.currentPage - 1)} - {10 * parseInt(this.state.currentPage) > this.state.totalDocuments ? this.state.totalDocuments : 10 * parseInt(this.state.currentPage)} of {this.state.totalDocuments} records

\n
\n
\n
\n
\n
\n
\n
\n\n \n\n
\n
\n
\n
\n
\n
\n
\n \n this.handleOnSetRequestedAmount(\"requested_amount\", e.target.value)} placeholder=\"Enter Amount to be transfered\" required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n {/* Modal */}\n
(this.componentRef = el)} className=\"modal fade\" id=\"viewMoreModal\">\n
\n
\n
\n
\n

EKRUPAY

\n
\n

Billed By - {this.props.user.first_name || \"\"} {this.props.user.last_name || \"\"}

\n

DATE - {moment().format('DD-MM-YYYY HH:mm:ss')}

\n
\n
\n
\n

Transaction Details

\n {\n this.state.selectedTransaction.status && this.state.selectedTransaction.status != \"\" ?\n this.state.selectedTransaction.status :\n this.state.selectedTransaction.razorpayStatus ?\n this.state.selectedTransaction.razorpayStatus == \"processing\" ?\n {this.state.selectedTransaction.razorpayStatus}\n :\n this.state.selectedTransaction.razorpayStatus == \"reversed\" ?\n {this.state.selectedTransaction.razorpayStatus}\n :\n this.state.selectedTransaction.razorpayStatus == \"processed\" ?\n {this.state.selectedTransaction.razorpayStatus}\n :\n this.state.selectedTransaction.razorpayStatus == \"refund\" ?\n {this.state.selectedTransaction.razorpayStatus}\n : {this.state.selectedTransaction.razorpayStatus}\n :\n this.state.selectedTransaction.isSuccess ?\n Success\n :\n failed\n }\n
\n
Transaction Time: {moment(this.state.selectedTransaction.createdAt).format('DD-MM-YYYY HH:mm:ss')}


\n
\n
\n
Transaction ID:
\n

{this.state.selectedTransaction.transactionId || \"-\"}

\n
\n
\n
Payout ID:
\n

{this.state.selectedTransaction.razorpayPayoutId || this.state.selectedTransaction.easyBuzzPayoutId || \"-\"}

\n
\n
\n
UTR No.:
\n

{this.state.selectedTransaction && this.state.selectedTransaction.utr && this.state.selectedTransaction.utr != \"\" ? this.state.selectedTransaction.utr : this.state.selectedTransaction.razorpaySuccessResposne && this.state.selectedTransaction.razorpaySuccessResposne[0] && this.state.selectedTransaction.razorpaySuccessResposne[0].payload && this.state.selectedTransaction.razorpaySuccessResposne[0].payload.payout && this.state.selectedTransaction.razorpaySuccessResposne[0].payload.payout.entity && this.state.selectedTransaction.razorpaySuccessResposne[0].payload.payout.entity.utr ? this.state.selectedTransaction.razorpaySuccessResposne[0].payload.payout.entity.utr : '-'}

\n
\n
\n
Account No.:
\n

{this.state.selectedTransaction && this.state.selectedTransaction.accountId && this.state.selectedTransaction.accountId.bankAccount && this.state.selectedTransaction.accountId.bankAccount.account_number ? this.state.selectedTransaction.accountId.bankAccount.account_number : '-'}

\n
\n
\n
IFSC Code.:
\n

{this.state.selectedTransaction && this.state.selectedTransaction.accountId && this.state.selectedTransaction.accountId.bankAccount && this.state.selectedTransaction.accountId.bankAccount.ifsc ? this.state.selectedTransaction.accountId.bankAccount.ifsc : '-'}

\n
\n
\n
Sender Name:
\n

{this.state.selectedTransaction.senderName || \"-\"}

\n
\n
\n
Sender Phone Number:
\n

{this.state.selectedTransaction.senderPhone || \"-\"}

\n
\n {this.state.selectedTransaction.isFailed ?\n
\n
Failed Reason:
\n

{this.state.selectedTransaction.failedReason || \"-\"}

\n
\n : null}\n
\n
Service Type:
\n

{this.state.selectedTransaction.serviceType || \"-\"}

\n
\n
\n
Amount:
\n

{this.state.selectedTransaction.amount ? numberFormat(this.state.selectedTransaction.amount) : null || \"-\"}

\n
\n
\n
Transaction Type:
\n

{this.state.selectedTransaction.transactionType || \"-\"}

\n
\n {/*
\n
Previous Balance:
\n

{this.state.selectedTransaction.previousBalance ? numberFormat(this.state.selectedTransaction.previousBalance) : null || \"-\"}

\n
\n
\n
Final Balance:
\n

{this.state.selectedTransaction.finalBalance ? numberFormat(this.state.selectedTransaction.finalBalance) : null || \"-\"}

\n
*/}\n
\n
\n \n \n
\n
\n
\n
\n
\n Print}\n content={() => this.componentRef}\n onBeforeGetContent={() => { document.getElementById('invoice-content').style.display = \"block\" }}\n onAfterPrint={() => {\n document.getElementById('invoice-content').style.display = \"none\"\n document.getElementById('print-button').style.display = \"block\";\n document.getElementById('view-more-model-close-button').click()\n }}\n />\n
\n )\n }\n}\n\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n fetchUser: (userId) => dispatch(fetchUser(userId)),\n\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(WalletTransactions);\n","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\n\nclass DmrTransactions extends Component {\n render() {\n return (\n
\n DMR Transactions\n
\n \n \n
\n
\n
\n
\n
\n

Transactions

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Roll NoStudent NameInvoice numberFees Type Payment Type Status DateAmount
01Tiger Nixon#54605LibraryCashPaid2011/04/25120$
\n
\n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default DmrTransactions;","import swal from \"sweetalert\";\nimport apicaller from \"../../../util/ApiCaller\";\n\nconst fetchWallets = async (data, userId) => {\n let response = await apicaller('post', `merchant/${userId}/get-wallet-transactions`, data)\n .then(res => {\n if (res.status == 200) {\n let wallets = res.data.data.wallets;\n wallets.map(item => {\n try {\n item.razorpaySuccessResposne[0] = JSON.parse(item.razorpaySuccessResposne[0]);\n } catch (error) {\n }\n finally {\n return item;\n }\n })\n return wallets\n }\n else {\n swal('some internal issue', '', 'error');\n }\n })\n .catch(err => {\n swal('Error', err, 'error');\n })\n return response;\n}\n\nexport {\n fetchWallets,\n}","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport apicaller from '../../util/ApiCaller';\nimport { connect } from \"react-redux\";\nimport { getUserData } from '../../modules/reducers';\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport swal from 'sweetalert';\nimport _ from 'lodash';\nimport { fetchWallets } from './helpers/DmrHelper';\nimport moment from 'moment';\n\nclass DmrTransfer extends Component {\n constructor(props) {\n super(props);\n this.state = {\n display: true,\n account: {},\n phone: \"\",\n accountsList: [],\n accountsListCopy: [],\n paymentDetails: {\n mode: \"IMPS\"\n },\n isProcessingTransfer: false,\n isAddingAccount: false,\n isFetchingAccounts: false,\n AccountsFetched: false,\n noAccountsAvailable: false,\n dmrDetails: {\n name: '',\n phone: '',\n email: '',\n },\n selectedAccount: {},\n startDate: moment().startOf('day'),\n endDate: moment().endOf('day'),\n latestDmrTransaction: {}\n };\n }\n\n componentDidMount() {\n (async () => {\n let latestTransaction = await fetchWallets({\n query: {},\n pageSize: 1,\n pageNum: 1,\n startDate: this.state?.startDate,\n endDate: this.state?.endDate\n }, this.props.user._id);\n this.setState({\n latestDmrTransaction: latestTransaction[0]\n });\n })()\n }\n\n handleOnChangePhone = (value) => {\n let finalPhone = value?.replace(/ /g, '');\n this.setState({\n phone: finalPhone\n })\n }\n\n validateBeforeSearch = (input) => {\n let output = {};\n output.message = \"\";\n output.isValid = true;\n const rp = /^[0-9]{10}$/g;\n if (!input.phone || input.phone == \"\" || !rp.test(input.phone)) {\n output.isValid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n return output;\n }\n\n handleOnSearchAccounts = () => {\n let data = {};\n data.phone = this.state.phone;\n let validation = this.validateBeforeSearch(data);\n if (validation.isValid) {\n this.setState({\n isFetchingAccounts: true,\n })\n apicaller('post', 'accounts/get-by-phone', data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.length > 0) {\n this.setState({\n accountsList: res.data.data,\n accountsListCopy: res.data.data,\n isFetchingAccounts: false,\n noAccountsAvailable: false,\n AccountsFetched: true,\n dmrDetails: {\n name: res.data.data[0].name,\n phone: res.data.data[0].phone,\n email: res.data.data[0].email,\n },\n account: {\n contact: res.data.data[0].phone,\n email: res.data.data[0].email,\n }\n })\n }\n else {\n swal('No accounts found with the given number');\n document.getElementById('addAccountForm').reset();\n this.setState({\n isFetchingAccounts: false,\n noAccountsAvailable: true,\n AccountsFetched: false,\n accountsList: res.data.data,\n account: {\n contact: this.state.phone\n }\n })\n }\n }\n else {\n this.setState({\n isFetchingAccounts: false,\n })\n swal('some internal error')\n }\n })\n .catch(err => {\n this.setState({\n isFetchingAccounts: false,\n })\n swal(err);\n })\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n handleOnChangeFields = (userField, value) => {\n if (userField == \"ifsc\") {\n value = value.toUpperCase();\n }\n let account = this.state.account;\n account[userField] = value\n this.setState({\n account\n })\n }\n\n handleOnChangePaymentFields = (userField, value) => {\n let paymentDetails = this.state.paymentDetails;\n paymentDetails[userField] = value\n this.setState({\n paymentDetails\n })\n }\n\n validateAccountDetails(input) {\n let output = {};\n output.message = \"\";\n output.isvalid = true;\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n const rifsc = /^[A-Z]{4}0[A-Z0-9]{6}$/;\n if (!input.name || input.name == \"\") {\n output.isvalid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.contact || input.contact == \"\" || !rp.test(input.contact)) {\n output.isvalid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.email || input.email == \"\" || !re.test(input.email)) {\n output.isvalid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.account_number || input.account_number == \"\") {\n output.isvalid = false;\n output.message = \"Please enter account number\";\n return output;\n }\n if (input.account_number != input.confirm_account_number) {\n output.isvalid = false;\n output.message = \"Confirm account number does not match\";\n return output;\n }\n if (!input.ifsc || input.ifsc == \"\" || !rifsc.test(input.ifsc)) {\n output.isvalid = false;\n output.message = \"Please enter a valid ifsc code\";\n return output;\n }\n return output;\n };\n\n validateProfileDetails(input) {\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n let output = {};\n output.message = \"\";\n output.isvalid = true;\n if (!input.name || input.name == \"\") {\n output.isvalid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.contact || input.contact == \"\" || !rp.test(input.contact)) {\n output.isvalid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.email || input.email == \"\" || !re.test(input.email)) {\n output.isvalid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n return output;\n }\n\n handleOnAddAccount = () => {\n let account = this.state.account;\n let validation = this.validateAccountDetails(account);\n if (validation.isvalid) {\n this.setState({\n isAddingAccount: true\n })\n let data = {};\n data.userId = this.props.user._id;\n data.contact = {};\n data.account = {};\n data.contact.name = account.name;\n data.contact.email = account.email;\n data.contact.contact = account.contact;\n data.account.name = account.name;\n data.account.account_number = account.account_number;\n data.account.ifsc = account.ifsc;\n apicaller('post', 'accounts/add', data)\n .then(res => {\n if (res.status == 200) {\n document.getElementById(\"model-close-button\").click();\n this.handleOnSearchAccounts();\n } else {\n }\n this.setState({\n isAddingAccount: false\n })\n })\n .catch((err) => {\n this.setState({\n isAddingAccount: false\n })\n swal(err.response.data.data.message);\n })\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n createProfile = () => {\n let account = this.state.account;\n let validation = this.validateProfileDetails(account);\n if (validation.isvalid) {\n this.setState({\n isAddingAccount: true\n })\n let data = {};\n data.userId = this.props.user._id;\n data.contact = {};\n data.accounts = {};\n data.accounts.name = account.name;\n data.accounts.email = account.email;\n data.accounts.phone = account.contact;\n data.accounts.createdBy = this.props.user._id;\n apicaller('post', 'accountss/new', data)\n .then(res => {\n if (res.status == 200) {\n document.getElementById(\"create-profile-modal-close-button\").click();\n this.handleOnSearchAccounts();\n } else {\n }\n this.setState({\n isAddingAccount: false\n })\n })\n .catch((err) => {\n this.setState({\n isAddingAccount: false\n })\n swal(err.response.data.data.message);\n })\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n handlePayNow = (accountId, name, phone, selectedAccount) => {\n this.handleOnChangePaymentFields(\"accountId\", accountId);\n this.handleOnChangePaymentFields(\"senderName\", name);\n this.handleOnChangePaymentFields(\"senderPhone\", phone);\n this.setState({\n selectedAccount\n })\n document.getElementById(\"model-open-button\").click();\n }\n\n validateDmrTransfer = (input) => {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rp = /^[0-9]{10}$/g;\n if (!input.senderName || input.senderName == \"\") {\n output.isValid = false;\n output.message = \"Please enter sender name\";\n return output;\n }\n if (!input.senderPhone || input.senderPhone == \"\" || !rp.test(input.senderPhone)) {\n output.isValid = false;\n output.message = \"Please enter a valid sender phone number\";\n return output;\n }\n if (!input.amount || input.amount == \"\") {\n output.isValid = false;\n output.message = \"Please enter amount\";\n return output;\n }\n if (input.amount > this.props.user.wallet_balance) {\n output.isValid = false;\n output.message = \"Insufficient balance in wallet\";\n return output;\n }\n if (!input.mode || input.mode == \"\") {\n output.isValid = false;\n output.message = \"Please enter mode\";\n return output;\n }\n return output;\n\n }\n\n completePayNow = (data) => {\n apicaller('post', 'dmr/initiate-payment', data)\n .then(res => {\n if (res.status == 200) {\n swal('Processed', 'Your DMR Transaction was processed.', 'success');\n setTimeout(() => {\n this.props.history.push('/wallet/transactions');\n }, 1500);\n }\n else {\n swal('some internal issue');\n }\n this.setState({\n isProcessingTransfer: false\n })\n })\n .catch(err => {\n this.setState({\n isProcessingTransfer: false\n })\n swal('some internal issue');\n })\n }\n\n handleOnSubmitPayNow = () => {\n let data = this.state.paymentDetails;\n data.userId = this.props.user._id;\n let validation = this.validateDmrTransfer(data);\n if (validation.isValid) {\n this.setState({\n isProcessingTransfer: true\n })\n if (moment().diff(moment(this.state?.latestDmrTransaction?.createdAt), 'minutes') < 2 && this.state?.latestDmrTransaction?.amount == data?.amount) {\n swal('You have recently done a transaction with same amount. Are you sure you want to proceed?', {\n buttons: {\n cancel: 'Cancel',\n confirm: \"Confirm\"\n }\n })\n .then(value => {\n if (value && value != null) {\n this.completePayNow(data);\n }\n else {\n swal('Alert', 'Transaction Cancelled.', 'error');\n }\n })\n }\n else {\n this.completePayNow(data);\n }\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n handleOnDeleteAccount = (accountId) => {\n swal({\n title: \"Are you sure?\",\n text: \"Are you sure that you want to delete this account?\",\n icon: \"warning\",\n dangerMode: true,\n })\n .then(willDelete => {\n if (willDelete) {\n apicaller('post', `merchant/account/${accountId}/delete`, {})\n .then(res => {\n if (res.status == 200) {\n swal(\"Deleted!\", \"Account has been deleted!\", \"success\");\n this.handleOnSearchAccounts();\n }\n })\n }\n });\n }\n\n render() {\n return (\n
\n DMR Transfer\n
\n \n \n
\n
\n
\n
\n {\n if (e?.keyCode == 13) {\n console.log(\"Enter key is pressed\");\n this.handleOnSearchAccounts();\n return true;\n } else {\n return false;\n }\n }} onChange={(e) => this.handleOnChangePhone(e.target.value)} placeholder=\"Mobile Number\" value={this.state?.phone} />\n
\n \n
\n
\n
\n {this.state.AccountsFetched && this.state.accountsList.length > 0 ?\n
\n
\n
\n
DMR Details
\n
\n
\n

Name: {this.state.dmrDetails.name || \"\"}

\n

Phone: {this.state.dmrDetails.phone || \"\"}

\n

Email: {this.state.dmrDetails.email || \"\"}

\n
\n
\n
\n : null}\n
\n
\n
\n

Available Accounts {this.state?.accountsList?.length > 0 ? `(${this.state?.accountsList?.length})` : ''}

\n {this.state.phone.length >= 10 && this.state.AccountsFetched ?\n \n : this.state.phone.length >= 10 && this.state.noAccountsAvailable ?\n \n : null}\n
\n
\n {this.state.accountsListCopy && this.state.accountsListCopy.length > 0 ?\n
\n
Search:
  \n {\n let tempAccountsListCopy = [...this.state.accountsListCopy];\n let searchText = `${e.target.value}`;\n if (searchText != ``) {\n tempAccountsListCopy = tempAccountsListCopy.filter(item => (item?.bankAccount?.account_number.toString().indexOf(searchText) >= 0 || _.kebabCase(item?.name).includes(_.kebabCase(searchText))));\n }\n this.setState({\n accountsList: tempAccountsListCopy\n })\n }} />\n
\n : null\n }\n
\n \n \n \n \n {/* */}\n \n \n \n \n \n \n \n \n {this.state.accountsList ? this.state.accountsList.map(item => (\n item.bankAccount ?\n (\n \n \n {/* */}\n \n \n \n \n \n \n ) : null\n )) : null}\n \n
NameEmailPhoneAccount NumberIFSC CodestatusActions
{item.name}{item.email}{item.phone}{item.bankAccount.account_number}{item.bankAccount.ifsc}{item.accountStatus ? Active : Inaction}\n \n {/* */}\n
\n
\n
\n
\n
\n
\n
\n
\n \n {/* add-account-model */}\n
\n
\n
\n
\n
e.preventDefault()} id=\"addAccountForm\">\n
\n
\n
\n \n this.handleOnChangeFields(\"name\", e.target.value)} placeholder=\"Enter Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"contact\", e.target.value)} value={this.state.account.contact ? this.state.account.contact : null} placeholder=\"Enter Phone Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"email\", e.target.value)} value={this.state.account.email ? this.state.account.email : null} placeholder=\"Enter Email\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_number\", e.target.value)} placeholder=\"Enter Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"confirm_account_number\", e.target.value)} placeholder=\"Confirm Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"ifsc\", e.target.value)} placeholder=\"Enter IFSC Code\" required />\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n {/* create-profile-modal */}\n
\n
\n
\n
\n
e.preventDefault()} id=\"CreateProfileForm\">\n
\n
\n
\n \n this.handleOnChangeFields(\"name\", e.target.value)} placeholder=\"Enter Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"email\", e.target.value)} value={this.state.account.email ? this.state.account.email : null} placeholder=\"Enter Email\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"contact\", e.target.value)} value={this.state.account.contact ? this.state.account.contact : null} placeholder=\"Enter Phone Number\" required />\n
\n
\n {/*
\n
\n \n this.handleOnChangeFields(\"account_number\", e.target.value)} placeholder=\"Enter Account Number\" required />\n
\n
*/}\n {/*
\n
\n \n this.handleOnChangeFields(\"confirm_account_number\", e.target.value)} placeholder=\"Confirm Account Number\" required />\n
\n
*/}\n {/*
\n
\n \n this.handleOnChangeFields(\"ifsc\", e.target.value)} placeholder=\"Enter IFSC Code\" required />\n
\n
*/}\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n {/* pay-now-modal */}\n
\n
\n
\n
\n
{\n e.preventDefault(); swal('Are you sure you want to proceed?', {\n buttons: {\n cancel: 'Cancel',\n confirm: \"Confirm\"\n }\n })\n .then(value => {\n if (value && value != null) {\n this.handleOnSubmitPayNow()\n }\n else {\n swal('Alert', 'Transaction Cancelled.', 'error');\n }\n })\n }}>\n
\n
\n
\n
\n
\n
\n \n this.handleOnChangePaymentFields(\"senderName\", e.target.value)} value={this.state.paymentDetails && this.state.paymentDetails.senderName ? this.state.paymentDetails.senderName : ''} placeholder=\"Enter Sender Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangePaymentFields(\"senderPhone\", e.target.value)} value={this.state.paymentDetails && this.state.paymentDetails.senderPhone ? this.state.paymentDetails.senderPhone : ''} placeholder=\"Enter Sender Phone Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangePaymentFields(\"amount\", e.target.value)} placeholder=\"Enter Amount\" required />\n
\n
\n {/*
\n
\n
\n this.handleOnChangePaymentFields(\"gateway\", \"razorpay\")} />  \n \n
\n this.handleOnChangePaymentFields(\"gateway\", \"easebuzz\")} />  \n \n
\n
*/}\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n
\n )\n }\n}\n\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(DmrTransfer);","import React, { Component } from 'react';\n\nclass DataCard extends Component {\n render() {\n let cardColor = `card bg-${this.props.cardColor}`;\n let icon = `zmdi ${this.props.icon} ${this.props.iconSize}`;\n let iconColor = this.props.iconColor;\n return (\n
\n
\n
\n
\n \n \n \n
\n

{this.props.cardText}

\n {this.props.cardValue}\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default DataCard;","import React, { Component } from 'react';\n\nclass ServiceCard extends Component {\n render() {\n let icon = `zmdi ${this.props.icon} ${this.props.iconSize}`;\n let iconColor = this.props.iconColor;\n return (\n \n )\n }\n}\n\nexport default ServiceCard;","import moment from 'moment'\nimport React, { useEffect, useState } from 'react'\nimport { numberFormat } from '../../../App'\nimport swal from 'sweetalert';\nimport apicaller from '../../../util/ApiCaller';\n\nexport default function BillingTransactionTable(props) {\n\n const [transactions, setTransactions] = useState([]);\n const [startDate, setStartDate] = useState(moment().startOf('day'));\n const [endDate, setEndDate] = useState(moment().endOf('day'));\n\n\n useEffect(() => {\n fetchTransactions();\n }, [])\n\n const fetchTransactions = () => {\n let data = {\n query: {},\n pageSize: 5,\n pageNum: 1,\n startDate: startDate,\n endDate: endDate\n }\n apicaller('post', `merchant/${props?.userId}/get-billing-transactions`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.transactions) {\n setTransactions(res.data.data.transactions)\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n }\n else {\n swal('Error', \"some internal issue\", 'error');\n }\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n })\n }\n\n\n return (\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n \n {(transactions && transactions.length > 0) ? transactions.map((item, index) => (\n \n \n \n \n \n \n {item.isPaid ?\n \n : item.isPaymentStepDone ?\n \n :\n \n }\n \n \n {/* */}\n \n \n )) : No records available}\n \n
S.NOTransaction IdPG Transaction IdOrder IdAmount StatusCreated DateService Type Payment Method Type
{index + 1}{item.transactionId ? item.transactionId : '-'}{item.razorpayPaymentId ? item.razorpayPaymentId : '-'}{item.razorpayOrderId ? item.razorpayOrderId : '-'}{item.amount ? numberFormat(item.amount) : '-'}PaidFailedUnpaid{item.createdAt ? moment(item.createdAt).format('DD-MM-YYYY hh:mm:ss') : '-'}{item.serviceType == \"RP\" ? \"Rental Payment\" : item.serviceType == \"IP\" ? \"institutional Payment\" : item.serviceType == \"GP\" ? \"Grocery Payment\" : item.serviceType == \"PW\" ? \"Wallet Transfer\" : null}{item.paymentMethod ? item.paymentMethod : '-'}{item.transactionType}
\n
\n
\n )\n}\n","import React, { useEffect, useState } from 'react'\nimport swal from 'sweetalert';\nimport apicaller from '../../../util/ApiCaller';\nimport { numberFormat } from '../../../App';\nimport moment from 'moment';\nimport { fetchWallets } from '../helpers/DmrHelper';\n\nexport default function DMRTransactionsTable(props) {\n const [startDate, setStartDate] = useState(moment().startOf('day'));\n const [endDate, setEndDate] = useState(moment().endOf('day'));\n const [wallets, setWallets] = useState([]);\n\n\n useEffect(() => {\n (async () => {\n let response = await fetchWallets(\n {\n query: {},\n pageSize: 5,\n pageNum: 1,\n startDate: startDate,\n endDate: endDate\n }, props.userId\n );\n setWallets(response);\n })()\n }, [])\n\n\n return (\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {wallets ? wallets.map((item, index) => (\n \n \n \n \n \n \n \n \n \n \n )) : No records available in table}\n \n
S.NoTransaction IDUTR No.NameAmountTransaction timeType Status
{index + 1}{item.transactionId}{item.utr && item.utr != \"\" ? item.utr : item.razorpaySuccessResposne[0] && item.razorpaySuccessResposne[0].payload && item.razorpaySuccessResposne[0].payload.payout && item.razorpaySuccessResposne[0].payload.payout.entity && item.razorpaySuccessResposne[0].payload.payout.entity.utr ? item.razorpaySuccessResposne[0].payload.payout.entity.utr : '-'}{item.senderName ? item.senderName : '-'}{numberFormat(item.amount)}{moment(item.createdAt).format(\"DD-MM-YYYY HH:mm:ss\")}{item.transactionType}\n {\n item.status && item.status != \"\"\n ?\n item.status\n :\n item.razorpayStatus ?\n item.razorpayStatus == \"processing\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"reversed\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"processed\" ?\n {item.razorpayStatus}\n :\n item.razorpayStatus == \"refund\" ?\n {item.razorpayStatus}\n : {item.razorpayStatus}\n :\n item.isSuccess ?\n Success\n :\n failed\n }\n
\n
\n
\n )\n}\n","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport DataCard from '../../components/merchant/dashboard/DataCard';\nimport ServiceCard from '../../components/merchant/dashboard/ServiceCard';\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport apicaller from '../../util/ApiCaller';\nimport { getUserData } from '../../modules/reducers';\nimport { numberFormat } from '../../App';\nimport swal from 'sweetalert';\nimport BillingTransactionTable from './components/BillingTransactionTable';\nimport DMRTransactionsTable from './components/DMRTransactionsTable';\n\ndocument.addEventListener(\"wheel\", function (event) {\n if (document.activeElement.type === \"number\") {\n document.activeElement.blur();\n }\n});\n\nclass MerchantDashboard extends Component {\n constructor() {\n super();\n this.state = {\n serviceDetails: {},\n selectedService: \"\",\n selectedServiceShort: \"\",\n isLoading: false,\n grossAmount: '',\n configurations: {}\n }\n }\n componentDidMount() {\n this.fetchGrossAmount();\n this.fetchConfiguration();\n }\n\n fetchGrossAmount = () => {\n apicaller('get', `merchant/${this.props.user._id}/get-gross-amount`)\n .then(res => {\n if (res.status == 200) {\n this.setState({\n pgGrossAmount: res.data.data.pgGrossAmount,\n dmrGrossAmount: res.data.data.dmrGrossAmount\n })\n }\n })\n }\n\n handleOnChangeFields = (Field, value) => {\n let serviceDetails = this.state.serviceDetails;\n serviceDetails[Field] = value\n this.setState({\n serviceDetails,\n })\n }\n\n verifyServiceDetails = (input) => {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n if (!input.receiptName || input.receiptName == \"\") {\n output.isValid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.receiptPhone || input.receiptPhone == \"\" || !rp.test(input.receiptPhone)) {\n output.isValid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.receiptEmail || input.receiptEmail == \"\" || !re.test(input.receiptEmail)) {\n output.isValid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.amount || input.amount == \"\" || input.amount <= 0) {\n output.isValid = false;\n output.message = \"Please enter valid amount\";\n return output;\n }\n return output;\n }\n\n handleSelectService = (service_name, short_name) => {\n if (this.props.user.isActive) {\n this.setState({\n selectedService: service_name,\n selectedServiceShort: short_name\n }, () => {\n document.getElementById('model-button').click();\n })\n }\n else {\n swal('Alert', \"this service is unavailable\", 'error');\n }\n }\n\n handleOnSubmitPayment = () => {\n this.setState({\n isLoading: true\n })\n let serviceDetails = this.state.serviceDetails;\n let data = {\n \"amount\": serviceDetails.amount,\n \"serviceType\": this.state.selectedServiceShort,\n \"receiptPhone\": serviceDetails.receiptPhone,\n \"receiptEmail\": serviceDetails.receiptEmail,\n \"receiptName\": serviceDetails.receiptName,\n // \"gateway\": serviceDetails.gateway,\n };\n let validation = this.verifyServiceDetails(data);\n if (validation.isValid) {\n apicaller('post', `pgTransactions/merchant/${this.props.user._id}/create_link`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.transaction) {\n this.props.history.push({\n pathname: `/merchant/billing/trasactions/${res.data.data.transaction._id}`\n })\n document.getElementById('model-close-button').click();\n }\n else {\n swal(\"some internal issue\")\n }\n }\n else {\n swal(\"some internal issue\")\n }\n this.setState({\n isLoading: false\n })\n })\n .catch(err => {\n this.setState({\n isLoading: false\n })\n swal('Error', err, 'error');\n })\n }\n else {\n this.setState({\n isLoading: false\n })\n swal(validation.message, \"\", \"warning\");\n }\n }\n\n handleSelectComingSoon = () => {\n document.getElementById('comingSoonModal-button').click();\n }\n\n stopMarquee = () => {\n document.getElementById('marquee').stop();\n }\n\n startMarquee = () => {\n document.getElementById('marquee').start();\n }\n\n fetchConfiguration = () => {\n apicaller('get', 'admin/config/get')\n .then(res => {\n if (res.status == 200) {\n this.setState({\n configurations: res?.data?.data\n })\n }\n })\n .catch(err => {\n if (err) {\n console.log(err);\n }\n })\n }\n\n render() {\n return (\n
\n Merchant Dashboard\n
\n \n \n
\n
\n {this.state?.configurations?.scroll_text ?\n {\n this.stopMarquee();\n }}\n onMouseOut={() => {\n this.startMarquee();\n }}\n >\n

\n *{this.state?.configurations?.scroll_text}\n

\n \n :\n null\n }\n
\n

{\n navigator.clipboard.writeText(`${window.location.hostname}/masterLink?id=${this.props.user._id}&name=${this.props?.user?.organization_name?.replace(/ /g, '_')}`)\n swal('Copied', \"Master link copied to clipboard.\", 'success');\n }}>\n Copy Master Link\n

\n
\n
\n \n {/* */}\n {this.state.pgGrossAmount ?\n \n : null}\n {this.state.dmrGrossAmount ?\n \n : null}\n
\n

Today's Latest transactions

\n
\n
\n
\n
\n
Billing Transactions
\n \n
\n
\n
\n
\n
\n
\n
Dmr Transactions
\n \n
\n
\n
\n
\n

Billing Services

\n
\n {this.props.user.isRentalServiceAllowed ?\n )}\n cardText=\"Rental bill\"\n />\n : null}\n {this.props.user.isGroceryServiceAllowed ?\n )}\n cardText=\"Grocery Bill\"\n />\n : null}\n {this.props.user.isInstitutionalServiceAllowed ?\n )}\n cardText=\"Institutional fee\"\n />\n : null}\n { this.props.user.isActive ? this.props.history.push('/dmr/transfer') : swal(\"Alert\", \"this service is unavailable\", \"error\") }}\n serviceName=\"DMR\"\n serviceShortName=\"DMR\"\n iconImage={(\"image\")}\n cardText=\"DMR\"\n />\n
\n

Utility Services

\n
\n )}\n cardText=\"Electricity Bill Payment\"\n />\n )}\n cardText=\"Water Bill Payment\"\n />\n )}\n cardText=\"Mobile Recharge\"\n />\n )}\n cardText=\"DTH Recharge\"\n />\n
\n
\n
\n
\n\n \n \n\n\n
\n
\n
\n
\n
{ e.preventDefault(); this.handleOnSubmitPayment() }}>\n

{this.state.selectedService}

\n
\n
\n
\n \n this.handleOnChangeFields(\"receiptName\", e.target.value)} placeholder=\"Enter Name\" required />\n \n this.handleOnChangeFields(\"receiptEmail\", e.target.value)} placeholder=\"Enter Email\" required />\n \n this.handleOnChangeFields(\"receiptPhone\", e.target.value)} placeholder=\"Enter Phone Number\" required />\n \n this.handleOnChangeFields(\"amount\", e.target.value)} placeholder=\"Enter Amount to be collected\" required />\n {/*
\n this.handleOnChangeFields(\"gateway\", \"razorpay\")} />  \n \n
\n this.handleOnChangeFields(\"gateway\", \"easebuzz\")} />  \n */}\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n\n
\n
\n
\n
\n

Coming Soon

\n
\n
\n
\n
\n\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(MerchantDashboard);\n","import React, { Component } from 'react'\nimport apicaller from '../../util/ApiCaller';\nimport swal from 'sweetalert';\n\nexport class ForgotPassword extends Component {\n\n constructor() {\n super();\n this.state = {\n user: {},\n }\n }\n\n componentDidMount() {\n const queryString = window.location.search;\n const urlParams = new URLSearchParams(queryString);\n const userId = urlParams.get('userId')\n this.setState({\n userId\n })\n }\n\n handleOnChangeFields = (userField, value) => {\n let user = this.state.user;\n user[userField] = value\n this.setState({\n user,\n })\n }\n\n handleOnSubmit = () => {\n let user = this.state.user;\n if (user.password != user.repeat_password) {\n swal('Confirm password does not matched with password');\n }\n else {\n let data = {\n password: user.password\n }\n apicaller('post', `verify/forgot-password/user/${this.state.userId}/update`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n this.props.history.push('/login');\n }\n else {\n swal('Interal Error','some internal issue please try later', 'error');\n }\n }\n })\n }\n }\n\n\n render() {\n return (\n
\n \n \n \n {/* Theme tittle */}\n Ek Rupay\n {/* Theme style CSS */}\n \n \n \n {/* Vectormap */}\n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n

Forgot Password

\n
\n \n this.handleOnChangeFields(\"password\", e.target.value)} placeholder=\"Enter New Password\" name=\"\" required />\n
\n
\n \n this.handleOnChangeFields(\"repeat_password\", e.target.value)} placeholder=\"Confirm Password\" name=\"password\" required />\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default ForgotPassword\n","import React, { Component } from 'react';\r\nimport { connect } from \"react-redux\";\r\nimport { loginUser, logoutUser } from \"../../modules/actions\";\r\nimport { getErrorMessage, getErrorStatus, getisAuthenticated, getLoggingStatus, getUserData } from '../../modules/reducers';\r\nimport { withRouter } from 'react-router-dom';\r\nimport { compose } from \"redux\";\r\nimport apicaller from '../../util/ApiCaller';\r\nimport Loader from '../../components/global/Loader';\r\nimport swal from 'sweetalert';\r\n\r\nclass MerchantLogin extends Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n user: {}\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.props.logoutUser()\r\n }\r\n\r\n componentDidUpdate() {\r\n if (this.props.isAuthenticated) {\r\n if (this.props.user.role == 2) {\r\n this.props.history.push('/customer/dashboard');\r\n }\r\n else if (this.props.user.role == 1) {\r\n this.props.history.push('/new/merchant/dashboard');\r\n }\r\n }\r\n else if (this.props.errorStatus) {\r\n // alert(this.props.errorMessage);\r\n swal(\"Alert\", this.props.errorMessage, \"error\")\r\n }\r\n }\r\n\r\n handleOnChangeFields = (userField, value) => {\r\n let user = this.state.user;\r\n user[userField] = value\r\n this.setState({\r\n user\r\n })\r\n }\r\n\r\n validateUserFields(input) {\r\n let output = {};\r\n output.isvalid = true;\r\n output.message = \"\";\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const rp = /[0-9]{10}/;\r\n if (!input.userName || input.userName == \"\") {\r\n output.isvalid = false;\r\n output.message = \"Please enter Username\";\r\n }\r\n else if (!re.test(String(input.userName).toLowerCase()) && !rp.test(input.userName)) {\r\n output.isvalid = false;\r\n output.message = \"Please enter a valid phone or email\"\r\n }\r\n else if (!input.password || input.password == \"\") {\r\n output.isvalid = false;\r\n output.message = \"Please enter password\";\r\n }\r\n return output;\r\n }\r\n\r\n handleOnLogin = () => {\r\n let user = this.state.user;\r\n let validation = this.validateUserFields(user);\r\n if (validation.isvalid) {\r\n let data = new FormData();\r\n data.append(\"name\", user.userName);\r\n data.append(\"password\", user.password);\r\n let role = 'merchant';\r\n this.props.loginUser(data, role);\r\n }\r\n else {\r\n swal(validation.message);\r\n }\r\n }\r\n\r\n handleOnForgotPassword = () => {\r\n let user = this.state.user;\r\n let data = {\r\n userName: user.userName\r\n }\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n const rp = /[0-9]{,10}/;\r\n if (user.userName && user.userName != \"\" && re.test(String(user.userName).toLowerCase()) || rp.test(user.userName)) {\r\n apicaller('post', 'user/forgotPassword', data)\r\n .then(res => {\r\n if (res.status == 200) {\r\n if (res.data.data.sentMailStatus) {\r\n swal('mail sent, please check your mail');\r\n document.getElementById('model-close-button').click();\r\n }\r\n else {\r\n swal('some internal issue please try again');\r\n document.getElementById('model-close-button').click();\r\n }\r\n }\r\n })\r\n }\r\n else {\r\n swal('please enter email / phone number');\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n
\r\n {this.props.loggingStatus || this.props.isAuthenticated ?\r\n :\r\n
\r\n \r\n \r\n \r\n {/* Theme tittle */}\r\n Ek Rupay\r\n {/* Theme style CSS */}\r\n \r\n \r\n \r\n {/* Vectormap */}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

SVS Communication

\r\n

Sign in

\r\n
\r\n
\r\n
\r\n
{ e.preventDefault(); this.handleOnLogin() }}>\r\n
\r\n {/*

Merchant Sign in

*/}\r\n
\r\n \r\n this.handleOnChangeFields(\"userName\", e.target.value)} required />\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"password\", e.target.value)} required />\r\n
\r\n
\r\n {/*
\r\n
\r\n \r\n \r\n
\r\n
*/}\r\n \r\n
\r\n
\r\n \r\n
\r\n {/*
\r\n

Don't have an account? Sign up

\r\n
*/}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
}\r\n\r\n {/* Modal */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.handleOnChangeFields(\"userName\", e.target.value)} placeholder=\"Enter Registered Phone Number or Email\" required />\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n isAuthenticated: getisAuthenticated(state),\r\n user: getUserData(state),\r\n errorStatus: getErrorStatus(state),\r\n errorMessage: getErrorMessage(state),\r\n loggingStatus: getLoggingStatus(state),\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = dispatch => ({\r\n loginUser: (email, password) => dispatch(loginUser(email, password)),\r\n logoutUser: () => dispatch(logoutUser()),\r\n});\r\n\r\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(MerchantLogin);\r\n\r\n\r\n\r\n","import React, { Component } from 'react';\n\nclass PrivacyPolicy extends Component {\n render() {\n return (\n
\n

EKRUPAY

\n
\n
\n
\n

Privacy Policy

\n

General

\n

\n By using, accessing or participating in the Service, you agree to the terms of this privacy policy (the\n \"Privacy Policy\"). Capitalized terms not defined in this Privacy Policy have the meanings set forth in the\n Terms and Conditions, located here. We reserve the right to change our Privacy Policy at any time. If we do\n this, we will post a notice that we have made changes to this Privacy Policy on the Website for at least 7\n days after the changes are posted and will indicate at the bottom of the Privacy Policy the date these terms\n were last revised. Any revisions to this Privacy Policy will become effective the earlier of (i) the end of\n the foregoing 7-day period or (ii) the first time you access or use the Service after any such changes. If\n you do not agree to abide by this Privacy Policy, you are not authorized to use, access or participate in\n the Service.\n

\n

Information We Collect

\n

\n When you use the Service you provide us with two types of information: (i) information you submit via the\n Service and (ii) information regarding your use of the Service collected by us as you interacts with the\n Service.
\n When you enter the Website, we collect your browser type and IP address. This information is gathered for\n all Website visitors. In addition, we store certain information from your browser using \"cookies.\" A cookie\n is a piece of data stored on the user's computer tied to information about the user. We use session ID\n cookies to confirm that users are logged in. If you do not want information collected through the use of\n cookies, there is a simple procedure in most browsers that allows you to deny or accept the cookie feature;\n however, you should note that cookies may be necessary to provide you certain features (e.g., customized\n delivery of information) available on the Website.\n Through the registration process you may provide us with your name, email address, hometown, and other\n information that may be requested during the registration process. When you use the Service you may submit\n information and content to your profile, generate Activity Data through engaging in educational activities\n on the Service, or send messages and otherwise transmit information to other users. We store this\n information so that we can provide you the Service and offer personalized features.

\n

User Of Information Obtained by EKRUPAY

\n

We may use your contact information to send you notifications regarding new services offered by EKRUPAY and its partners that we think you may find valuable. EKRUPAY may also send you\n service-related announcements from time to time through the general operation of the Service. Generally, you\n may opt out of such emails, although EKRUPAY reserves the right to send you notice about your\n account even if you opt out of all voluntary email notifications.\n Profile information is used by EKRUPAY primarily to be presented back to and edited by you when\n you access the Service and to be presented to other users. In some cases, other users may be able to\n supplement your profile, including by submitting comments.
\n EKRUPAY may use aggregate or anonymous data collected through the Service, including Activity\n Data, for any purpose. This data may be used by EKRUPAY and shared with third parties in any\n manner.

\n\n

Sharing Your Personally-Identifiable Information with Third Parties

\n

EKRUPAY shares your personally-identifiable information only in limited circumstances where EKRUPAY believes such sharing is reasonably necessary to offer the Service, legally required or,\n permitted by you.

\n

For example:

\n

\n We may provide personally-identifiable information to service providers who help us bring you the Service,\n such as hosting the Service at a co-location facility or sending email updates. In connection with these\n operations, our service providers may have access to personally-identifiable information for use for a\n limited time. Where we utilize service providers for the processing of any of personally-identifiable\n information, we implement reasonable contractual protections limiting the use of that\n personally-identifiable information to the provision of services to EKRUPAY.
\n Notwithstanding anything else in this policy, we may work with partners who use mobile SDKs, including the\n OneSignal Messaging SDK, to passively collect information (collectively, \"SDK Information\"), which generally\n helps us deliver personalized notifications. This data may also be used to identify you in a unique manner\n across other devices or browsers for the purposes of customizing ads or content. Depending on the\n permissions granted to this application, this information may include personally identifiable information\n (PII) including your e-mail address. This information may also include precise location (i.e. GPS-level\n data) or WiFi information, apps you have installed and enabled, and your mobile identifier (e.g., Android\n Advertising ID).\n

\n

Consumer Control & Opt-Out Options

\n

\n 1. Opting-out of OneSignal Push Notifications - You may in most cases opt out of receiving push\n notifications by going to your device \"Settings\" and clicking on \"Notifications,\" and then changing those\n settings for some or all of the apps on your device. (Different device configurations, or updates to\n devices, may affect or change how these settings work.)
\n 2. Opting Out of \"Cross-App\" Advertising on Mobile Devices - You can opt out of having your mobile\n advertising identifiers used for certain types of interest-based (also called \"cross-app\") mobile behavioral\n advertising, by accessing the \"settings\" on your Apple or Android mobile device, as follows: By opening the\n Google Settings app on your device, selecting Ads, and then selecting the option to opt-out of\n interest-based ads. (Different device configurations, or updates to devices, may affect or change how these\n settings work.)\n We may be required to disclose personally-identifiable information pursuant to lawful requests, such as\n subpoenas or court orders, or in compliance with applicable laws. Additionally, we may share account or\n other personally-identifiable information when we believe it is necessary to comply with law, to protect our\n interests or property, to prevent fraud or other illegal activity perpetrated through the Service or using\n the EKRUPAY name, or to prevent imminent harm. This may include sharing personally-identifiable\n information with other companies, lawyers, agents or government agencies.
\n If the ownership of all or substantially all of the EKRUPAY business, or individual business units\n or assets owned by EKRUPAY that are related to the Service, were to change, your\n personally-identifiable information may be transferred to the new owner. In any such transfer of\n information, your personally-identifiable information would remain subject to this section.\n

\n

Links

\n

\n The Service may contain links to other websites. We are not responsible for the privacy practices of other\n websites. We encourage users to be aware when they leave the Service to read the privacy statements of other\n websites that collect personally identifiable information. This Privacy Policy applies solely to information\n collected by EKRUPAY via the Service.\n

\n
\n {/* Footer Section */}\n \n {/* Footer Section */}\n
\n )\n }\n}\n\nexport default PrivacyPolicy","import React, { Component } from 'react';\n\nclass TermsAndConditions extends Component {\n render() {\n return (\n
\n

EKRUPAY

\n
\n
\n
\n

Terms and Conditions

\n

General

\n

\n The EKRUPAY website (\"Website\") and related services (together with the Website, the \"Service\") are Owned by EKRUPAY. (\"EKRUPAY\", \"us\" or \"we\"). Access and use of the Service is subject to the following Terms and Conditions of Service (\"Terms and Conditions\"). By accessing or using any part of the Service, you represent that you have read, understood, and agree to be bound by these Terms and Conditions including any future modifications. EKRUPAY may amend, update or change these Terms and Conditions. If we do this, we will post a notice that we have made changes to these Terms and Conditions on the Website for at least 7 days after the changes are posted and will indicate at the bottom of the Terms and Conditions the date these terms were last revised. Any revisions to these Terms and Conditions will become effective the earlier of (i) the end of such 7-day period or (ii) the first time you access or use the Service after such changes. If you do not agree to abide by these Terms and Conditions, you are not authorized to use, access or participate in the Service.\n

\n

Description of Website and Service

\n

The Service allows users to (i) prepare for any examination online. Users interested in learning or practicing are presented with different types of educational activities. EKRUPAY may, in its sole discretion and at any time, update, change, suspend, make improvements to or discontinue any aspect of the Service, temporarily or permanently.

\n

Registration

\n

\n In connection with registering for and using the Service, you agree (i) to provide accurate, current and complete information about you and/or your organization as requested by EKRUPAY; (ii) to maintain the confidentiality of your password and other information related to the security of your account; (iii) to maintain and promptly update any registration information you provide to EKRUPAY while registering or during your usage of EKRUPAY's services, to keep such information accurate, current and complete; (iv) to be fully responsible for all use of your account and for any actions that take place through your account; (v) You consent to be contacted by us via phone calls and/or SMS notifications, in case of any order or shipment or delivery related updates; and (vi) You are required to provide your examination registration information for the purpose of our internal estimation of successful candidates. If you do not provide the information, your partial or full access to the website content and/or other EKRUPAY services may be blocked. No refund will be provided in such scenario. We assure you that we will not use this information for any other purpose or share this information with any third party.\n

\n

\n Your Representations and Warranties You represent and warrant to EKRUPAY that your access and use of the Service will be in accordance with these Terms and Conditions and with all applicable laws, rules and regulations of Constitution of India and any other relevant jurisdiction, including those regarding online conduct or acceptable content, and those regarding the transmission of data or information exported from India and/or the jurisdiction in which you reside. You further represent and warrant that you have created or own any material you submit to EKRUPAY and that you have the right to grant us a license to use that material.\n

\n

\n Inappropriate Use You will not upload, display or otherwise provide on or through the Service any content that: (i) is libelous, defamatory, abusive, threatening, harassing, hateful, offensive or otherwise violates any law or infringes upon the right of any third party (including copyright, trademark, privacy, publicity or other personal or proprietary rights); or (ii) in EKRUPAY's sole judgment, is objectionable or which restricts or inhibits any other person from using the Service or which may expose EKRUPAY or its users to any harm or liability of any kind.\n

\n

\n Indemnification of EKRUPAY You agree to defend, indemnify and hold harmless EKRUPAY and its directors, officers, employees, contractors, agents, suppliers, licensors, successors and assigns, from and against any and all losses, claims, causes of action, obligations, liabilities and damages whatsoever, including attorneys' fees, arising out of or relating to your access or use of the Service, any false representation made to us (as part of these Terms and Conditions or otherwise), your breach of any of these Terms and Conditions ,or any claim that any service we provide to you is inaccurate, inappropriate or defective in any way whatsoever.\n

\n

\n No Representations or Warranties The service, including all images, audio files and other content therein, and any other information, property and rights granted or provided to you by EKRUPAY are provided to you on an \"as is\" basis. EKRUPAY and its suppliers make no representations or warranties of any kind with respect to the service, either express or implied, and all such representations and warranties, including warranties of merchantability, fitness for a particular purpose or non-infringement, are expressly disclaimed. Without limiting the generality of the foregoing, EKRUPAY does not make any representation or warranty of any kind relating to accuracy, service availability, completeness, informational content, error-free operation, results to be obtained from use, or non-infringement. Access and use of the service may be unavailable during periods of peak demand, system upgrades, malfunctions or scheduled or unscheduled maintenance or for other reasons. Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you.\n

\n

Limitation on types of Damages/Limitation of Liability

\n

\n In no event will EKRUPAY be liable to you or any third party claiming through you (whether based in contract, tort, strict liability or other theory) for indirect, incidental, special, consequential or exemplary damages arising out of or relating to the access or use of, or the inability to access or use, the service or any portion thereof, including but not limited to the loss of use of the service, inaccurate results, loss of profits, business interruption, or damages stemming from loss or corruption of data or data being rendered inaccurate, the cost of recovering any data, the cost of substitute services or claims by third parties for any damage to computers, software, modems, telephones or other property, even if EKRUPAY has been advised of the possibility of such damages. EKRUPAY's liability to you or any third party claiming through you for any cause whatsoever, and regardless of the form of the action, is limited to the amount paid, if any, by you to EKRUPAY for the service in the 12 months prior to the initial action giving rise to liability. This is an aggregate limit. The existence of more than one claim hereunder will not increase this limit.\n

\n

Termination

\n

\n EKRUPAY may terminate your access and use of the Service immediately at any time, for any reason, and at such time you will have no further right to use the Service. You may terminate your EKRUPAY account at any time by following the instructions available through the Service. The provisions of these Terms and Conditions relating to the protection and enforcement of EKRUPAY's proprietary rights, your representations and warranties, disclaimer of representations and warranties, release and indemnities, limitations of liability and types of damages, ownership of data and information, governing law and venue, and miscellaneous provisions shall survive any such termination.\n

\n

Proprietary Rights in Service Content and Activity Data

\n

All content available through the Service, including designs, text, graphics, images, information, software, audio and other files, and their selection and arrangement (the \"Service Content\"), are the proprietary property of EKRUPAY or its licensors. No Service Content may be modified, copied, distributed, framed, reproduced, republished, downloaded, scraped, displayed, posted, transmitted, or sold in any form or by any means, in whole or in part, other than as expressly permitted in these Terms and Conditions. You may not use any data mining, robots, scraping or similar data gathering or extraction methods to obtain Service Content. As between you and EKRUPAY, all data and information generated from your access and use of the educational activities made available on or through the Service, including translated content generated by you (collectively, the \"Activity Data\"), shall be exclusively owned by EKRUPAY, and you shall not have any right to use such Activity Data except as expressly authorized by these Terms and Conditions. Activity Data will not include material you submit for translation or any resulting translation. By using the Service, you hereby assign to EKRUPAY any and all rights, title and interest, including any intellectual property rights or proprietary rights, in the Activity Data.

\n

\n All rights of EKRUPAY or its licensors that are not expressly granted in these Terms and Conditions are reserved to EKRUPAY and its licensors.\n

\n

Trademarks

\n

\n \"EKRUPAY\" and all other trademarks, service marks, graphics and logos used in connection with the Service are trademarks or service marks of EKRUPAY or their respective owners. Access and use of the Service does not grant or provide you with the right or license to reproduce or otherwise use the EKRUPAY name or any EKRUPAY or third-party trademarks, service marks, graphics or logos.\n

\n

Refund Policy

\n
    \n
  • • The refund is applicable for our products/services only until it's dispatched or the login details for online access to test material etc. are disclosed/dispatched to you.
  • \n
  • • Please include your order number (sent to you via email after your order) and do tell us why you're requesting a refund. We take customer feedback very seriously and use it to constantly improve our products and quality of service.
  • \n
  • • All refunds, if eligible, will be processed within 14 (Fourteen) business days of receiving cancellation request and mode of refund would be same through which the original transaction was done.
  • \n
\n

Notice for Claims of Copyright Violations and Agent for Notice

\n

\n If you are a copyright owner and have a good faith belief that any material available through the service infringes upon your copyrights, you may submit a copyright infringement notification to EKRUPAY pursuant to the Digital Millennium Copyright Act by providing us with the following information in writing:\n

\n
    \n
  • • An electronic or physical signature of the copyright owner or the person authorized to act on behalf of the owner of the copyright interest;
  • \n
  • • A description of the copyrighted work that you claim has been infringed;
  • \n
  • • A description of where the material that you claim is infringing is located on the Service, with enough detail that we may find it on the Service;
  • \n
  • • Your address, telephone number, and email address;
  • \n
  • • A statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;
  • \n
  • • A statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright owner or are authorized to act on the copyright owner's behalf.
  • \n

\n

\n Please consult your legal counsel for further details or see Section 51 of The Copyright Act, 1957. EKRUPAY's Agent for Notice of claims of copyright infringement can be reached as follows: By email: info@EKRUPAY.com\n

\n

Governing Law and Arbitration

\n

\n These Terms and Conditions, its subject matter and EKRUPAY's and your respective rights under these Terms and Conditions shall be governed by the laws of India and you agree that the courts of Mumbai will have exclusive jurisdiction over any dispute (contractual or non-contractual) concerning these terms.\n

\n

Miscellaneous

\n

\n These Terms and Conditions constitute the entire agreement between EKRUPAY and you concerning the subject matter hereof. In the event that any of the Terms and Conditions are held by a court or other tribunal of competent jurisdiction to be unenforceable, such provisions shall be limited or eliminated to the minimum extent necessary so that these Terms and Conditions shall otherwise remain in full force and effect. A waiver by EKRUPAY or you of any provision of these Terms and Conditions or any breach thereof, in any one instance, will not waive such term or condition or any subsequent breach thereof. EKRUPAY may assign its rights or obligations under these Terms and Conditions without condition. These Terms and Conditions will be binding upon and will inure to the benefit of EKRUPAY and you, and EKRUPAY's and your respective successors and permitted assigns.\n

\n
\n {/* Footer Section */}\n \n {/* Footer Section */}\n
\n )\n }\n}\n\nexport default TermsAndConditions","import React, { useEffect } from \"react\";\nimport Sidebar from \"../../components/global/Sidebar\";\nimport Topbar from \"../../components/global/Topbar\";\nimport { useSelector } from \"react-redux\";\nimport apicaller from \"../../util/ApiCaller\";\nimport swal from \"sweetalert\";\n\nexport default function NewMerchantDashboard() {\n const [mobileNUmber, setMobileNumber] = React.useState(\"\");\n const [ipAddress, setIpAddress] = React.useState(\"\");\n const user = useSelector((state) => state.user);\n const [billInfo, setBillInfo] = React.useState([]);\n const [isLoading, setIsLoading] = React.useState(false);\n const [txnRefId, setTxnRefId] = React.useState(\"\");\n\n useEffect(() => {\n getIpAddress();\n }, []);\n\n const getIpAddress = () => {\n fetch(\"https://api.ipify.org?format=json\")\n .then((res) => res.json())\n .then((res) => {\n setIpAddress(res.ip);\n });\n };\n\n const getBillDetails = async (mobileNUmber) => {\n const reqBody = {\n agentId: \"CC01CC01513515340681\",\n agentDeviceInfo: {\n ip: ipAddress,\n initChannel: \"AGT\",\n mac: \"01-23-45-67-89-ab\",\n },\n customerInfo: {\n customerMobile: mobileNUmber,\n customerEmail: user?.email,\n customerAdhaar: \"\",\n customerPan: \"\",\n },\n billerId: \"OTME00005XXZ43\",\n inputParams: [\n { paramName: \"a\", paramValue: \"10\" },\n { paramName: \"a b\", paramValue: \"20\" },\n { paramName: \"a b c\", paramValue: \"30\" },\n { paramName: \"a b c d\", paramValue: \"40\" },\n { paramName: \"a b c d e\", paramValue: \"50\" },\n ],\n };\n setIsLoading(true);\n const res = await apicaller(\n \"post\",\n \"bbps/billfetch/OTME00005XXZ43\",\n reqBody\n );\n setIsLoading(false);\n if (res.data.status == \"Success\") {\n setBillInfo(res.data.data);\n }\n document.getElementById(\"model-close-button-2\").click();\n document.getElementById(\"billDetails-button\").click();\n };\n\n const payBill = async () => {\n const reqBody = {\n billerId: \"OCNS00000TMN02\",\n agentDeviceInfo: {\n ip: ipAddress,\n mac: \"01-23-45-67-89-ab\",\n },\n customerInfo: {\n customerMobile: mobileNUmber,\n customerEmail: user?.email,\n customerAdhaar: \"\",\n customerPan: \"\",\n },\n inputParams: [\n {\n paramName: \"a\",\n paramValue: \"10\",\n },\n {\n paramName: \"a b\",\n paramValue: \"20\",\n },\n {\n paramName: \"a b c\",\n paramValue: \"30\",\n },\n {\n paramName: \"a b c d\",\n paramValue: \"40\",\n },\n {\n paramName: \"a b c d e\",\n paramValue: \"50\",\n },\n ],\n amountInfo: {\n amount: parseInt(billInfo.billAmount * 100),\n currency: \"356\",\n custConvFee: \"0\",\n amountTags: \"\",\n },\n paymentMethod: {\n paymentMode: \"Cash\",\n quickPay: \"Y\",\n splitPay: \"N\",\n },\n paymentInfo: [\n {\n infoName: \"Remarks\",\n infoValue: \"Received\",\n },\n ],\n };\n setIsLoading(true);\n const res = await apicaller(\"post\", `bbps/billpay/${user?._id}`, reqBody);\n setIsLoading(false);\n if (res.data.status == \"Success\") {\n setTxnRefId(res.data.data.txnRefId);\n }\n document.getElementById(\"model-close-button-3\").click();\n document.getElementById(\"paymentSuccess-button\").click();\n // setTimeout(() => {\n // document.getElementById(\"model-close-button-4\").click();\n // }, 1000);\n console.log(res);\n };\n return (\n
\n Dashboard\n
\n \n \n
\n
\n \n

\n Select a service\n

\n \n
\n \n {\n setBillInfo({});\n setMobileNumber(\"\");\n document.getElementById(\"selectProvider-button\").click();\n }}\n >\n
\n \n \n \n Mobile Recharge\n

\n
\n
\n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n

Select Provider

\n \n
\n
\n {\n document.getElementById(\"model-close-button\").click();\n document.getElementById(\"userDetails-button\").click();\n }}\n >\n
\n \n

\n Airtel\n

\n
\n
\n
\n \n
\n
\n
\n \n \n
\n \n
\n
\n
\n

Enter Details

\n \n
\n
\n
\n \n setMobileNumber(e.target.value)}\n />\n
\n
\n {\n console.log(mobileNUmber.length);\n if (mobileNUmber.length == 10) {\n getBillDetails(mobileNUmber);\n } else {\n swal(\"Warning\", \"Enter a valid mobile number\", \"warning\");\n }\n }}\n >\n {isLoading ? (\n \n ) : (\n \"Submit\"\n )}\n \n \n
\n
\n
\n \n \n
\n \n
\n
\n

Bill Details

\n
\n
\n
\n
\n \n
\n

Mobile Number

\n

\n 9603969833\n

\n
\n
\n

\n #{billInfo?.billNumber}\n

\n
\n
\n\n
\n

\n Customer Name:\n

\n

\n Billing Date:\n

\n

\n Bill Period:\n

\n

\n Due Date:\n

\n
\n
\n

{billInfo?.customerName}

\n

{billInfo?.billDate}

\n

{billInfo?.billPeriod}

\n

{billInfo?.dueDate}

\n
\n
\n
\n
\n
\n

Bill Amount

\n

\n {billInfo?.billAmount}\n

\n
\n
\n
\n
\n
\n \n
\n {\n payBill();\n }}\n >\n {isLoading ? (\n \n ) : (\n \"Proceed to Pay\"\n )}\n \n
\n \n
\n
\n
\n \n \n
\n \n
\n
\n \n
\n \n

Payment Successful

\n

Your transaction id is {txnRefId}

\n \n close\n \n
\n
\n
\n
\n \n \n );\n}\n","import React, { Component } from 'react';\nimport { BrowserRouter, Redirect, Route, Switch } from 'react-router-dom';\nimport { connect } from \"react-redux\";\n\nimport Home from './screens/common/Home';\nimport IndexPage from './screens/common/IndexPage';\nimport Login from './screens/common/Login';\nimport SignUp from './screens/common/SignUp';\nimport MerchantSignUp from './screens/common/MerchantSignUp';\nimport Error from './screens/Error';\nimport CustomerDashboard from './screens/customer/CustomerDashboard';\nimport CustomerUtilityTransactions from './screens/customer/UtilityTransactions';\nimport CustomerBillingTransactions from './screens/customer/BillingTransactions';\nimport MerchantBillingTransactions from './screens/merchant/BillingTransactions';\nimport MerchantUtilityTransactions from './screens/merchant/UtilityTransactions';\nimport AccountsList from './screens/customer/AccountsList';\nimport UserProfile from './screens/common/UserProfile';\nimport UserSupport from './screens/common/UserSupport';\nimport WalletTransactions from './screens/merchant/WalletTransactions';\nimport DmrTransactions from './screens/merchant/DmrTransactions';\nimport DmrTransfer from './screens/merchant/DmrTransfer';\nimport CustomerProfile from './screens/customer/CustomerProfile';\nimport MerchantProfile from './screens/merchant/MerchantProfile';\nimport MerchantDashboard from './screens/merchant/MerchantDashboard';\n// import { getisAuthenticated } from \"./modules/reducers\"\nimport { getisAuthenticated, getUserData } from \"./modules/reducers\"\nimport ForgotPassword from './screens/common/ForgotPassword';\nimport MerchantLogin from './screens/common/MerchantLogin';\nimport { fetchUser } from './modules/actions';\nimport PrivacyPolicy from './screens/common/PrivacyPolicy';\nimport TermsAndConditions from './screens/common/TermsAndConditions';\nimport MasterLink from './screens/merchant/MasterLink';\nimport NewMerchantDashboard from './screens/merchant/NewMerchantDashboard';\n\nexport const numberFormat = (value) =>\n new Intl.NumberFormat('en-IN', {\n style: 'currency',\n currency: 'INR'\n }).format(value);\n\n\nclass App extends Component {\n constructor() {\n super();\n this.state = {\n }\n }\n componentDidMount() {\n window.onpopstate = e => {\n window.location.reload();\n }\n }\n\n render() {\n return (\n \n
\n {/* */}\n \n \n \n \n \n \n \n \n \n \n {/* */}\n {\n this.props.isAuthenticated ?\n
\n \n \n \n \n {/* new routes start */}\n \n {/* new routes end */}\n \n \n \n \n \n \n \n \n \n {/* */}\n \n
\n : null\n }\n \n
\n
\n
\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n isAuthenticated: getisAuthenticated(state),\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(App);","import React, { Component } from 'react';\n\nclass WalletCard extends Component {\n render() {\n let cardColor = `card text-white bg-${this.props.cardColor}`\n let cardCol = `${this.props.cardCol}`\n return (\n
\n
\n
\n
{this.props.heading}
\n
\n
\n

{this.props.card_content}

\n {this.props.showButton === \"true\" ?\n {this.props.buttonText}\n : null}\n
\n
Balance: {this.props.amount}\n
\n
\n
\n )\n }\n}\n\nexport default WalletCard;","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport apicaller from '../../util/ApiCaller';\nimport _ from 'lodash';\nimport Lightbox from 'react-image-lightbox';\nimport 'react-image-lightbox/style.css';\nimport swal from 'sweetalert';\n\nclass CustomerProfile extends Component {\n constructor() {\n super();\n this.state = {\n user: {},\n updateUser: {},\n displayKycBlock: false,\n isLightBoxOpen: false,\n selectedImage: '',\n isUpdatingKyc: false,\n isUpdatingUser: false,\n isUpdatingPassword: false,\n }\n }\n\n componentDidMount() {\n let userId = this.props.match.params.id;\n this.fetchUserProfileDetails(userId);\n }\n\n getImage = async (fieldName, fileKey) => {\n await apicaller('get', `get/file?fileKey=${fileKey}`)\n .then(res => {\n if (res.status == 200) {\n let user = this.state.user;\n let buf = Buffer.from(res.data);\n let base64 = buf.toString('base64');\n let final_image = `data:image/jpeg;base64,${base64}`\n user[fieldName] = final_image\n this.setState({ user, updateUser: user })\n }\n else {\n swal('some internal issue', '', 'warning');\n }\n })\n }\n\n downloadUserImages = async () => {\n if (this.state.user.pan_image) {\n await this.getImage(\"pan_image\", this.state.user.pan_image)\n }\n if (this.state.user.pan_image) {\n await this.getImage(\"aadhar_front_image\", this.state.user.aadhar_front_image)\n }\n if (this.state.user.pan_image) {\n await this.getImage(\"aadhar_back_image\", this.state.user.aadhar_back_image)\n }\n }\n\n fetchUserProfileDetails = (userId) => {\n apicaller('get', `user/${userId}/profile`)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n this.setState({\n user: res.data.data.user\n }, () => {\n this.downloadUserImages();\n })\n }\n else {\n swal('some internal issue', '', 'warning');\n }\n }\n else {\n swal('some internal issue', '', 'warning');\n }\n })\n .catch(err => {\n swal('Error', err, 'error');\n })\n }\n executeScroll = () => this.myRef.scrollIntoView()\n toggleKycBlock = () => {\n this.setState({\n displayKycBlock: !this.state.displayKycBlock\n }, () => {\n if (this.state.displayKycBlock) {\n this.executeScroll();\n }\n })\n }\n\n handleOnChangeFields = (userField, value) => {\n let updateUser = this.state.updateUser;\n updateUser[userField] = value\n this.setState({\n updateUser,\n })\n }\n\n handleOnUploadFiles = (userField, files) => {\n let value;\n for (var i in files) {\n if (i != \"length\" && i != \"item\") {\n document.querySelector(`#${userField}`).textContent = files[i].name;\n var FileSize = files[i].size / 1024 / 1024; // in MB\n if (FileSize > 3) {\n swal('Alert', 'File size exceeds 3 MB', 'warning');\n }\n value = files[i];\n }\n }\n let updateUser = this.state.updateUser;\n updateUser[userField] = value\n this.setState({\n updateUser,\n })\n }\n\n validateUserFields(input) {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n if (!input.pan_number || input.pan_number == \"\") {\n output.isValid = false;\n output.message = \"Please enter pan number\";\n return output;\n }\n if (!input.pan_image || !_.isEmpty(input.pan_image)) {\n output.isValid = false;\n output.message = \"Pan card image is required\";\n return output;\n }\n if (!input.pan_image || (input.pan_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Pan card image should be less than 3MB\";\n return output;\n }\n if (!input.aadhar_number || input.aadhar_number == \"\") {\n output.isValid = false;\n output.message = \"Please enter aadhar number\";\n return output;\n }\n if (!input.aadhar_front_image || !_.isEmpty(input.aadhar_front_image)) {\n output.isValid = false;\n output.message = \"Aadhar front image image is required\";\n return output;\n }\n if (!input.aadhar_front_image || (input.aadhar_front_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Aadhar front image should be less than 3MB\";\n return output;\n }\n if (!input.aadhar_back_image || !_.isEmpty(input.aadhar_back_image)) {\n output.isValid = false;\n output.message = \"Aadhar back image image is required\";\n return output;\n }\n if (!input.aadhar_back_image || (input.aadhar_back_image.size / 1024 / 1024) > 3) {\n output.isValid = false;\n output.message = \"Aadhar back image should be less than 3MB\";\n return output;\n }\n return output;\n }\n\n handleOnCompleteKycUpdate = () => {\n let updateUser = this.state.updateUser;\n let validation = this.validateUserFields(updateUser);\n if (validation.isValid) {\n this.setState({\n isUpdatingKyc: true\n })\n let data = new FormData();\n data.append('pan_number', updateUser.pan_number);\n data.append('pan_image', updateUser.pan_image);\n data.append('aadhar_number', updateUser.aadhar_number);\n data.append('aadhar_front_image', updateUser.aadhar_front_image);\n data.append('aadhar_back_image', updateUser.aadhar_back_image);\n data.append('isKycProcessed', true);\n data.append('phone', this.state.user.phone);\n apicaller('post', 'user/customer/complete-kyc', data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n this.setState({\n user: res.data.data.user\n })\n this.toggleKycBlock()\n }\n }\n this.setState({\n isUpdatingKyc: false\n })\n })\n }\n else {\n swal(validation.message, '', 'warning');\n }\n }\n\n validateUpdatePassword = (input) => {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rpass = /^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9]).{8,16}$/\n if (!input.current_password || input.current_password == \"\") {\n output.isValid = false;\n output.message = \"Please enter current password\";\n return output;\n }\n if (!input.new_password || input.new_password == \"\" || !rpass.test(input.new_password)) {\n output.isValid = false;\n output.message = \"Please check for minimum conditions and enter a password.\";\n return output;\n }\n if (input.new_password != input.confirm_new_password) {\n output.isValid = false;\n output.message = \"Password confirmation does not matched\";\n return output;\n }\n return output;\n }\n\n handleOnUpdatePassword = () => {\n let data = {};\n data.current_password = this.state.updateUser.current_password;\n data.new_password = this.state.updateUser.new_password;\n data.confirm_new_password = this.state.updateUser.confirm_new_password;\n let validation = this.validateUpdatePassword(data);\n if (validation.isValid) {\n this.setState({\n isUpdatingPassword: true\n })\n apicaller('post', `user/${this.state.user._id}/password/update`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n swal('password updated successfully', '', 'success');\n }\n else {\n swal(res.data.data.message, '', 'warning');\n }\n document.getElementById('password-model-close-button').click();\n }\n else {\n swal('some internal issue');\n }\n this.setState({\n isUpdatingPassword: false\n })\n })\n .catch(err => {\n swal('Error', err, 'error');\n this.setState({\n isUpdatingPassword: false\n })\n })\n }\n else {\n swal(validation.message, '', 'warning')\n }\n }\n\n handleOnUpdateProfile = () => {\n this.setState({\n isUpdatingUser: true\n })\n let data = {};\n data.first_name = this.state.updateUser.first_name || this.state.user.first_name;\n data.last_name = this.state.updateUser.last_name || this.state.user.last_name;\n apicaller('post', `user/${this.state.user._id}/profile/update`, data)\n .then(res => {\n if (res.status == 200) {\n document.getElementById('update-model-close-button').click();\n swal(\"user updated successfully\", '', 'success');\n }\n else {\n swal('some internal issue', '', 'warning');\n }\n this.setState({\n isUpdatingUser: false\n })\n })\n .catch(err => {\n swal('some internal issue', '', 'warning');\n this.setState({\n isUpdatingUser: false\n })\n })\n }\n\n handleShowPasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'block'\n }\n handleHidePasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'none'\n }\n\n render() {\n return (\n
\n Profile\n
\n \n \n
\n
\n
\n
\n
\n
\n

Profile Info
\n {this.state.user.isKycCompleted ?\n KYC Completed\n :\n this.state.user.isKycProcessed ?\n KYC under review\n :\n Non KYC User\n }

\n {this.state.user.isKycProcessed || this.state.displayKycBlock ? null :\n \n }\n \n \n
\n
\n
\n
\n
\n
First Name
\n {this.state.user.first_name || \"\"}\n
\n
\n
Last Name
\n {this.state.user.last_name || \"\"}\n
\n
\n
Email
\n {this.state.user.email || \"\"}\n
\n
\n
Phone Number
\n {this.state.user.phone || \"\"}\n
\n
\n
\n
\n
\n
\n
\n \n {this.state.displayKycBlock ?\n
this.myRef = ref} style={{\n scrollMarginTop: 150\n }}>\n
\n
\n
\n

Update KYC

\n
\n
\n
{ e.preventDefault(); this.handleOnCompleteKycUpdate() }}>\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"pan_number\", e.target.value)} placeholder=\"Enter PAN Card Number\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"pan_image\", e.target.files)} required />\n \n
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"aadhar_number\", e.target.value)} placeholder=\"Enter Aadhaar Card Number\" required />\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"aadhar_front_image\", e.target.files)} required />\n \n
\n
\n
\n
\n \n
\n
\n this.handleOnUploadFiles(\"aadhar_back_image\", e.target.files)} required />\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n : null}\n {this.state.user.isKycCompleted ?\n
\n
\n
\n
\n

KYC Details

\n
\n
\n
\n
\n
PAN Card Number
\n {this.state.user.pan_number}\n
\n
\n
PAN Card
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.pan_image })} alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
Aadhaar Card Number
\n {this.state.user.aadhar_number}\n
\n
\n
Aadhaar Card Front Image
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.aadhar_front_image })} alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
Aadhaar Card Back Image
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.aadhar_back_image })} alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
\n
\n
\n
\n : null}\n
\n
\n
\n {/* Change Password Modal */}\n
\n
\n
\n
Change Password
\n
\n
{ e.preventDefault(); this.handleOnUpdatePassword() }}>\n
\n
\n
\n \n this.handleOnChangeFields(\"current_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter Current Password\" required />\n
\n
\n \n this.handleOnChangeFields(\"new_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter New Password\" required />\n
\n Password should contain
\n Atleast one Uppercase letter
\n Atleast one Special character letter
\n Atleast one Number letter
\n Minimum length of 8 and Maximum of 16
\n
\n
\n
\n \n this.handleOnChangeFields(\"confirm_new_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter New Password\" required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n {\n this.state.isLightBoxOpen && (\n this.setState({ isLightBoxOpen: false })}\n />\n )\n }\n {/* Edit Profile Modal */}\n
\n
\n
\n
Edit Profile
\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"first_name\", e.target.value)} value={this.state.updateUser.first_name} required />\n
\n
\n \n this.handleOnChangeFields(\"last_name\", e.target.value)} value={this.state.updateUser.last_name} required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default CustomerProfile;","import React, { Component } from 'react';\nimport SideBar from '../../components/global/Sidebar';\nimport TopBar from '../../components/global/Topbar';\nimport WalletCard from '../../components/merchant/wallets/WalletCard';\nimport apicaller from '../../util/ApiCaller';\n\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport { getUserData } from '../../modules/reducers';\nimport Lightbox from 'react-image-lightbox';\nimport 'react-image-lightbox/style.css';\nimport { numberFormat } from '../../App';\nimport swal from 'sweetalert';\n\nclass MerchantProfile extends Component {\n\n constructor() {\n super();\n this.state = {\n user: {},\n updateUser: {},\n isLightBoxOpen: false,\n selectedImage: '',\n isUpdatingProfile: false,\n isUpdatingOrganizationLogo: false,\n isUpdatingPassword: false,\n }\n }\n\n\n componentDidMount() {\n let userId = this.props.match.params.id;\n this.fetchUserProfileDetails(userId);\n }\n\n getImage = async (fieldName, fileKey) => {\n await apicaller('get', `get/file?fileKey=${fileKey}`)\n .then(res => {\n if (res.status == 200) {\n let user = this.state.user;\n let buf = Buffer.from(res.data);\n let base64 = buf.toString('base64');\n let final_image = `data:image/jpeg;base64,${base64}`\n user[fieldName] = final_image\n this.setState({ user, updateUser: user })\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n })\n }\n\n downloadUserImages = async () => {\n if (this.state.user.organization_logo) {\n await this.getImage(\"organization_logo\", this.state.user.organization_logo)\n }\n if (this.state.user.organization_inside_image) {\n await this.getImage(\"organization_inside_image\", this.state.user.organization_inside_image)\n }\n if (this.state.user.organization_outside_image) {\n await this.getImage(\"organization_outside_image\", this.state.user.organization_outside_image)\n }\n if (this.state.user.canceled_check) {\n await this.getImage(\"canceled_check\", this.state.user.canceled_check)\n }\n\n if (this.state.user.pan_image) {\n await this.getImage(\"pan_image\", this.state.user.pan_image)\n }\n if (this.state.user.aadhar_front_image) {\n await this.getImage(\"aadhar_front_image\", this.state.user.aadhar_front_image)\n }\n if (this.state.user.aadhar_back_image) {\n await this.getImage(\"aadhar_back_image\", this.state.user.aadhar_back_image)\n }\n if (this.state.user.certificate_image) {\n await this.getImage(\"certificate_image\", this.state.user.certificate_image)\n }\n }\n\n fetchUserProfileDetails = (userId) => {\n apicaller('get', `user/${userId}/profile`)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n this.setState({\n user: res.data.data.user\n }, () => {\n this.downloadUserImages();\n })\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n })\n }\n\n handleOnChangeFields = (userField, value) => {\n let updateUser = this.state.updateUser;\n updateUser[userField] = value\n this.setState({\n updateUser,\n })\n }\n\n validateChangePassword(input) {\n let output = {};\n output.isvalid = true;\n output.message = \"\";\n const rpass = /^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9]).{8,16}$/\n if (!input.current_password || input.current_password == \"\") {\n output.isvalid = false;\n output.message = \"Please enter the current password.\";\n return output;\n }\n if (!input.new_password || input.new_password == \"\") {\n output.isvalid = false;\n output.message = \"Please enter the new password.\";\n return output;\n }\n if (!input.confirm_new_password || input.confirm_new_password == \"\") {\n output.isvalid = false;\n output.message = \"Please enter the new password.\";\n return output;\n }\n if (!rpass.test(input.new_password)) {\n output.isvalid = false;\n output.message = \"Please check for minimum conditions and enter a new password.\";\n return output;\n }\n\n if (input.new_password != input.confirm_new_password) {\n output.isvalid = false;\n output.message = \"Confirm password is incorrect.\";\n return output;\n }\n return output;\n }\n\n handleOnUpdateProfile = () => {\n let data = {};\n data.first_name = this.state.updateUser.first_name;\n data.last_name = this.state.updateUser.last_name;\n data.alternative_phone = this.state.updateUser.alternative_phone;\n data.shop_address = this.state.updateUser.shop_address;\n data.location = this.state.updateUser.location;\n data.account_number = this.state.updateUser.account_number;\n data.ifsc_code = this.state.updateUser.ifsc_code;\n data.account_holder_name = this.state.updateUser.account_holder_name;\n this.setState({\n isUpdatingProfile: true\n })\n apicaller('post', `user/${this.state.user._id}/profile/update`, data)\n .then(res => {\n if (res.status == 200) {\n swal('Success', \"user updated successfully\", 'success');\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n this.setState({\n isUpdatingProfile: false\n })\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isUpdatingProfile: false\n })\n })\n }\n\n handleOnUploadImage = (userField, files) => {\n let value;\n for (var i in files) {\n if (i != \"length\" && i != \"item\") {\n document.querySelector(`#${userField}`).textContent = files[i].name;\n var FileSize = files[i].size / 1024 / 1024; // in MB\n if (FileSize > 3) {\n swal('Alert', 'File size exceeds 3 MB', 'warning');\n }\n value = files[i];\n }\n }\n this.setState({\n [userField]: value,\n })\n }\n\n handleUpdateOrganizationLogo = () => {\n if (this.state.organization_logo) {\n if ((this.state.organization_logo.size / 1024 / 1024) < 3) {\n this.setState({\n isUpdatingOrganizationLogo: true\n })\n let data = new FormData();\n data.append(\"organization_logo\", this.state.organization_logo);\n apicaller('post', `user/${this.props.user._id}/profile/files/update`, data)\n .then(res => {\n console.log(res.data);\n if (res.status == 200) {\n swal('Success', 'Logo updated sucessfully.', 'success')\n document.getElementById('update-logo-model-close-button').click();\n this.fetchUserProfileDetails(this.props.user._id);\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n this.setState({\n isUpdatingOrganizationLogo: false\n })\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isUpdatingOrganizationLogo: false\n })\n })\n }\n else {\n swal('Warning', 'Merchant logo should be less than 3MB', 'warning')\n }\n }\n else {\n swal('Warning', 'Merchant logo is required', 'warning')\n }\n }\n\n handleOnUpdatePassword = () => {\n let data = {};\n data.current_password = this.state.updateUser.current_password;\n data.new_password = this.state.updateUser.new_password;\n this.setState({\n isUpdatingPassword: true\n })\n apicaller('post', `user/${this.state.user._id}/password/update`, data)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n swal('Success', 'password updated successfully', 'success');\n }\n else {\n swal('Warning', res.data.data.message, 'warning');\n }\n document.getElementById('update-password-model-close-button').click();\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n this.setState({\n isUpdatingPassword: false\n })\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n this.setState({\n isUpdatingPassword: false\n })\n })\n }\n\n handleShowPasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'block'\n }\n handleHidePasswordConditions = () => {\n let ele = document.getElementById('password');\n ele.style.display = 'none'\n }\n\n render() {\n return (\n
\n Profile\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n

Basic Details

\n
\n
\n
\n
Organization Name
\n {this.state.user.organization_name}\n
\n
\n
Proprietor First Name
\n {this.state.user.first_name}\n
\n
\n
Proprietor Last Name
\n {this.state.user.last_name}\n
\n
\n
Phone Number
\n {this.state.user.phone}\n
\n
\n
Alternate Phone Number
\n {this.state.user.alternative_phone}\n
\n
\n
Email
\n {this.state.user.email}\n
\n
\n
Date of Birth
\n {this.state.user.dob}\n
\n
\n
\n

Shop Details

\n
\n
\n
\n
Shop Address
\n {this.state.user.shop_address}\n
\n
\n
Location
\n {this.state.user.location}\n
\n
\n
Logo of Merchant
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.organization_logo })} alt=\"\" className=\"mt-2 mb-2 w-25\" />\n
\n
\n
Shop Photos
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.organization_outside_image })} alt=\"\" height=\"80%\" width=\"40%\" className=\"mt-2 mr-2 mb-2\" />\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.organization_inside_image })} alt=\"\" height=\"80%\" width=\"40%\" className=\"mt-2 mb-2\" />\n
\n
\n
\n

Bank Details

\n
\n
\n
\n
Account Number
\n {this.state.user.account_number}\n
\n
\n
IFSC Code
\n {this.state.user.ifsc_code}\n
\n
\n
Account Holder Name
\n {this.state.user.account_holder_name}\n
\n
\n
Canceled cheque
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.canceled_check })} height=\"80%\" width=\"40%\" alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
\n

Documents uploaded

\n
\n
\n
\n
PAN Card Number
\n {this.state.user.pan_number}\n
\n
\n
PAN Card
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.pan_image })} height=\"80%\" width=\"40%\" v alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
Aadhaar Card Number
\n {this.state.user.aadhar_number}\n
\n
\n
Aadhaar Card Front Image
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.aadhar_front_image })} height=\"80%\" width=\"40%\" alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
Aadhaar Card Back Image
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.aadhar_back_image })} height=\"80%\" width=\"40%\" alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
Shop Establishment Certificate
\n this.setState({ isLightBoxOpen: true, selectedImage: this.state.user.certificate_image })} height=\"80%\" width=\"40%\" alt=\"\" className=\"mt-2 mb-2 w-50\" />\n
\n
\n
\n
\n
\n
\n
\n
\n

Basic Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"first_name\", e.target.value)} value={this.state.updateUser.first_name} placeholder=\"Proprietor First Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"last_name\", e.target.value)} value={this.state.updateUser.last_name} placeholder=\"Proprietor Last Name\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"alternative_phone\", e.target.value)} value={this.state.updateUser.alternative_phone} placeholder=\"Enter Alternate Phone Number\" required />\n
\n
\n {/*
\n
\n \n \n
\n
*/}\n
\n
\n

Shop Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"shop_address\", e.target.value)} value={this.state.updateUser.shop_address} placeholder=\"Enter Shop Address\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"location\", e.target.value)} value={this.state.updateUser.location} placeholder=\"Enter Location\" required />\n
\n
\n {/*
\n \n
\n
\n \n \n
\n
\n
*/}\n
\n
\n

Bank Details

\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_number\", e.target.value)} value={this.state.updateUser.account_number} placeholder=\"Enter Account Number\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"ifsc_code\", e.target.value)} value={this.state.updateUser.ifsc_code} placeholder=\"Enter IFSC Code\" required />\n
\n
\n
\n
\n \n this.handleOnChangeFields(\"account_holder_name\", e.target.value)} value={this.state.updateUser.account_holder_name} placeholder=\"Enter Account Holder Name\" required />\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n {this.state.isLightBoxOpen && (\n this.setState({ isLightBoxOpen: false })}\n />\n )}\n {/* Modal */}\n
\n
\n
\n
Change Password
\n
\n
{ e.preventDefault(); this.handleOnUpdatePassword() }}>\n
\n
\n
\n \n this.handleOnChangeFields(\"current_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter Current Password\" required />\n
\n
\n \n this.handleOnChangeFields(\"new_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter New Password\" required />\n
\n Password should contain
\n Atleast one Uppercase letter
\n Atleast one Special character letter
\n Atleast one Number letter
\n Minimum length of 8 and Maximum of 16
\n
\n
\n
\n \n this.handleOnChangeFields(\"confirm_new_password\", e.target.value)} className=\"form-control\" placeholder=\"Enter New Password\" required />\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n {/* Update Logo Modal */}\n
\n
\n
\n
Update Logo
\n
\n
{ e.preventDefault(); this.handleUpdateOrganizationLogo() }}>\n
\n
\n
\n \n
\n
\n this.handleOnUploadImage(\"organization_logo\", e.target.files)} className=\"custom-file-input\" required />\n \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n )\n }\n}\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state)\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(MerchantProfile);","import React, { Component } from 'react';\nimport { connect } from \"react-redux\";\nimport { withRouter } from 'react-router-dom';\nimport { compose } from \"redux\";\nimport makeAnimated from 'react-select/animated';\nimport '../../assets/index.css';\nimport _ from 'lodash';\nimport { getUserData } from '../../modules/reducers';\nimport swal from 'sweetalert';\nimport apicaller from '../../util/ApiCaller';\nimport queryString from 'query-string';\n\n\n\nclass MasterLink extends Component {\n\n constructor() {\n super();\n this.state = {\n serviceDetails: {},\n userId: '',\n user: {}\n }\n }\n\n componentDidMount() {\n this.setState({\n userId: queryString.parse(this.props.location.search).id\n }, () => {\n this.fetchUserProfileDetails(this.state?.userId);\n })\n }\n\n handleOnChangeFields = (Field, value) => {\n let serviceDetails = this.state.serviceDetails;\n if (Field == \"receiptEmail\") {\n value = value.replace(/ /g, \"\");\n }\n serviceDetails[Field] = value\n this.setState({\n serviceDetails,\n })\n }\n\n verifyServiceDetails = (input) => {\n let output = {};\n output.isValid = true;\n output.message = \"\";\n const rp = /^[0-9]{10}$/g;\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n if (!input.receiptName || input.receiptName == \"\") {\n output.isValid = false;\n output.message = \"Please enter name\";\n return output;\n }\n if (!input.receiptPhone || input.receiptPhone == \"\" || !rp.test(input.receiptPhone)) {\n output.isValid = false;\n output.message = \"Please enter a valid phone number\";\n return output;\n }\n if (!input.receiptEmail || input.receiptEmail == \"\" || !re.test(input.receiptEmail)) {\n output.isValid = false;\n output.message = \"Please enter a valid email\";\n return output;\n }\n if (!input.amount || input.amount == \"\" || input.amount <= 0) {\n output.isValid = false;\n output.message = \"Please enter valid amount\";\n return output;\n }\n return output;\n }\n\n handleOnSubmitPayment = () => {\n if (this.state?.user?.isActive) {\n this.setState({\n isLoading: true\n })\n let serviceDetails = this.state.serviceDetails;\n let data = {\n \"amount\": serviceDetails.amount,\n \"serviceType\": this.state.selectedServiceShort,\n \"receiptPhone\": serviceDetails.receiptPhone,\n \"receiptEmail\": serviceDetails.receiptEmail,\n \"receiptName\": serviceDetails.receiptName,\n // \"gateway\": serviceDetails.gateway,\n };\n let validation = this.verifyServiceDetails(data);\n if (validation.isValid) {\n apicaller('post', `pgTransactions/merchant/${this.state.userId}/create_link`, data)\n .then(res => {\n if (res.status == 200) {\n if (res?.data?.data?.errorCode?.code) {\n if (res?.data?.data?.errorCode?.code == 1) {\n swal(\"try another service\")\n }\n else {\n swal(\"some internal issue\")\n }\n }\n else {\n let a = document.createElement(\"a\");\n document.body.appendChild(a);\n a.style = \"display: none\";\n // window.close();\n if (res.data.data.payment_link.short_url) {\n a.href = res.data.data.payment_link.short_url;\n }\n else {\n a.href = res.data.data.payment_link;\n }\n a.click();\n document.body.removeChild(a);\n\n }\n }\n else {\n swal(\"some internal issue\")\n }\n setTimeout(() => {\n this.setState({\n isLoading: false\n })\n }, 1500);\n })\n .catch(err => {\n this.setState({\n isLoading: false\n })\n swal('Error', err, 'error');\n })\n }\n else {\n this.setState({\n isLoading: false\n })\n swal(validation.message, \"\", \"warning\");\n }\n }\n else {\n swal(\"This merchant is inactive, transactions are disabled.\", \"\", \"warning\");\n }\n }\n\n fetchUserProfileDetails = (userId) => {\n apicaller('get', `user/${userId}/profile`)\n .then(res => {\n if (res.status == 200) {\n if (res.data.data.user) {\n this.setState({\n user: res.data.data.user\n }, () => {\n this.downloadUserImages();\n })\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n })\n .catch(err => {\n swal('Error', err.message, 'error');\n })\n }\n\n downloadUserImages = async () => {\n if (this.state.user.organization_logo) {\n await this.getImage(\"organization_logo\", this.state.user.organization_logo)\n }\n }\n\n getImage = async (fieldName, fileKey) => {\n await apicaller('get', `get/file?fileKey=${fileKey}`)\n .then(res => {\n if (res.status == 200) {\n let user = this.state.user;\n let buf = Buffer.from(res.data);\n let base64 = buf.toString('base64');\n let final_image = `data:image/jpeg;base64,${base64}`\n user[fieldName] = final_image\n this.setState({ user, updateUser: user })\n }\n else {\n swal('Error', 'some internal issue', 'error');\n }\n })\n }\n\n render() {\n return (\n
\n
\n
\n \n
\n
\n

{this.state?.user?.organization_name}

\n
\n
\n
\n {/*

Master Link for all services.

*/}\n
{ e.preventDefault(); this.handleOnSubmitPayment() }}>\n

{this.state.selectedService}

\n
\n
\n
\n \n \n \n this.handleOnChangeFields(\"receiptName\", e.target.value)} placeholder=\"Enter Name\" required />\n \n this.handleOnChangeFields(\"receiptEmail\", e.target.value)} placeholder=\"Enter Email\" required />\n \n this.handleOnChangeFields(\"receiptPhone\", e.target.value)} placeholder=\"Enter Phone Number\" required />\n \n this.handleOnChangeFields(\"amount\", e.target.value)} placeholder=\"Enter Amount to be collected\" required />\n {/*
\n this.handleOnChangeFields(\"gateway\", \"razorpay\")} />  \n \n
\n this.handleOnChangeFields(\"gateway\", \"easebuzz\")} />  \n */}\n
\n
\n
\n
\n \n {!this.state?.user?.isActive ? \"This merchant is inactive, transactions are disabled.\" : ''}\n {/* */}\n
\n
\n
\n
\n )\n }\n}\n\n\nconst mapStateToProps = state => {\n return {\n user: getUserData(state),\n }\n}\n\nconst mapDispatchToProps = dispatch => ({\n\n});\n\nexport default compose(withRouter, connect(mapStateToProps, mapDispatchToProps))(MasterLink);\n"],"sourceRoot":""}