Commit 0f5e3ea4 authored by Hardiansyah's avatar Hardiansyah

tambah parameter

parent c19bc168
...@@ -246,7 +246,8 @@ export default class CashFlowMR extends Component { ...@@ -246,7 +246,8 @@ export default class CashFlowMR extends Component {
"status": "submitted", "status": "submitted",
"months": this.props.month.month_id, "months": this.props.month.month_id,
"currency_id": this.props.defaultCurrency.id, "currency_id": this.props.defaultCurrency.id,
"cash_flow": listCF "cash_flow": listCF,
"master_report_type_id": this.props?.master_report_type_id
} }
this.props.createCashFlow(payload) this.props.createCashFlow(payload)
} }
......
...@@ -3784,6 +3784,7 @@ export default class MonthlyReport extends Component { ...@@ -3784,6 +3784,7 @@ export default class MonthlyReport extends Component {
PLBSFAMSubmitted={this.getLastStatus() === 'APPROVED' ? true : false} PLBSFAMSubmitted={this.getLastStatus() === 'APPROVED' ? true : false}
// PLBSFAMSubmitted={false} // PLBSFAMSubmitted={false}
createCashFlow={this.createCashFlow.bind(this)} createCashFlow={this.createCashFlow.bind(this)}
master_report_type_id={this.getActiveMasterReportTypeId()}
/> />
)} )}
......
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