Commit 77e8cf8a authored by r.kurnia's avatar r.kurnia

add index api, tp mr checkupload

parent 9690bcc5
......@@ -265,8 +265,10 @@ 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 createTaxPlanningMR = (body) => api.post('transaction/monthly_report_tp/create_monthly_report', body)
const createMonthlyReportTP = (body) => api.post('transaction/monthly_report_tp/create_monthly_report', body)
const getHierarkiMontlyReportFAM = (body) => api.post('transaction/monthly_report/fam/get_report_hierarki', body)
const checkUploadMonthlyReportTP = (body) => api.post('transaction/monthly_report_tp/check_import', body)
// MonthlyPL
const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body)
......@@ -402,6 +404,7 @@ const create = (type = "") => {
deleteDocument,
createSubmitReport,
createMonthlyReportBS,
createMonthlyReportTP,
getSubmission,
checkUploadMB,
getAllOperatingInd,
......@@ -434,7 +437,6 @@ const create = (type = "") => {
uploadAttachmentMonthly,
getMontlyReportAtt,
deleteAttachmentMonthly,
createTaxPlanningMR,
getSubmitMasterBudget,
createPeriodeRevision,
getLastestUpdateOI,
......@@ -471,7 +473,8 @@ const create = (type = "") => {
getDetailHierarkiCF,
getHierarkiMontlyReportPL,
getHierarkiMontlyReportLOCF,
getHierarkiMontlyReportFAM
getHierarkiMontlyReportFAM,
checkUploadMonthlyReportTP
}
}
......
......@@ -1083,9 +1083,9 @@ export default class MonthlyReport extends Component {
periode={this.state.periode.periode}
monthlyReportId={this.state.monthlyReportId}
month={this.state.month}
// saveToMasterBudget={this.saveToMasterBudget.bind(this)}
// getReport={this.getCompanyActive.bind(this)}
saveToMonthlyReport={this.saveToMonthlyReport.bind(this)}
onClickClose={() => this.setState({ visibleTP: false, visibleMonthlyReport: true })}
// getReport={this.getCompanyActive.bind(this)}
/>
)}
{this.state.visibleFAM && (
......
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