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
67158f55
Commit
67158f55
authored
Nov 17, 2020
by
r.kurnia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into rifka
parents
81653d87
90e724d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
87 additions
and
12 deletions
+87
-12
TableSummaryTriputra.js
src/container/SummaryTriputra/TableSummaryTriputra.js
+87
-12
No files found.
src/container/SummaryTriputra/TableSummaryTriputra.js
View file @
67158f55
...
...
@@ -33,7 +33,7 @@ export default class TableSummaryTriputra extends Component {
]
let
datasMTD
=
[
[
"ABCD"
,
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
,
d
:
"4"
,
e
:
"5"
,
f
:
"6"
,
g
:
"7"
,
h
:
"8"
,
i
:
"9"
,
j
:
"10"
,
k
:
"11"
,
l
:
"12"
},
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
,
d
:
"4"
},
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
,
d
:
"4"
},
{
q
:
"1"
},
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
},
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
,
d
:
"4"
},
{
a
:
"1"
,
b
:
"2"
,
c
:
"3"
,
d
:
"4"
,
e
:
"5"
,
f
:
"6"
,
g
:
"7"
,
h
:
"8"
}],
[
"Total Assets"
,
{
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
,
c
:
"4"
,
d
:
"5"
,
e
:
"6"
}],
...
...
@@ -83,7 +83,7 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
div
className
=
"column-2"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
1c71b8'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
}}
>
<
span
>
{
"EBITDA"
}
<
/span
>
<
/div
>
<
div
className
=
"grid grid-3x"
style
=
{{
height
:
25
}}
>
...
...
@@ -99,7 +99,7 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
div
className
=
"column-3"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
1c71b8'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
}}
>
<
span
>
{
"TPAT"
}
<
/span
>
<
/div
>
<
div
className
=
"grid grid-3x"
style
=
{{
height
:
25
}}
>
...
...
@@ -115,7 +115,7 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
div
className
=
"column-4"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#
1c71b8'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
}}
>
<
span
>
{
"NPAT"
}
<
/span
>
<
/div
>
<
div
className
=
"grid grid-3x"
style
=
{{
height
:
25
}}
>
...
...
@@ -225,8 +225,8 @@ export default class TableSummaryTriputra extends Component {
customHeadRender
:
(
columnMeta
)
=>
(
<
th
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
13
,
fontWeight
:
1
,
width
:
150
,
borderRight
:
"1px solid rgb(255, 255, 255)"
}}
>
<
div
style
=
{{
borderBottom
:
"1px #fff solid"
,
textAlign
:
'center'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
padding
:
5
}}
>
{
columnMeta
.
name
}
<
/div
>
<
div
className
=
"
grid grid-5x"
style
=
{{
...
style2
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
position
:
"sticky"
}}
>
<
div
className
=
"column-1"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#07a7d0'
,
height
:
65
}}
>
<
div
className
=
"
column-5"
style
=
{{
...
style2
,
display
:
'flex'
,
backgroundColor
:
'#1c71b8'
,
color
:
'#fff'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
position
:
"sticky"
}}
>
<
div
className
=
"column-1"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#07a7d0'
,
height
:
65
,
width
:
685
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#1c71b8'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
}}
>
<
span
>
{
"Cash Flow"
}
<
/span
>
<
/div
>
...
...
@@ -245,7 +245,7 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"column-2"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
className
=
"column-2"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
,
width
:
685
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
span
>
{
"OS Bank Loan"
}
<
/span
>
<
/div
>
...
...
@@ -264,10 +264,10 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"column-3"
style
=
{{
placeSelf
:
'center'
,
borderLeft
:
'1px #fff solid'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
,
height
:
65
}}
>
<
div
className
=
"column-3"
style
=
{{
placeSelf
:
'center'
,
borderLeft
:
'1px #fff solid'
,
justifyContent
:
'center'
,
display
:
'flex'
,
width
:
200
,
alignItems
:
'center'
,
backgroundColor
:
'#07a7d0'
,
height
:
65
}}
>
<
span
>
{
"OS SHL"
}
<
/span
>
<
/div
>
<
div
className
=
"column-4"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
className
=
"column-4"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
,
width
:
685
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
span
>
{
"Balance Sheet"
}
<
/span
>
<
/div
>
...
...
@@ -286,7 +286,7 @@ export default class TableSummaryTriputra extends Component {
<
/div
>
<
/div
>
<
/div
>
<
div
className
=
"column-5"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
}}
>
<
div
className
=
"column-5"
style
=
{{
placeSelf
:
'center'
,
textAlign
:
'center'
,
border
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
height
:
65
,
width
:
887
}}
>
<
div
style
=
{{
borderBottom
:
'1px #fff solid'
,
backgroundColor
:
'#37b5e6'
,
justifyContent
:
'center'
,
display
:
'flex'
,
alignItems
:
'center'
,
color
:
'white'
,
height
:
25
,
color
:
'black'
}}
>
<
span
>
{
"Financial Ratio"
}
<
/span
>
<
/div
>
...
...
@@ -328,7 +328,82 @@ export default class TableSummaryTriputra extends Component {
customBodyRender
:
(
val
,
tableMeta
,
updateValue
)
=>
{
return
(
<
div
>
<
div
className
=
"grid grid-5x content-center"
>
<
div
style
=
{{
display
:
'flex'
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
display
:
'flex'
,
width
:
640
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
10
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
20
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
30
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
40
<
/div
>
<
/div
>
<
div
style
=
{{
display
:
'flex'
,
width
:
640
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
10
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
20
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
30
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
40
<
/div
>
<
/div
>
<
div
style
=
{{
display
:
'grid'
,
width
:
150
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
10
<
/div
>
<
/div
>
<
div
style
=
{{
display
:
'flex'
,
width
:
640
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
10
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
20
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
30
<
/div
>
<
div
style
=
{{
width
:
'20%'
,
textAlign
:
'right'
}}
>
40
<
/div
>
<
/div
>
<
div
style
=
{{
display
:
'flex'
,
width
:
834
,
justifyContent
:
'space-between'
}}
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
10
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
20
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
30
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
40
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
10
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
20
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
30
<
/div
>
<
div
style
=
{{
width
:
'9%'
,
textAlign
:
'right'
}}
>
40
<
/div
>
<
/div
>
<
/div
>
{
/* <div className="grid grid-5x content-center">
<div className="col-1">
<div className="grid grid-4x content-center">
<div className="col-1">
...
...
@@ -458,7 +533,7 @@ export default class TableSummaryTriputra extends Component {
</div>
</div>
</div>
<
/div
>
</div>
*/
}
<
/div
>
)
}
...
...
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