import * as React from 'react'; import { isPaymentMethodEnabled } from '../../../helpers/common-helper'; export interface Props { updateState: (arg: number) => void; paymentData: { [key: string]: any } } export interface State { } export default class OtherMethods extends React.Component { constructor(props: Props) { super(props); this.state = { submitted: false, currentState: 0 }; } isMappingExists = (mappingId: string) => { const { activeMapping } = this.props.paymentData; return isPaymentMethodEnabled(mappingId, activeMapping); } componentDidMount(): void { this.props.updateState(54) } render() { return (

Cash

{this.isMappingExists("cash") ? this.props.updateState(54)} className="paymentMethod"> Cash : null} {this.isMappingExists("rtgs") ? this.props.updateState(51)} className="paymentMethod"> E-RTGS : null} {this.isMappingExists("neft_rtgs") ? this.props.updateState(52)} className="paymentMethod"> E-NEFT : null} {this.isMappingExists("imps") ? this.props.updateState(53)} className="paymentMethod"> E-IMPS : null}

How it works

generate

Select bank to generate challan

Step: 1

generate

Generate and Print Challan Invoice

Step: 2

generate

Submit challan and pay cash at the nearest bank

Step: 3

); } }