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 = "") => { ...@@ -486,6 +486,7 @@ const create = (type = "") => {
const getMonitoringMR = (body) => api.get(`transaction/monitoring/monthly_report/${body.year}/${body.month}`) 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 getMonitoringRO = (body) => api.get(`transaction/monitoring/rolling_outlook/${body.year}/${body.quarter}`)
const getMonitoringOLPA = (body) => api.get(`transaction/monitoring/outlook/${body.year}`) const getMonitoringOLPA = (body) => api.get(`transaction/monitoring/outlook/${body.year}`)
const getMonitoringCafrm = (body) => api.get(`transaction/monitoring/cafrm/${body.year}/${body.month}`)
// Superadmin Approve // Superadmin Approve
const getListApprover = (report, monthlyReportId) => api.get(`transaction/${report}/get_approver/${monthlyReportId}`) const getListApprover = (report, monthlyReportId) => api.get(`transaction/${report}/get_approver/${monthlyReportId}`)
...@@ -840,6 +841,7 @@ const create = (type = "") => { ...@@ -840,6 +841,7 @@ const create = (type = "") => {
getMonitoringMR, getMonitoringMR,
getMonitoringRO, getMonitoringRO,
getMonitoringOLPA, getMonitoringOLPA,
getMonitoringCafrm,
getListApprover, getListApprover,
getIdToken, getIdToken,
triggerHistoricalRatio triggerHistoricalRatio
......
...@@ -8,11 +8,11 @@ import ReactTooltip from 'react-tooltip'; ...@@ -8,11 +8,11 @@ import ReactTooltip from 'react-tooltip';
import api from '../../api'; import api from '../../api';
import PropagateLoader from "react-spinners/PropagateLoader" import PropagateLoader from "react-spinners/PropagateLoader"
import TableDocument from "./TableCafrmDocument"; import TableDocument from "./TableCafrmDocument";
import CreateCarfmDoc from "./CreateCarfmDocument"; import CreateCafrmDoc from "./CreateCafrmDocument";
const Alert = withStyles({})((props) => <MuiAlert elevation={6} variant="filled" {...props} />); const Alert = withStyles({})((props) => <MuiAlert elevation={6} variant="filled" {...props} />);
export default class CarfmDocument extends Component { export default class CafrmDocument extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
...@@ -301,7 +301,7 @@ export default class CarfmDocument extends Component { ...@@ -301,7 +301,7 @@ export default class CarfmDocument extends Component {
</div> </div>
{this.state.visibleCreate && ( {this.state.visibleCreate && (
<CreateCarfmDoc <CreateCafrmDoc
onClickClose={() => this.setState({ visibleCreate: false })} onClickClose={() => this.setState({ visibleCreate: false })}
// getDataDocument={this.getDataDocument.bind(this)} // getDataDocument={this.getDataDocument.bind(this)}
createDocument={this.createDocument.bind(this)} createDocument={this.createDocument.bind(this)}
......
...@@ -14,7 +14,7 @@ import PropagateLoader from "react-spinners/PropagateLoader" ...@@ -14,7 +14,7 @@ import PropagateLoader from "react-spinners/PropagateLoader"
const Alert = withStyles({ const Alert = withStyles({
})((props) => <MuiAlert elevation={6} variant="filled" {...props} />); })((props) => <MuiAlert elevation={6} variant="filled" {...props} />);
export default class CreateCarfmDoc extends Component { export default class CreateCafrmDoc extends Component {
constructor(props) { constructor(props) {
super(props) super(props)
this.state = { this.state = {
......
This diff is collapsed.
...@@ -20,7 +20,8 @@ import SubHolding from '../container/Reports/SubHolding'; ...@@ -20,7 +20,8 @@ import SubHolding from '../container/Reports/SubHolding';
import SummaryTriputra from '../container/SummaryTriputra/SummaryOfTriputra'; import SummaryTriputra from '../container/SummaryTriputra/SummaryOfTriputra';
import MasterDataCAT from '../container/MasterData/MasterDataCAT/MasterDataCAT'; import MasterDataCAT from '../container/MasterData/MasterDataCAT/MasterDataCAT';
import ProgressReport from '../container/ProgressReport/ProgressReport'; 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 = [ const routes = [
{ {
...@@ -113,15 +114,19 @@ const routes = [ ...@@ -113,15 +114,19 @@ const routes = [
}, },
{ {
path: "/home/internal-audit", path: "/home/internal-audit",
main: CarfmDocument main: CafrmDocument
}, },
{ {
path: "/home/anti-fraud", path: "/home/anti-fraud",
main: CarfmDocument main: CafrmDocument
}, },
{ {
path: "/home/risk-management", path: "/home/risk-management",
main: CarfmDocument main: CafrmDocument
},
{
path: "/home/progress-report-cafrm",
main: ReportCafrm
}, },
{ {
path: "*", 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