Commit 4c97688c authored by r.kurnia's avatar r.kurnia

Merge branch 'master' of http://103.44.149.204/d.arizona/tia-dev into rifka

parents 97d03709 5339593b
......@@ -271,6 +271,7 @@ const create = (type = "") => {
const uploadAttachmentMonthly = (body) => api.post('transaction/monthly_report/upload_attachment', body)
const deleteAttachmentMonthly = (id) => api.post(`transaction/monthly_report/delete_attachment/${id}`)
const createMonthlyReportBS = (body) => api.post('transaction/monthly_report_bs/create_monthly_report', body)
const createMonthlyReportLOCF = (body) => api.post('transaction/monthly_report_locf/create_monthly_report', body)
const createMonthlyReportTP = (body) => api.post('transaction/monthly_report_tp/create_monthly_report', body)
const createMonthlyReportFAM = (body) => api.post('transaction/monthly_report/fam/create_monthly_report', body)
const createMonthlyReportOI = (body) => api.post('transaction/monthly_report_oi/create_monthly_report', body)
......@@ -419,6 +420,7 @@ const create = (type = "") => {
deleteDocument,
createSubmitReport,
createMonthlyReportBS,
createMonthlyReportLOCF,
createMonthlyReportTP,
createMonthlyReportPL,
createMonthlyReportFAM,
......
......@@ -360,7 +360,7 @@ export default class BalanceSheetMR extends Component {
})
})
let body = {
"monthly_report_id": this.props.submissionID,
"monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id,
"periode": this.props.periode,
"report_id": this.props.report_id,
......@@ -415,7 +415,7 @@ export default class BalanceSheetMR extends Component {
})
})
let payload = {
"monthly_report_id": this.props.submissionID,
"monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id,
"periode": this.props.periode,
"report_id": this.props.report_id,
......@@ -434,10 +434,7 @@ export default class BalanceSheetMR extends Component {
})
}
} else {
this.setState({ loading: false }, () => {
this.getSubmission()
document.body.style.overflow = 'unset';
})
this.setState({ loading: false })
}
})
}
......
......@@ -312,7 +312,7 @@ export default class FixedAssetsMovementMR extends Component {
})
})
let body = {
"monthly_report_id": this.props.submissionID,
"monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id,
"periode": this.props.periode,
"report_id": this.props.report_id,
......@@ -363,7 +363,7 @@ export default class FixedAssetsMovementMR extends Component {
})
})
let payload = {
"monthly_report_id": this.props.submissionID,
"monthly_report_id": this.props.monthlyReportId,
"company_id": this.props.company.company_id,
"periode": this.props.periode,
"report_id": this.props.report_id,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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