Commit 53eaa6ec authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-dev(pc)' into 'master'

api reprot

See merge request !468
parents 48725352 dc026a39
...@@ -228,6 +228,7 @@ const create = (type = "") => { ...@@ -228,6 +228,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)
...@@ -403,7 +404,8 @@ const create = (type = "") => { ...@@ -403,7 +404,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