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
649a6c4c
Commit
649a6c4c
authored
May 11, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'GGMAC' into 'master'
update CF OLPA See merge request
!1479
parents
3679ff8f
881f2e24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
CashFlowOLPA.js
src/container/OutlookPA/CashFlowOLPA.js
+13
-11
No files found.
src/container/OutlookPA/CashFlowOLPA.js
View file @
649a6c4c
...
...
@@ -83,6 +83,7 @@ export default class CashFlow extends Component {
console
.
log
(
checkApprover
)
console
.
log
(
checkPrevRev
)
this
.
setState
({
viewOnly
:
!
checkApprover
&&
checkLastStatus
&&
checkStatus
&&
checkPrevRev
})
// this.setState({viewOnly: true})
}
componentDidMount
()
{
...
...
@@ -504,10 +505,10 @@ export default class CashFlow extends Component {
}
}
}
else
{
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
22
]
==
item
)
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
18
]
==
item
)
if
(
indexID
!==
-
1
)
{
let
valuezz
=
dataTable2
[
indexID
][
column
].
value
==
undefined
?
dataTable2
[
indexID
][
column
]
:
dataTable2
[
indexID
][
column
].
value
if
(
item
==
dataTable2
[
tableMeta
.
rowIndex
][
22
])
{
if
(
item
==
dataTable2
[
tableMeta
.
rowIndex
][
18
])
{
anjay
.
push
(
0
)
}
else
{
anjay
.
push
(
valuezz
==
""
?
0
:
valuezz
)
...
...
@@ -679,14 +680,14 @@ export default class CashFlow extends Component {
total
=
R
.
equals
(
total
,
NaN
)
?
"0.0"
:
total
if
(
tableMeta
.
rowData
[
5
]
==
'2.1 Additional fixed assets and CIP'
&&
column
==
7
)
{
console
.
log
(
tableMeta
.
rowData
)
console
.
log
(
splitFormula
)
console
.
log
(
baru
)
console
.
log
(
anjay
)
console
.
log
(
anjay2
)
console
.
log
(
total
)
}
// if (tableMeta.rowData[1] == 3243762 && column == 1
7) {
//
console.log(tableMeta.rowData)
//
console.log(splitFormula)
//
console.log(baru)
//
console.log(anjay)
//
console.log(anjay2)
//
console.log(total)
//
}
if
(
dataTable2
[
tableMeta
.
rowIndex
][
column
].
value
==
undefined
)
{
dataTable2
[
tableMeta
.
rowIndex
][
column
]
=
total
...
...
@@ -1510,7 +1511,8 @@ export default class CashFlow extends Component {
/
>
:
tableMeta
.
rowData
[
0
]
===
7
?
(
Number
(
tableMeta
.
rowData
[
15
]).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
tableMeta
.
rowData
[
15
]).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
((
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
15
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
15
],
tableMeta
,
15
)).
toFixed
(
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
(
this
.
props
.
PLBSFAMSubmitted
?
Number
(
tableMeta
.
rowData
[
15
].
value
).
toFixed
(
1
)
:
Number
(
handleValueFormula
(
tableMeta
.
rowData
[
15
],
tableMeta
,
15
)).
toFixed
(
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
// (Number(tableMeta.rowData[15]).toFixed(1) >= Number(this.state.minValue) && Number(tableMeta.rowData[15]).toFixed(1) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
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