Commit dc026a39 authored by Deni Rinaldi's avatar Deni Rinaldi

api reprot

parent 60a0f811
...@@ -227,6 +227,7 @@ const create = (type = "") => { ...@@ -227,6 +227,7 @@ const create = (type = "") => {
const getSubmitOLPA = (body) => api.post('transaction/outlook_pa/get_latest_periode_submit', body) const getSubmitOLPA = (body) => api.post('transaction/outlook_pa/get_latest_periode_submit', body)
const getOLPAAtt = (body) => api.post('transaction/outlook_pa/get_report_attachment', body) const getOLPAAtt = (body) => api.post('transaction/outlook_pa/get_report_attachment', body)
const submitOLPA = (body) => api.post('transaction/outlook_pa/submit_outlook_pa', body) const submitOLPA = (body) => api.post('transaction/outlook_pa/submit_outlook_pa', body)
const getDetailReportOLPA = (body) => api.post('transaction/outlook_pa/get_report_hierarki', body)
const getLastestUpdateOLPA = (body) => api.post('transaction/outlook_pa/get_latest_update', body) const getLastestUpdateOLPA = (body) => api.post('transaction/outlook_pa/get_latest_update', body)
const createReportOLPA = (body) => api.post('transaction/outlook_pa/create_outlook_report', body) const createReportOLPA = (body) => api.post('transaction/outlook_pa/create_outlook_report', body)
const checkUploadOLPA = (body) => api.post('transaction/outlook_pa/check_import', body) const checkUploadOLPA = (body) => api.post('transaction/outlook_pa/check_import', body)
...@@ -401,7 +402,8 @@ const create = (type = "") => { ...@@ -401,7 +402,8 @@ const create = (type = "") => {
createReportOLPA, createReportOLPA,
checkUploadOLPA, checkUploadOLPA,
uploadOLPA, uploadOLPA,
validateSubmitReportOLPA validateSubmitReportOLPA,
getDetailReportOLPA
} }
} }
......
...@@ -85,7 +85,7 @@ export default class BalanceSheetOLPA extends Component { ...@@ -85,7 +85,7 @@ export default class BalanceSheetOLPA extends Component {
"periode": this.props.periode, "periode": this.props.periode,
"company_id": this.props.company.company_id "company_id": this.props.company.company_id
} }
let response = await api.create().getDetailReportMB(payload) let response = await api.create().getDetailReportOLPA(payload)
console.log(response); console.log(response);
let dataTable = [] let dataTable = []
if (response.data) { if (response.data) {
......
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