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
9cc6a760
Commit
9cc6a760
authored
May 07, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update validasi opbal MB
parent
f2b2151e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+10
-1
No files found.
src/container/BudgetTahunan.js
View file @
9cc6a760
...
@@ -290,13 +290,22 @@ export default class BudgetTahunan extends Component {
...
@@ -290,13 +290,22 @@ export default class BudgetTahunan extends Component {
}
else
{
}
else
{
status_approv
=
String
(
item
.
current_status
)
status_approv
=
String
(
item
.
current_status
)
}
}
const
handleOpbal
=
(
item
)
=>
{
let
isUpload
=
false
if
(
Number
(
this
.
state
.
periode
.
periode
)
<=
2020
)
{
isUpload
=
true
}
else
{
isUpload
=
item
}
return
isUpload
}
return
[
return
[
item
.
number
,
item
.
number
,
item
.
report_name
===
'CAT'
?
'Corporate Annual Target'
:
item
.
report_name
,
item
.
report_name
===
'CAT'
?
'Corporate Annual Target'
:
item
.
report_name
,
item
.
revision
,
item
.
revision
,
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
status_approv
,
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
status_approv
,
item
.
report_id
,
item
.
report_id
,
item
.
report_name
===
"Cash Flow"
?
item
.
is_can_upload
:
(
Number
(
item
.
revision
)
>
0
?
(
item
.
current_status
==
"not-yet"
?
false
:
item
.
is_can_upload
)
:
item
.
is_can_upload
),
item
.
report_name
===
"Cash Flow"
?
handleOpbal
(
item
.
is_can_upload
)
:
(
Number
(
item
.
revision
)
>
0
?
(
item
.
current_status
==
"not-yet"
?
false
:
handleOpbal
(
item
.
is_can_upload
))
:
handleOpbal
(
item
.
is_can_upload
)
),
item
.
revision
item
.
revision
]
]
})
})
...
...
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