Commit 3d0b0992 authored by muhammad ridwan's avatar muhammad ridwan

Merge branch 'ENV-DEV-CR-CAFRM' into 'ENV-DEPLOYMENT'

Env dev cr cafrm

See merge request !1605
parents d5f9ea51 9cfc5273
......@@ -486,6 +486,7 @@ const create = (type = "") => {
const getMonitoringMR = (body) => api.get(`transaction/monitoring/monthly_report/${body.year}/${body.month}`)
const getMonitoringRO = (body) => api.get(`transaction/monitoring/rolling_outlook/${body.year}/${body.quarter}`)
const getMonitoringOLPA = (body) => api.get(`transaction/monitoring/outlook/${body.year}`)
const getMonitoringCafrm = (body) => api.get(`transaction/monitoring/cafrm/${body.year}/${body.month}`)
// Superadmin Approve
const getListApprover = (report, monthlyReportId) => api.get(`transaction/${report}/get_approver/${monthlyReportId}`)
......@@ -840,6 +841,7 @@ const create = (type = "") => {
getMonitoringMR,
getMonitoringRO,
getMonitoringOLPA,
getMonitoringCafrm,
getListApprover,
getIdToken,
triggerHistoricalRatio
......
......@@ -8,11 +8,11 @@ import ReactTooltip from 'react-tooltip';
import api from '../../api';
import PropagateLoader from "react-spinners/PropagateLoader"
import TableDocument from "./TableCafrmDocument";
import CreateCarfmDoc from "./CreateCarfmDocument";
import CreateCafrmDoc from "./CreateCafrmDocument";
const Alert = withStyles({})((props) => <MuiAlert elevation={6} variant="filled" {...props} />);
export default class CarfmDocument extends Component {
export default class CafrmDocument extends Component {
constructor(props) {
super(props);
......@@ -301,7 +301,7 @@ export default class CarfmDocument extends Component {
</div>
{this.state.visibleCreate && (
<CreateCarfmDoc
<CreateCafrmDoc
onClickClose={() => this.setState({ visibleCreate: false })}
// getDataDocument={this.getDataDocument.bind(this)}
createDocument={this.createDocument.bind(this)}
......
......@@ -14,7 +14,7 @@ import PropagateLoader from "react-spinners/PropagateLoader"
const Alert = withStyles({
})((props) => <MuiAlert elevation={6} variant="filled" {...props} />);
export default class CreateCarfmDoc extends Component {
export default class CreateCafrmDoc extends Component {
constructor(props) {
super(props)
this.state = {
......
This diff is collapsed.
......@@ -20,7 +20,8 @@ import SubHolding from '../container/Reports/SubHolding';
import SummaryTriputra from '../container/SummaryTriputra/SummaryOfTriputra';
import MasterDataCAT from '../container/MasterData/MasterDataCAT/MasterDataCAT';
import ProgressReport from '../container/ProgressReport/ProgressReport';
import CarfmDocument from "../container/CAFRM/CafrmDocument";
import CafrmDocument from "../container/CAFRM/CafrmDocument";
import ReportCafrm from "../container/ReportCarfm/RepotrCafrm";
const routes = [
{
......@@ -113,15 +114,19 @@ const routes = [
},
{
path: "/home/internal-audit",
main: CarfmDocument
main: CafrmDocument
},
{
path: "/home/anti-fraud",
main: CarfmDocument
main: CafrmDocument
},
{
path: "/home/risk-management",
main: CarfmDocument
main: CafrmDocument
},
{
path: "/home/progress-report-cafrm",
main: ReportCafrm
},
{
path: "*",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment