/**
* NewViewRestrictedPayeePanel.js
*/
import React, { Component, Fragment } from "react";
import PropTypes from "prop-types";
import { observer } from "mobx-react";
import Col from "react-bootstrap/lib/Col";
import Row from "react-bootstrap/lib/Row";
import { BaseContext } from "frontend-react-f4-base-commons";
const { connect } = BaseContext;
import { BaseComponents } from "frontend-react-f4-base-ui";
const { strings } = BaseComponents;
import BoViewPortlet from "../BoViewPortlet/BoViewPortlet";
import BoViewField from "../BoViewField/BoViewField";
import BoViewPanel from "../BoViewPanel/BoViewPanel";
import ConfirmAckPage from "../ConfirmAckPage/ConfirmAckPage";
import YesOrNoEnum from "../../enums/YesOrNoEnum";
@observer
@connect
class NewViewRestrictedPayeePanel extends Component {
constructor(props) {
super(props);
}
getContent = () => {
const { data } = this.props;
return (
);
};
getConfirmAck = () => {
return {this.getContent()};
};
render() {
const { data, isConfirm, isAck, isView } = this.props;
return (
{isView ? this.getContent() : this.getConfirmAck()}
);
}
}
NewViewRestrictedPayeePanel.propTypes = {
// props definition
};
NewViewRestrictedPayeePanel.defaultProps = {
// default props
};
export default NewViewRestrictedPayeePanel;