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
c03f381b
Commit
c03f381b
authored
Nov 16, 2020
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fiscal
parent
f7b39d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
66 deletions
+76
-66
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+76
-66
No files found.
src/container/BudgetTahunan/TaxPlanning.js
View file @
c03f381b
...
@@ -7608,83 +7608,93 @@ export default class TaxPlanning extends Component {
...
@@ -7608,83 +7608,93 @@ export default class TaxPlanning extends Component {
/
>
/
>
<
/LightTooltip
>
<
/LightTooltip
>
:
:
tableMeta
.
rowData
[
3
]
===
3
?
String
(
tableMeta
.
rowData
[
8
]).
toLowerCase
()
===
"fiscal correction positive / (negative) year to date"
?
<
div
style
=
{{
flex
:
1
}}
>
<
NumberFormat
<
FormControlLabel
thousandSeparator
=
{
true
}
style
=
{{
margin
:
0
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
value
=
{
value
}
type
=
"text"
control
=
{
placeholder
=
""
<
NumberFormat
disabled
=
{
true
}
thousandSeparator
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
1
)).
toFixed
(
1
)}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
/
>
type
=
"text"
:
placeholder
=
"input"
tableMeta
.
rowData
[
3
]
===
3
?
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
((
this
.
props
.
lastStatus
===
'SUBMIT'
||
this
.
props
.
lastStatus
===
'REVISION'
)
&&
this
.
props
.
prevRevision
===
false
&&
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
?
false
:
true
)}
<
div
style
=
{{
flex
:
1
}}
>
value
=
{
Number
(
handleTotal
(
tableMeta
,
3
)).
toFixed
(
1
)}
<
FormControlLabel
/
>
style
=
{{
margin
:
0
}}
}
value
=
{
value
}
/
>
control
=
{
<
/div>
:
<
NumberFormat
tableMeta
.
rowData
[
3
]
===
2
?
thousandSeparator
=
{
true
}
<
span
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
}}
>
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
<
NumberFormat
type
=
"text"
thousandSeparator
=
{
true
}
placeholder
=
"input"
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
disabled
=
{
this
.
props
.
isApprover
==
true
?
true
:
((
this
.
props
.
lastStatus
===
'SUBMIT'
||
this
.
props
.
lastStatus
===
'REVISION'
)
&&
this
.
props
.
prevRevision
===
false
&&
(
this
.
props
.
status
===
'revision'
||
this
.
props
.
status
===
'not-yet'
||
this
.
props
.
status
===
'draft'
||
this
.
props
.
status
===
'submitted'
)
?
false
:
true
)}
type
=
"text"
value
=
{
Number
(
handleTotal
(
tableMeta
,
3
)).
toFixed
(
1
)}
placeholder
=
""
/
>
disabled
=
{
true
}
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
2
)).
toFixed
(
1
)}
/
>
<
/span
>
:
tableMeta
.
rowData
[
3
]
===
4
?
null
:
tableMeta
.
rowData
[
3
]
===
6
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
6
)).
toFixed
(
1
)}
/
>
/
>
:
<
/div>
:
tableMeta
.
rowData
[
3
]
===
5
?
tableMeta
.
rowData
[
3
]
===
2
?
<
span
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
}}
>
<
NumberFormat
<
NumberFormat
thousandSeparator
=
{
true
}
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
5
)).
toFixed
(
1
)}
value
=
{
Number
(
handleTotal
(
tableMeta
,
2
)).
toFixed
(
1
)}
/
>
/
>
<
/span
>
:
tableMeta
.
rowData
[
3
]
===
4
?
null
:
:
tableMeta
.
rowData
[
3
]
===
1
?
tableMeta
.
rowData
[
3
]
===
6
?
null
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
6
)).
toFixed
(
1
)}
/
>
:
:
tableMeta
.
rowData
[
3
]
===
7
?
tableMeta
.
rowData
[
3
]
===
5
?
(
Number
(
handleTotal
(
tableMeta
,
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleTotal
(
tableMeta
,
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
<
NumberFormat
thousandSeparator
=
{
true
}
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
type
=
"text"
placeholder
=
""
placeholder
=
""
disabled
=
{
true
}
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
5
)).
toFixed
(
1
)}
value
=
{
Number
(
handleTotal
(
tableMeta
,
1
,
this
.
props
.
periode
)).
toFixed
(
1
)}
/
>
/>
:
<
LightTooltip
title
=
{
this
.
state
.
minValue
===
null
?
`Value Should be 0`
:
`Value Should be (
${
this
.
state
.
minValue
}
) up to (
${
this
.
state
.
maxValue
}
)`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
,
color
:
'red'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
1
,
this
.
props
.
periode
)).
toFixed
(
1
)}
/
>
<
/LightTooltip
>
:
:
null
tableMeta
.
rowData
[
3
]
===
1
?
null
:
tableMeta
.
rowData
[
3
]
===
7
?
(
Number
(
handleTotal
(
tableMeta
,
1
))
>=
Number
(
this
.
state
.
minValue
)
&&
Number
(
handleTotal
(
tableMeta
,
1
))
<=
Number
(
this
.
state
.
maxValue
))
?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
1
,
this
.
props
.
periode
)).
toFixed
(
1
)}
/>
:
<
LightTooltip
title
=
{
this
.
state
.
minValue
===
null
?
`Value Should be 0`
:
`Value Should be (
${
this
.
state
.
minValue
}
) up to (
${
this
.
state
.
maxValue
}
)`
}
arrow
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
,
color
:
'red'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleTotal
(
tableMeta
,
1
,
this
.
props
.
periode
)).
toFixed
(
1
)}
/
>
<
/LightTooltip
>
:
null
}
}
<
/div
>
<
/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