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
470a5d4e
Commit
470a5d4e
authored
Nov 03, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-' into 'master'
papalipapali See merge request
!611
parents
7df99554
6a9f9e77
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
539 additions
and
768 deletions
+539
-768
BudgetTahunan.js
src/container/BudgetTahunan.js
+9
-6
CashFlow.js
src/container/BudgetTahunan/CashFlow.js
+530
-762
No files found.
src/container/BudgetTahunan.js
View file @
470a5d4e
...
@@ -200,14 +200,17 @@ export default class BudgetTahunan extends Component {
...
@@ -200,14 +200,17 @@ export default class BudgetTahunan extends Component {
item
.
revision
item
.
revision
]
]
})
})
let
dataTableRevision
=
response
.
data
.
data
.
map
((
item
,
index
)
=>
{
let
dataTableRevision
=
[]
return
[
response
.
data
.
data
.
map
((
item
,
index
)
=>
{
if
(
item
.
report_name
!==
'Cash Flow'
)
{
dataTableRevision
.
push
([
item
.
report_id
,
item
.
report_id
,
item
.
report_name
===
'CAT'
?
'Corporate Annual Target'
:
item
.
report_name
,
item
.
report_name
===
'CAT'
?
'Corporate Annual Target'
:
item
.
report_name
,
""
""
]
])
}
})
})
// console.log(dataTable);
// console.log(dataTable
Revision
);
this
.
setState
({
dataTable
,
loading
:
false
,
dataTableRevision
,
dataForRevision
:
response
.
data
.
data
},
()
=>
{
this
.
setState
({
dataTable
,
loading
:
false
,
dataTableRevision
,
dataForRevision
:
response
.
data
.
data
},
()
=>
{
document
.
body
.
style
.
overflow
=
'unset'
;
document
.
body
.
style
.
overflow
=
'unset'
;
})
})
...
...
src/container/BudgetTahunan/CashFlow.js
View file @
470a5d4e
This diff is collapsed.
Click to expand it.
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