Commit 58d3c587 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

olpa cat

See merge request !1454
parents b72caffb c0c29e88
......@@ -367,6 +367,7 @@ const create = (type = "") => {
const getHierarkiDBPLRO = (body) => api.post('transaction/db_profit_loss/rolling_outlook/get_report_hierarki', body)
const createDBPLRO = (body) => api.post('transaction/db_profit_loss/rolling_outlook/create_rolling_outlook', body)
const getDetailReportOLPACAT = (body) => api.post('transaction/cat/outlook_pa/get_report_hierarki', body)
const createCATOLPA = (body) => api.post('transaction/cat/outlook_pa/create_outlook_pa', body)
// Monthly
const getMonthlyReport = (body) => api.post('transaction/monthly_report/get_all_report', body)
......@@ -804,7 +805,8 @@ const create = (type = "") => {
createDBPLOLPA,
getHierarkiDBPLRO,
createDBPLRO,
getDetailReportOLPACAT
getDetailReportOLPACAT,
createCATOLPA
}
}
......
......@@ -226,9 +226,9 @@ export default class OutlookPA extends Component {
item.revision
]
})
dataTable.push([
5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
])
// dataTable.push([
// 5, "Corporate Annual Target", 0, "not-yet", 39, false, 0
// ])
let dataTableRevision = response.data.data.map((item, index) => {
return [
item.report_id,
......@@ -615,7 +615,8 @@ export default class OutlookPA extends Component {
visibleCF: true,
visibleCAT: false
})
} else if (item === 'Corporate Annual Target') {
// } else if (item === 'Corporate Annual Target') {
} else if (item === 'CAT') {
this.setState({
visibleOutlookPA: false,
visibleBS: false,
......@@ -1365,7 +1366,7 @@ export default class OutlookPA extends Component {
name: "Action",
options: {
customBodyRender: (val, tableMeta) => {
console.log(tableMeta)
// console.log(tableMeta)
return (
<div style={{ display: 'flex' }}>
<button
......
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