Commit c0c29e88 authored by r.kurnia's avatar r.kurnia

cat olpa

parent a3c94ba4
......@@ -367,6 +367,7 @@ const create = (type = "") => {
const getHierarkiDBPLRO = (body) => api.post('transaction/db_profit_loss/rolling_outlook/get_report_hierarki', body)
const createDBPLRO = (body) => api.post('transaction/db_profit_loss/rolling_outlook/create_rolling_outlook', body)
const getDetailReportOLPACAT = (body) => api.post('transaction/cat/outlook_pa/get_report_hierarki', body)
const createCATOLPA = (body) => api.post('transaction/cat/outlook_pa/create_outlook_pa', body)
// Monthly
const getMonthlyReport = (body) => api.post('transaction/monthly_report/get_all_report', body)
......@@ -804,7 +805,8 @@ const create = (type = "") => {
createDBPLOLPA,
getHierarkiDBPLRO,
createDBPLRO,
getDetailReportOLPACAT
getDetailReportOLPACAT,
createCATOLPA
}
}
......
......@@ -426,7 +426,7 @@ export default class CorporateAnnualTargetRO extends Component {
"cat": data
}
// console.log(JSON.stringify(payload));
api.create('UPLOAD').createRollingOutlookCAT(payload).then(response => {
api.create('UPLOAD').createCATOLPA(payload).then(response => {
console.log(payload);
console.log(response);
// console.log(JSON.stringify(payload))
......@@ -444,7 +444,7 @@ export default class CorporateAnnualTargetRO extends Component {
}, 1000);
}
this.props.onClickClose()
this.props.refresh()
// this.props.refresh()
})
}
// else {
......
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