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
57b26a9a
Commit
57b26a9a
authored
Mar 18, 2021
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view ro tp
parent
a17c50f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
603 additions
and
348 deletions
+603
-348
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+603
-348
No files found.
src/container/RollingOutlook/TaxPlanningRO.js
View file @
57b26a9a
...
...
@@ -66,7 +66,49 @@ export default class TaxPlanning extends Component {
componentDidMount
()
{
// this.getLatestUpdate()
this
.
getSettingControl
()
this
.
handleViewOnly
()
console
.
log
(
this
.
props
.
quarter
);
console
.
log
(
this
.
state
.
get_for
);
}
handleViewOnly
()
{
let
checkApprover
=
false
let
checkLastStatus
=
false
let
checkStatus
=
false
let
checkPrevRev
=
false
if
(
this
.
props
.
isApprover
)
{
checkApprover
=
true
}
else
{
checkApprover
=
false
}
if
(
this
.
props
.
lastStatus
==
'SUBMIT'
||
this
.
props
.
lastStatus
==
'REVISION'
)
{
checkLastStatus
=
true
}
else
{
checkLastStatus
=
false
}
if
(
this
.
props
.
prevRevision
)
{
checkPrevRev
=
true
}
else
{
checkPrevRev
=
false
}
if
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
{
checkStatus
=
true
}
else
{
checkStatus
=
false
}
// this.setState({viewOnly: !checkApprover && checkLastStatus && checkStatus && checkPrevRev})
}
handleGetFor
(
type
)
{
this
.
setState
({
get_for
:
type
},
()
=>
{
this
.
getSettingControl
()
this
.
getLatestUpdate
()
})
}
getSettingControl
()
{
...
...
@@ -238,15 +280,6 @@ export default class TaxPlanning extends Component {
})
}
handleGetFor
(
type
)
{
console
.
log
(
type
)
this
.
setState
({
get_for
:
type
},
()
=>
{
// this.getSettingControl()
// this.getLatestUpdate()
this
.
getItemHierarki
()
})
}
handleValue
(
data
)
{
let
total
=
0
this
.
state
.
dataTable
.
map
((
item
,
index
)
=>
{
...
...
@@ -1412,15 +1445,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -1556,15 +1597,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -1700,15 +1749,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -1849,15 +1906,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -1966,15 +2031,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2103,15 +2176,23 @@ export default class TaxPlanning extends Component {
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2250,18 +2331,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2367,18 +2456,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2484,18 +2581,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2634,18 +2739,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2751,18 +2864,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -2868,18 +2989,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3018,18 +3147,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3135,18 +3272,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3252,18 +3397,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3402,18 +3555,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3519,18 +3680,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3636,18 +3805,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3786,18 +3963,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -3903,18 +4088,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4020,18 +4213,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4170,18 +4371,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4287,18 +4496,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4404,18 +4621,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4554,18 +4779,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4671,18 +4904,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4788,18 +5029,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -4938,18 +5187,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-1"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
1
]
===
4
||
tableMeta
.
rowData
[
1
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbc
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbc
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbc
).
toFixed
(
2
)
:
Number
(
value
.
tbc
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -5055,18 +5312,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-2"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
2
]
===
4
||
tableMeta
.
rowData
[
2
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
fcp
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -5172,18 +5437,26 @@ export default class TaxPlanning extends Component {
<
div
className
=
"col-3"
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
tableMeta
.
rowData
[
3
]
===
4
||
tableMeta
.
rowData
[
3
]
===
1
?
null
:
this
.
state
.
get_for
==
'view'
?
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
.
tbf
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
.
tbf
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
tbf
).
toFixed
(
2
)
:
Number
(
value
.
tbf
).
toFixed
(
1
)}
/
>
}
/
>
<
/div
>
:
tableMeta
.
rowData
[
3
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -5311,27 +5584,10 @@ export default class TaxPlanning extends Component {
<
div
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
this
.
props
.
status
===
'CLOSED'
?
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
tableMeta
.
rowData
[
1
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
color
:
"#5198ea"
,
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
).
toFixed
(
1
)}
/
>
}
/
>
<
/div>
:
this
.
state
.
get_for
==
'view'
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -5343,7 +5599,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
value
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
).
toFixed
(
2
)
:
Number
(
value
).
toFixed
(
1
)}
/
>
}
/
>
...
...
@@ -5383,9 +5639,6 @@ export default class TaxPlanning extends Component {
/
>
<
/span
>
:
tableMeta
.
rowData
[
1
]
===
4
?
null
:
tableMeta
.
rowData
[
1
]
===
6
?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -5406,19 +5659,6 @@ export default class TaxPlanning extends Component {
value
=
{
Number
(
handleValueFormula
(
value
,
tableMeta
,
1
)).
toFixed
(
1
)}
/
>
:
tableMeta
.
rowData
[
1
]
===
1
?
// value[0] === "" ?
// null :
// <NumberFormat
// thousandSeparator={true}
// style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
// type="text"
// placeholder=""
// disabled={true}
// value={Number(value[0])}
// />
null
:
tableMeta
.
rowData
[
1
]
===
7
?
(
Number
(
handleValueFormula
(
value
,
tableMeta
,
0
)).
toFixed
(
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleValueFormula
(
value
,
tableMeta
,
0
)).
toFixed
(
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
...
...
@@ -5456,7 +5696,22 @@ export default class TaxPlanning extends Component {
/
>
<
/LightTooltip
>
:
null
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
value
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
).
toFixed
(
2
)
:
Number
(
value
).
toFixed
(
1
)}
/
>
}
/
>
<
/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