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
2c507d0d
Commit
2c507d0d
authored
Oct 27, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
keren See merge request
!593
parents
a2dac336
a62cd838
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+16
-3
No files found.
src/container/BudgetTahunan/ProfitLoss.js
View file @
2c507d0d
...
@@ -42,6 +42,13 @@ const stylenotes = {
...
@@ -42,6 +42,13 @@ const stylenotes = {
left
:
350
left
:
350
};
};
const
styleNotesEmpty
=
{
position
:
"sticky"
,
background
:
"white"
,
zIndex
:
99
,
left
:
0
}
export
default
class
ProfitLoss
extends
Component
{
export
default
class
ProfitLoss
extends
Component
{
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
)
super
(
props
)
...
@@ -570,9 +577,11 @@ export default class ProfitLoss extends Component {
...
@@ -570,9 +577,11 @@ export default class ProfitLoss extends Component {
// operator.push(item)
// operator.push(item)
// }
// }
})
})
// if (String(tableMeta.rowData[5]) == "Unit Business/ Brand/ SubCo 1") {
// console.log(arrayFormula)
// console.log(arrayFormula)
// console.log(arrayJumlah)
// console.log(arrayJumlah)
// }
let
array
=
arrayJumlah
let
array
=
arrayJumlah
let
total
=
0
let
total
=
0
let
opt
=
""
let
opt
=
""
...
@@ -671,8 +680,12 @@ export default class ProfitLoss extends Component {
...
@@ -671,8 +680,12 @@ export default class ProfitLoss extends Component {
name
:
"Notes"
,
name
:
"Notes"
,
options
:
{
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
customHeadRender
:
(
columnMeta
)
=>
(
dataTable2
.
length
>
0
?
<
TableCell
style
=
{{
...
stylenotes
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#1c71b8'
,
width
:
96
}}
>
<
TableCell
style
=
{{
...
stylenotes
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#1c71b8'
,
width
:
96
}}
>
<
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
style
=
{{
...
styleNotesEmpty
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#1c71b8'
,
width
:
96
}}
>
<
Typography
style
=
{{
color
:
'white'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
textAlign
:
'center'
}}
>
{
columnMeta
.
name
}
<
/Typography
>
<
/TableCell
>
<
/TableCell
>
),
),
setCellProps
:
()
=>
({
setCellProps
:
()
=>
({
...
...
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