Commit be083e31 authored by d.arizona's avatar d.arizona

apdet

parent 9e958691
...@@ -289,7 +289,10 @@ const create = (type = "") => { ...@@ -289,7 +289,10 @@ const create = (type = "") => {
const validateSubmitReportBS = (body) => api.post('transaction/monthly_report_bs/validate_save', body) const validateSubmitReportBS = (body) => api.post('transaction/monthly_report_bs/validate_save', body)
const validateSubmitReportMR = (body) => api.post('transaction/monthly_report/validate_save', body) const validateSubmitReportMR = (body) => api.post('transaction/monthly_report/validate_save', body)
const validateSubmitReportMRTP = (body) => api.post('transaction/monthly_report_tp/validate_save', body) const validateSubmitReportMRTP = (body) => api.post('transaction/monthly_report_tp/validate_save', body)
const getPerBSiMontlyReportLOCF = (body) => api.post('transaction/monthly_report_locf/get_per_bs', body)
const checkUploadMonthlyReportLOCF = (body) => api.post('transaction/monthly_report_locf/check_import', body)
const uploadMonthlyReportLOCF = (body) => api.post('transaction/monthly_report_locf/import_monthly_report', body)
// MonthlyPL // MonthlyPL
const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body) const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body)
const createMonthlyReportPL = (body) => api.post('transaction/monthly_report_pl/create_monthly_report', body) const createMonthlyReportPL = (body) => api.post('transaction/monthly_report_pl/create_monthly_report', body)
...@@ -522,7 +525,10 @@ const create = (type = "") => { ...@@ -522,7 +525,10 @@ const create = (type = "") => {
validateSubmitReportMR, validateSubmitReportMR,
validateSubmitReportMRTP, validateSubmitReportMRTP,
validateSubmitReportBS, validateSubmitReportBS,
validateSubmitReportPL validateSubmitReportPL,
getPerBSiMontlyReportLOCF,
checkUploadMonthlyReportLOCF,
uploadMonthlyReportLOCF
} }
} }
......
...@@ -1206,10 +1206,9 @@ export default class MonthlyReport extends Component { ...@@ -1206,10 +1206,9 @@ export default class MonthlyReport extends Component {
periode={this.state.periode.periode} periode={this.state.periode.periode}
monthlyReportId={this.state.monthlyReportId} monthlyReportId={this.state.monthlyReportId}
month={this.state.month} month={this.state.month}
status={"not-yet"} saveToMonthlyReport={this.saveToMonthlyReport.bind(this)}
prevRevision={false} onClickClose={() => this.setState({ visibleLOCF: false, visibleMonthlyReport: true })}
lastStatus={'SUBMIT'} isApprover={this.state.isApprover}
isAprrover={false}
/> />
)} )}
......
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