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
70a0c2f8
Commit
70a0c2f8
authored
Apr 26, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taxplan issue prod
parent
09f4ac0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+7
-7
No files found.
src/container/RollingOutlook/TaxPlanningRO.js
View file @
70a0c2f8
...
@@ -748,7 +748,7 @@ export default class TaxPlanning extends Component {
...
@@ -748,7 +748,7 @@ export default class TaxPlanning extends Component {
if
(
String
(
i
[
8
])
==
"Control (should be nil)"
)
{
if
(
String
(
i
[
8
])
==
"Control (should be nil)"
)
{
this
.
setState
({
loading
:
true
})
this
.
setState
({
loading
:
true
})
let
n
=
0
let
n
=
0
for
(
n
=
12
;
n
<=
20
;
n
++
)
{
for
(
n
=
(
this
.
props
.
quarter
==
'q1'
?
12
:
(
this
.
props
.
quarter
==
'q2'
?
15
:
18
))
;
n
<=
20
;
n
++
)
{
if
((
Number
(
i
[
n
].
tbf
.
value
)
<
Number
(
this
.
state
.
minValue
)
||
Number
(
i
[
n
].
tbf
.
value
)
>
Number
(
this
.
state
.
maxValue
)))
{
if
((
Number
(
i
[
n
].
tbf
.
value
)
<
Number
(
this
.
state
.
minValue
)
||
Number
(
i
[
n
].
tbf
.
value
)
>
Number
(
this
.
state
.
maxValue
)))
{
errorContrl
=
true
errorContrl
=
true
editAble
=
true
editAble
=
true
...
@@ -1031,12 +1031,12 @@ export default class TaxPlanning extends Component {
...
@@ -1031,12 +1031,12 @@ export default class TaxPlanning extends Component {
}
}
}
else
if
(
dex
==
3
)
{
}
else
if
(
dex
==
3
)
{
if
(
tableMeta
.
rowData
[
8
]
==
"Corporate Income Tax"
)
{
if
(
tableMeta
.
rowData
[
8
]
==
"Corporate Income Tax"
)
{
if
(
total
<
0
)
{
//
if (total < 0) {
total
=
0
//
total = 0
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
=
Number
(
total
).
toFixed
(
2
)
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
.
value
=
Number
(
total
<
0
?
0
:
total
).
toFixed
(
2
)
}
else
{
//
} else {
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
=
Number
(
total
).
toFixed
(
2
)
// dataTable2[tableMeta.rowIndex][tableMeta.columnIndex].tbf.value
= Number(total).toFixed(2)
}
//
}
}
else
if
(
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
.
value
==
undefined
)
{
}
else
if
(
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
.
value
==
undefined
)
{
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
=
Number
(
total
).
toFixed
(
1
)
dataTable2
[
tableMeta
.
rowIndex
][
tableMeta
.
columnIndex
].
tbf
=
Number
(
total
).
toFixed
(
1
)
}
else
{
}
else
{
...
...
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