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
a2dac336
Commit
a2dac336
authored
Oct 27, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
apdet See merge request
!591
parents
4238e69b
0bbfcc0b
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
44 deletions
+57
-44
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+41
-41
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+16
-3
No files found.
src/container/BudgetTahunan/ProfitLoss.js
View file @
a2dac336
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ProfitLossMR.js
View file @
a2dac336
...
@@ -31,6 +31,12 @@ const style2 = {
...
@@ -31,6 +31,12 @@ const style2 = {
zIndex
:
100
,
zIndex
:
100
,
top
:
0
top
:
0
};
};
const
stylenotes
=
{
position
:
"sticky"
,
background
:
"white"
,
zIndex
:
101
,
left
:
350
};
export
default
class
ProfitLossMR
extends
Component
{
export
default
class
ProfitLossMR
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
...
@@ -60,14 +66,21 @@ export default class ProfitLossMR extends Component {
...
@@ -60,14 +66,21 @@ export default class ProfitLossMR extends Component {
}
}
},
},
{
{
name
:
"
Keterangan
"
,
name
:
"
Notes
"
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
key
=
{
columnMeta
.
index
}
style
=
{{
...
style
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderLeft
:
'1px #fff solid'
}}
>
<
TableCell
key
=
{
columnMeta
.
index
}
style
=
{{
...
style
notes
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#1c71b8'
,
width
:
96
,
borderLeft
:
'1px #fff solid'
}}
>
<
Typography
style
=
{{
color
:
'white'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
textAlign
:
'center'
}}
>
{
columnMeta
.
name
}
<
/Typography
>
<
Typography
style
=
{{
color
:
'white'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
textAlign
:
'center'
}}
>
{
columnMeta
.
name
}
<
/Typography
>
<
/TableCell
>
<
/TableCell
>
),
),
setCellProps
:
()
=>
({
style2
}),
setCellProps
:
()
=>
({
style
:
{
position
:
"sticky"
,
background
:
"white"
,
zIndex
:
101
,
left
:
350
}
}),
customBodyRender
:
(
val
,
tableMeta
)
=>
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
return
(
return
(
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
...
...
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