Commit 1747715e authored by Riri Novita's avatar Riri Novita

Merge branch 'riri' into 'master'

ROPL

See merge request !1232
parents 774159cd 84e7b513
......@@ -240,8 +240,10 @@ const create = (type = "") => {
const getReportHierarkiPL = (body) => api.post('transaction/db_profit_loss_detail/get_report_hierarki', body)
const getLastestUpdateMROI = (body) => api.post('transaction/operating_indicator/monthly_report/get_latest_update', body)
// Rolling Outlook
const getRollingOutlookID = (body) => api.post('transaction/rolling_outlook/get_rolling_outlook_id', body)
const getRollingOutlookBS = (body) => api.post('transaction/balance_sheet/rolling_outlook/get_report_hierarki', body)
const getRollingOutlookPL = (body) => api.post('transaction/profit_loss/rolling_outlook/get_report_hierarki', body)
//REPORT NEW
......@@ -699,7 +701,8 @@ const create = (type = "") => {
getDetailMasterDataCat,
deleteMasterDataCat,
getListChildDashboardCAT,
getDashboardCATDetail
getDashboardCATDetail,
getRollingOutlookPL
}
}
......
......@@ -1215,7 +1215,13 @@ export default class RollingOutlook extends Component {
{this.state.visiblePL && (
<ProfitLossRO
width={this.props.width}
height={this.props.height}
open={this.props.open}
report_id={this.state.report_id}
company={this.state.company}
revision={this.state.revisionTable}
periode={this.state.periode.periode}
rollingOutlookID={this.state.rollingOutlookID}
onClickClose={() => this.setState({ visiblePL: false, visibleRollingOutlook: true })}
/>
)}
......
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