Commit da69b69c authored by Hardiansyah's avatar Hardiansyah

Fix missing function

parent ceba5012
...@@ -1750,6 +1750,13 @@ export default class OutlookPA extends Component { ...@@ -1750,6 +1750,13 @@ export default class OutlookPA extends Component {
return tableKey === 'CAT' ? lastStatusCat : lastStatus return tableKey === 'CAT' ? lastStatusCat : lastStatus
} }
getActiveMasterReportTypeId = () => {
const { tableKey, rowDataFinance, rowDataCAT } = this.state
const mstIdFinance = rowDataFinance?.length > 0 && rowDataFinance[0]?.master_report_type_id
const mstIdCAT = rowDataCAT?.length > 0 && rowDataCAT[0]?.master_report_type_id
return tableKey === 'CAT' ? mstIdCAT : mstIdFinance
}
getSubmissionObj = (tableKeyParam) => { getSubmissionObj = (tableKeyParam) => {
const { const {
tableKey, tableKey,
......
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