Commit e711c694 authored by Riri Novita's avatar Riri Novita

plsum

parent a0cb23e1
......@@ -247,6 +247,7 @@ const create = (type = "") => {
const getReportCFSumaMB = (body) => api.post('/transaction/summary_cash_flow/master_budget/get_report_hierarki', body)
const getReportCFSumaMR = (body) => api.post('/transaction/summary_cash_flow/monthly_report/get_report_hierarki', body)
const getReportCFSuma = (body) => api.post('/transaction/summary_cash_flow/summary/get_report_hierarki', body)
const getReportPLSuma = (body) => api.post('/transaction/summary_profit_loss/summary/get_report_hierarki', body)
//CASH FLOW
const getDetailReportCF = (body) => api.post('/transaction/cash_flow/master_budget/get_report_hierarki', body)
......@@ -602,7 +603,8 @@ const create = (type = "") => {
getReportCFSumaMB,
getReportCFSumaMR,
createReportCF,
getReportCFSuma
getReportCFSuma,
getReportPLSuma
}
}
......
......@@ -1184,8 +1184,8 @@ export default class SubHolding extends Component {
})
} else if (this.state.report.value === 8) {
api.create().getReportPLMB(payload).then(response => {
// console.log(response);
api.create().getReportPLSuma(payload).then(response => {
console.log(response);
// if (response.data) {
// let dataTable = []
// console.log(response)
......
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