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
8d58605c
Commit
8d58605c
authored
Nov 13, 2020
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
historical
parent
a2a0b476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
TableSummaryTriputra.js
src/container/SummaryTriputra/TableSummaryTriputra.js
+6
-1
No files found.
src/container/SummaryTriputra/TableSummaryTriputra.js
View file @
8d58605c
...
...
@@ -27,6 +27,10 @@ export default class TableSummaryTriputra extends Component {
[
"ABCD"
,
{
a
:
"1"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"3"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"4"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"5"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
}],
[
"Total Assets"
,
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
}]
]
let
datasHistorical
=
[
[
"ABCD"
,
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"2"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"3"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"4"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"5"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
}],
[
"Total Assets"
,
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"7"
,
c
:
"8"
,
d
:
"9"
,
e
:
"10"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
},
{
a
:
"6"
,
b
:
"3"
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
}]
]
let
dataTable2
=
this
.
props
.
dataTable
const
columnMTD
=
[
...
...
@@ -1405,6 +1409,7 @@ export default class TableSummaryTriputra extends Component {
{
val
.
c
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
)
...
...
@@ -1684,7 +1689,7 @@ export default class TableSummaryTriputra extends Component {
<
div
style
=
{{
padding
:
'0px 20px 20px 20px'
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
350
:
100
)
}}
>
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MUIDataTable
data
=
{
datas
}
data
=
{
this
.
props
.
type
===
4
?
datasHistorical
:
datas
}
columns
=
{
this
.
props
.
type
===
1
?
columnMTD
:
this
.
props
.
type
===
2
?
columnYTD
:
this
.
props
.
type
===
3
?
columnCPSM
:
this
.
props
.
type
===
4
?
columnHistorical
:
columns
}
options
=
{
options
}
/
>
...
...
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