Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
784981d2
Commit
784981d2
authored
Jul 06, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/riri' into 'ENV-DEV'
Anomali CAT See merge request
!1877
parents
e2f082a5
24d3581e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
BudgetTahunan.js
src/container/BudgetTahunan/BudgetTahunan.js
+1
-1
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+2
-2
No files found.
src/container/BudgetTahunan/BudgetTahunan.js
View file @
784981d2
...
@@ -628,7 +628,7 @@ export default class BudgetTahunan extends Component {
...
@@ -628,7 +628,7 @@ export default class BudgetTahunan extends Component {
console
.
log
(
response
)
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
type
===
"CAT"
)
{
if
(
type
===
"CAT"
||
type
===
"DraftCAT"
)
{
this
.
setState
({
visibleCAT
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
this
.
setState
({
visibleCAT
:
false
,
visibleBudgetTahunan
:
true
,
loading
:
false
})
}
else
{
}
else
{
this
.
setState
({
visibleBudgetTahunan
:
true
,
loading
:
false
})
this
.
setState
({
visibleBudgetTahunan
:
true
,
loading
:
false
})
...
...
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
784981d2
...
@@ -825,10 +825,10 @@ export default class CorporateAnnualTarget extends Component {
...
@@ -825,10 +825,10 @@ export default class CorporateAnnualTarget extends Component {
if
(
type
==
'submitted'
)
{
if
(
type
==
'submitted'
)
{
this
.
props
.
getReport
(
body
,
'CAT'
)
this
.
props
.
getReport
(
body
,
'CAT'
)
}
else
{
}
else
{
this
.
props
.
getReport
(
body
)
this
.
props
.
getReport
(
body
,
'DraftCAT'
)
}
}
this
.
setState
({
loading
:
false
})
this
.
setState
({
loading
:
false
})
//
this.props.onClickClose()
this
.
props
.
onClickClose
()
// this.props.getReport()
// this.props.getReport()
}
else
{
}
else
{
if
(
response
.
data
?.
message
==
"Please Set Up Rate Currency First"
)
{
if
(
response
.
data
?.
message
==
"Please Set Up Rate Currency First"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment