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
a1ed1e1f
Commit
a1ed1e1f
authored
Nov 01, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjustment issue TP 2023
parent
f90afa0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+3
-3
No files found.
src/container/BudgetTahunan/TaxPlanning.js
View file @
a1ed1e1f
...
...
@@ -7944,7 +7944,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
placeholder
=
"input"
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
)}
value
=
{
fixNumber
(
Number
(
value
),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
12
)}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
:
fixNumber
(
Number
(
value
),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
12
)}
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
,
3
)
...
...
@@ -8052,7 +8052,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
(
fixNumber
(
Number
(
value
),
1
2
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
12
))
:
(
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
))}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
(
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
))
:
(
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
))}
/>
:
<
LightTooltip
title
=
{
this
.
state
.
minValue
===
null
?
`Value Should be 0`
:
`Value Should be (
${
this
.
state
.
minValue
}
) up to (
${
this
.
state
.
maxValue
}
)`
}
arrow
>
<
NumberFormat
...
...
@@ -8061,7 +8061,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
(
fixNumber
(
Number
(
value
),
1
2
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
12
))
:
(
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
))}
value
=
{
this
.
props
.
status
===
'CLOSED'
?
(
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
))
:
(
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleTotalControl
(
tableMeta
,
1
,
this
.
props
.
periode
)),
12
))}
/
>
<
/LightTooltip
>
...
...
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