Commit 97303fc5 authored by Riri Novita's avatar Riri Novita

Anomali CAT

parent 2057d0fc
......@@ -628,7 +628,7 @@ export default class BudgetTahunan extends Component {
console.log(response)
if (response.data) {
if (response.data.status === "success") {
if (type === "CAT") {
if (type === "CAT" || type === "DraftCAT") {
this.setState({ visibleCAT: false, visibleBudgetTahunan: true, loading: false })
} else {
this.setState({ visibleBudgetTahunan: true, loading: false })
......
......@@ -825,10 +825,10 @@ export default class CorporateAnnualTarget extends Component {
if (type == 'submitted') {
this.props.getReport(body, 'CAT')
} else {
this.props.getReport(body)
this.props.getReport(body, 'DraftCAT')
}
this.setState({ loading: false })
// this.props.onClickClose()
this.props.onClickClose()
// this.props.getReport()
} else {
if (response.data?.message == "Please Set Up Rate Currency First") {
......
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