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
2bcfca0d
Commit
2bcfca0d
authored
Mar 31, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
d9d548b8
3359e66d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
755 additions
and
738 deletions
+755
-738
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+59
-58
OperatingIndicatorRO.js
src/container/RollingOutlook/OperatingIndicatorRO.js
+672
-669
TaxPlanningRO.js
src/container/RollingOutlook/TaxPlanningRO.js
+24
-11
No files found.
src/container/BudgetTahunan/TaxPlanning.js
View file @
2bcfca0d
...
@@ -94,6 +94,7 @@ export default class TaxPlanning extends Component {
...
@@ -94,6 +94,7 @@ export default class TaxPlanning extends Component {
"submission_id"
:
this
.
props
.
submissionID
"submission_id"
:
this
.
props
.
submissionID
}
}
api
.
create
().
getLastestUpdateMB
(
payload
).
then
(
response
=>
{
api
.
create
().
getLastestUpdateMB
(
payload
).
then
(
response
=>
{
console
.
log
(
response
)
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
this
.
setState
({
...
@@ -1740,7 +1741,7 @@ export default class TaxPlanning extends Component {
...
@@ -1740,7 +1741,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1756,7 +1757,7 @@ export default class TaxPlanning extends Component {
...
@@ -1756,7 +1757,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1778,7 +1779,7 @@ export default class TaxPlanning extends Component {
...
@@ -1778,7 +1779,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1794,7 +1795,7 @@ export default class TaxPlanning extends Component {
...
@@ -1794,7 +1795,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1929,7 +1930,7 @@ export default class TaxPlanning extends Component {
...
@@ -1929,7 +1930,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1945,7 +1946,7 @@ export default class TaxPlanning extends Component {
...
@@ -1945,7 +1946,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1967,7 +1968,7 @@ export default class TaxPlanning extends Component {
...
@@ -1967,7 +1968,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -1983,7 +1984,7 @@ export default class TaxPlanning extends Component {
...
@@ -1983,7 +1984,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2303,7 +2304,7 @@ export default class TaxPlanning extends Component {
...
@@ -2303,7 +2304,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2319,7 +2320,7 @@ export default class TaxPlanning extends Component {
...
@@ -2319,7 +2320,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2454,7 +2455,7 @@ export default class TaxPlanning extends Component {
...
@@ -2454,7 +2455,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2470,7 +2471,7 @@ export default class TaxPlanning extends Component {
...
@@ -2470,7 +2471,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2790,7 +2791,7 @@ export default class TaxPlanning extends Component {
...
@@ -2790,7 +2791,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2806,7 +2807,7 @@ export default class TaxPlanning extends Component {
...
@@ -2806,7 +2807,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2942,7 +2943,7 @@ export default class TaxPlanning extends Component {
...
@@ -2942,7 +2943,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -2958,7 +2959,7 @@ export default class TaxPlanning extends Component {
...
@@ -2958,7 +2959,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3278,7 +3279,7 @@ export default class TaxPlanning extends Component {
...
@@ -3278,7 +3279,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3294,7 +3295,7 @@ export default class TaxPlanning extends Component {
...
@@ -3294,7 +3295,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3430,7 +3431,7 @@ export default class TaxPlanning extends Component {
...
@@ -3430,7 +3431,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3446,7 +3447,7 @@ export default class TaxPlanning extends Component {
...
@@ -3446,7 +3447,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3767,7 +3768,7 @@ export default class TaxPlanning extends Component {
...
@@ -3767,7 +3768,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3783,7 +3784,7 @@ export default class TaxPlanning extends Component {
...
@@ -3783,7 +3784,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3920,7 +3921,7 @@ export default class TaxPlanning extends Component {
...
@@ -3920,7 +3921,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -3936,7 +3937,7 @@ export default class TaxPlanning extends Component {
...
@@ -3936,7 +3937,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4257,7 +4258,7 @@ export default class TaxPlanning extends Component {
...
@@ -4257,7 +4258,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4273,7 +4274,7 @@ export default class TaxPlanning extends Component {
...
@@ -4273,7 +4274,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4410,7 +4411,7 @@ export default class TaxPlanning extends Component {
...
@@ -4410,7 +4411,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4426,7 +4427,7 @@ export default class TaxPlanning extends Component {
...
@@ -4426,7 +4427,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4747,7 +4748,7 @@ export default class TaxPlanning extends Component {
...
@@ -4747,7 +4748,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4763,7 +4764,7 @@ export default class TaxPlanning extends Component {
...
@@ -4763,7 +4764,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4900,7 +4901,7 @@ export default class TaxPlanning extends Component {
...
@@ -4900,7 +4901,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -4916,7 +4917,7 @@ export default class TaxPlanning extends Component {
...
@@ -4916,7 +4917,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5237,7 +5238,7 @@ export default class TaxPlanning extends Component {
...
@@ -5237,7 +5238,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5253,7 +5254,7 @@ export default class TaxPlanning extends Component {
...
@@ -5253,7 +5254,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5390,7 +5391,7 @@ export default class TaxPlanning extends Component {
...
@@ -5390,7 +5391,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5406,7 +5407,7 @@ export default class TaxPlanning extends Component {
...
@@ -5406,7 +5407,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5727,7 +5728,7 @@ export default class TaxPlanning extends Component {
...
@@ -5727,7 +5728,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5743,7 +5744,7 @@ export default class TaxPlanning extends Component {
...
@@ -5743,7 +5744,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5880,7 +5881,7 @@ export default class TaxPlanning extends Component {
...
@@ -5880,7 +5881,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -5896,7 +5897,7 @@ export default class TaxPlanning extends Component {
...
@@ -5896,7 +5897,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6217,7 +6218,7 @@ export default class TaxPlanning extends Component {
...
@@ -6217,7 +6218,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6233,7 +6234,7 @@ export default class TaxPlanning extends Component {
...
@@ -6233,7 +6234,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6370,7 +6371,7 @@ export default class TaxPlanning extends Component {
...
@@ -6370,7 +6371,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6386,7 +6387,7 @@ export default class TaxPlanning extends Component {
...
@@ -6386,7 +6387,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6707,7 +6708,7 @@ export default class TaxPlanning extends Component {
...
@@ -6707,7 +6708,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6723,7 +6724,7 @@ export default class TaxPlanning extends Component {
...
@@ -6723,7 +6724,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6860,7 +6861,7 @@ export default class TaxPlanning extends Component {
...
@@ -6860,7 +6861,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6876,7 +6877,7 @@ export default class TaxPlanning extends Component {
...
@@ -6876,7 +6877,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7197,7 +7198,7 @@ export default class TaxPlanning extends Component {
...
@@ -7197,7 +7198,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7213,7 +7214,7 @@ export default class TaxPlanning extends Component {
...
@@ -7213,7 +7214,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7350,7 +7351,7 @@ export default class TaxPlanning extends Component {
...
@@ -7350,7 +7351,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7366,7 +7367,7 @@ export default class TaxPlanning extends Component {
...
@@ -7366,7 +7367,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7962,7 +7963,7 @@ export default class TaxPlanning extends Component {
...
@@ -7962,7 +7963,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -7978,7 +7979,7 @@ export default class TaxPlanning extends Component {
...
@@ -7978,7 +7979,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -8134,7 +8135,7 @@ export default class TaxPlanning extends Component {
...
@@ -8134,7 +8135,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -8528,7 +8529,7 @@ export default class TaxPlanning extends Component {
...
@@ -8528,7 +8529,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -8544,7 +8545,7 @@ export default class TaxPlanning extends Component {
...
@@ -8544,7 +8545,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -8700,7 +8701,7 @@ export default class TaxPlanning extends Component {
...
@@ -8700,7 +8701,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
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
)}
/
>
/
>
}
}
/
>
/
>
...
...
src/container/RollingOutlook/OperatingIndicatorRO.js
View file @
2bcfca0d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/container/RollingOutlook/TaxPlanningRO.js
View file @
2bcfca0d
...
@@ -49,7 +49,7 @@ export default class TaxPlanning extends Component {
...
@@ -49,7 +49,7 @@ export default class TaxPlanning extends Component {
editable
:
false
,
editable
:
false
,
buttonError
:
false
,
buttonError
:
false
,
judulColumn
:
null
,
judulColumn
:
null
,
updateBy
:
'-'
,
updateBy
:
[]
,
buttonDraft
:
true
,
buttonDraft
:
true
,
handleTekTekTek
:
0
,
handleTekTekTek
:
0
,
saveDraft
:
true
,
saveDraft
:
true
,
...
@@ -143,6 +143,7 @@ export default class TaxPlanning extends Component {
...
@@ -143,6 +143,7 @@ export default class TaxPlanning extends Component {
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
this
.
setState
({
this
.
setState
({
updateBy
:
response
.
data
.
data
.
latest_update
===
null
?
'-'
:
response
.
data
.
data
.
latest_update
,
updateBy
:
response
.
data
.
data
.
latest_update
===
null
?
'-'
:
response
.
data
.
data
.
latest_update
,
// updateBy: response.data.data.detail === null ? [] : response.data.data.detail,
notes
:
response
.
data
.
data
.
notes_update
===
null
?
""
:
response
.
data
.
data
.
notes_update
notes
:
response
.
data
.
data
.
notes_update
===
null
?
""
:
response
.
data
.
data
.
notes_update
})
})
}
else
{
}
else
{
...
@@ -1678,7 +1679,7 @@ export default class TaxPlanning extends Component {
...
@@ -1678,7 +1679,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
// console.log(dataTable2)
// console.log(dataTable2)
...
@@ -1759,7 +1760,7 @@ export default class TaxPlanning extends Component {
...
@@ -1759,7 +1760,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -2189,7 +2190,7 @@ export default class TaxPlanning extends Component {
...
@@ -2189,7 +2190,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -2680,7 +2681,7 @@ export default class TaxPlanning extends Component {
...
@@ -2680,7 +2681,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -3171,7 +3172,7 @@ export default class TaxPlanning extends Component {
...
@@ -3171,7 +3172,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -3662,7 +3663,7 @@ export default class TaxPlanning extends Component {
...
@@ -3662,7 +3663,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -4153,7 +4154,7 @@ export default class TaxPlanning extends Component {
...
@@ -4153,7 +4154,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -4636,7 +4637,7 @@ export default class TaxPlanning extends Component {
...
@@ -4636,7 +4637,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -5080,7 +5081,7 @@ export default class TaxPlanning extends Component {
...
@@ -5080,7 +5081,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -5524,7 +5525,7 @@ export default class TaxPlanning extends Component {
...
@@ -5524,7 +5525,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
placeholder
=
"input"
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
false
}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
1
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
value
=
{
String
(
tableMeta
.
rowData
[
8
]).
toLocaleUpperCase
()
==
"CORPORATE INCOME TAX"
?
Number
(
value
.
fcp
).
toFixed
(
2
)
:
Number
(
value
.
fcp
).
toFixed
(
1
)}
onBlur
=
{(
event
)
=>
{
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
handleChange
(
event
.
target
.
value
,
tableMeta
,
1
)
...
@@ -6065,6 +6066,7 @@ export default class TaxPlanning extends Component {
...
@@ -6065,6 +6066,7 @@ export default class TaxPlanning extends Component {
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
<
div
style
=
{{
marginTop
:
20
,
width
:
this
.
props
.
width
-
(
this
.
props
.
open
===
true
?
400
:
150
)
}}
>
{
this
.
state
.
loading
&&
loadingComponent
}
{
this
.
state
.
loading
&&
loadingComponent
}
{
!
this
.
state
.
loading
&&
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MuiThemeProvider
theme
=
{
getMuiTheme
()}
>
<
MUIDataTable
<
MUIDataTable
data
=
{
dataTable2
}
data
=
{
dataTable2
}
...
@@ -6072,9 +6074,20 @@ export default class TaxPlanning extends Component {
...
@@ -6072,9 +6074,20 @@ export default class TaxPlanning extends Component {
options
=
{
options
}
options
=
{
options
}
/
>
/
>
<
/MuiThemeProvider
>
<
/MuiThemeProvider
>
}
<
/div
>
<
/div
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
,
marginTop
:
20
}}
>
Last
Updated
by
:
{
this
.
state
.
updateBy
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
,
marginTop
:
20
}}
>
Last
Updated
by
:
{
this
.
state
.
updateBy
}
<
/Typography
>
{
/* <div style={{display: 'flex'}}>
<Typography style={{ fontSize: '11px', color: '#4b4b4b', marginTop: 20 }}>Last Updated by : </Typography>
<div style={{marginLeft: 10, overflowY: 'scroll', height: 75, marginTop: 10}}>
{this.state.updateBy.reverse().map((item,index) => {
return (
<Typography style={{ fontSize: '11px', color: '#4b4b4b', marginTop: 10 }}>{item.latest_update}</Typography>
)
})}
</div>
</div> */
}
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Notes
:
{
this
.
state
.
notes
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Notes
:
{
this
.
state
.
notes
}
<
/Typography
>
<
/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