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
1ef23a82
Commit
1ef23a82
authored
Nov 12, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ketinggalan
parent
1ccc6fa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+6
-6
No files found.
src/container/BudgetTahunan/TaxPlanning.js
View file @
1ef23a82
...
@@ -795,8 +795,8 @@ export default class TaxPlanning extends Component {
...
@@ -795,8 +795,8 @@ export default class TaxPlanning extends Component {
if
(
splitform
[
1
]
==
'TP1'
||
splitform
[
1
]
==
'TP2'
||
splitform
[
1
]
==
'TP3'
)
{
if
(
splitform
[
1
]
==
'TP1'
||
splitform
[
1
]
==
'TP2'
||
splitform
[
1
]
==
'TP3'
)
{
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
24
]
==
splitform
[
0
])
let
indexID
=
dataTable2
.
findIndex
((
val
)
=>
val
[
24
]
==
splitform
[
0
])
if
(
indexID
!==
-
1
)
{
if
(
indexID
!==
-
1
)
{
let
data
=
dataTable2
[
indexID
][
19
].
tbf
.
value
let
data
=
dataTable2
[
indexID
][
20
].
fcp
console
.
log
(
dataTable2
[
indexID
][
19
].
tbf
.
value
);
console
.
log
(
dataTable2
[
indexID
][
20
]
);
// let data = splitform[1] == 'TP1' ? dataTable2[indexID][tableMeta.columnIndex].tbc : splitform[1] == 'TP2' ? dataTable2[indexID][tableMeta.columnIndex].fcp : dataTable2[indexID][tableMeta.columnIndex].tbf
// let data = splitform[1] == 'TP1' ? dataTable2[indexID][tableMeta.columnIndex].tbc : splitform[1] == 'TP2' ? dataTable2[indexID][tableMeta.columnIndex].fcp : dataTable2[indexID][tableMeta.columnIndex].tbf
// let valuezz = data.value == undefined ? data : data.value
// let valuezz = data.value == undefined ? data : data.value
anjay
.
push
(
data
==
""
?
0
:
data
)
anjay
.
push
(
data
==
""
?
0
:
data
)
...
@@ -6027,7 +6027,7 @@ export default class TaxPlanning extends Component {
...
@@ -6027,7 +6027,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
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
)}
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
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@83
-
@87#TP2"
)).
toFixed
(
1
)}
value
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@83
*
@87#TP2"
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
@@ -6045,13 +6045,13 @@ export default class TaxPlanning extends Component {
...
@@ -6045,13 +6045,13 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
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
)}
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
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@87
-
@88"
)).
toFixed
(
1
)}
value
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@87
+
@88"
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
<
/div
>
<
/div
>
:
:
String
(
tableMeta
.
rowData
[
8
]).
toUpperCase
()
===
'UNDER PAYMENT /(OVER PAYMENT ) INCOME TAX ART. 29'
?
tableMeta
.
rowData
[
8
]
===
"Under payment /(Over Payment ) Income Tax Art. 29"
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -6063,7 +6063,7 @@ export default class TaxPlanning extends Component {
...
@@ -6063,7 +6063,7 @@ export default class TaxPlanning extends Component {
type
=
"text"
type
=
"text"
placeholder
=
"input"
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
)}
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
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@8
7-@88
"
)).
toFixed
(
1
)}
value
=
{
Number
(
handleNewFormula
(
tableMeta
,
3
,
"@8
9-(@92+@93+@94+95)
"
)).
toFixed
(
1
)}
/
>
/
>
}
}
/
>
/
>
...
...
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