Commit 0e779801 authored by Deni Rinaldi's avatar Deni Rinaldi

Merge branch 'deni-' into 'master'

submisionid = monthlyID

See merge request !771
parents 8180dcfa cee18aa7
...@@ -360,7 +360,7 @@ export default class BalanceSheetMR extends Component { ...@@ -360,7 +360,7 @@ export default class BalanceSheetMR extends Component {
}) })
}) })
let body = { let body = {
"monthly_report_id": this.props.submissionID, "monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id, "company_id": this.props.company.company_id,
"periode": this.props.periode, "periode": this.props.periode,
"report_id": this.props.report_id, "report_id": this.props.report_id,
...@@ -415,7 +415,7 @@ export default class BalanceSheetMR extends Component { ...@@ -415,7 +415,7 @@ export default class BalanceSheetMR extends Component {
}) })
}) })
let payload = { let payload = {
"monthly_report_id": this.props.submissionID, "monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id, "company_id": this.props.company.company_id,
"periode": this.props.periode, "periode": this.props.periode,
"report_id": this.props.report_id, "report_id": this.props.report_id,
...@@ -434,10 +434,7 @@ export default class BalanceSheetMR extends Component { ...@@ -434,10 +434,7 @@ export default class BalanceSheetMR extends Component {
}) })
} }
} else { } else {
this.setState({ loading: false }, () => { this.setState({ loading: false })
this.getSubmission()
document.body.style.overflow = 'unset';
})
} }
}) })
} }
......
...@@ -312,7 +312,7 @@ export default class FixedAssetsMovementMR extends Component { ...@@ -312,7 +312,7 @@ export default class FixedAssetsMovementMR extends Component {
}) })
}) })
let body = { let body = {
"monthly_report_id": this.props.submissionID, "monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id, "company_id": this.props.company.company_id,
"periode": this.props.periode, "periode": this.props.periode,
"report_id": this.props.report_id, "report_id": this.props.report_id,
...@@ -363,7 +363,7 @@ export default class FixedAssetsMovementMR extends Component { ...@@ -363,7 +363,7 @@ export default class FixedAssetsMovementMR extends Component {
}) })
}) })
let payload = { let payload = {
"monthly_report_id": this.props.submissionID, "monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id, "company_id": this.props.company.company_id,
"periode": this.props.periode, "periode": this.props.periode,
"report_id": this.props.report_id, "report_id": this.props.report_id,
......
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