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
3832dd88
Commit
3832dd88
authored
Sep 23, 2020
by
Rifka Kurnia Irfiana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update typo handle validate
parent
ff352c8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TaxPlanning.js
src/container/BudgetTahunan/TaxPlanning.js
+5
-5
No files found.
src/container/BudgetTahunan/TaxPlanning.js
View file @
3832dd88
...
@@ -661,7 +661,7 @@ export default class TaxPlanning extends Component {
...
@@ -661,7 +661,7 @@ export default class TaxPlanning extends Component {
"company_id"
:
this
.
props
.
company
.
company_id
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"periode"
:
this
.
props
.
periode
,
"periode"
:
this
.
props
.
periode
,
"report_id"
:
this
.
props
.
report_id
,
"report_id"
:
this
.
props
.
report_id
,
"
balance_sheet
"
:
data
,
"
tax_planning
"
:
data
,
"status"
:
"submitted"
"status"
:
"submitted"
}
}
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
api
.
create
().
validateSubmitReport
(
payload
).
then
((
response
)
=>
{
...
@@ -725,7 +725,7 @@ export default class TaxPlanning extends Component {
...
@@ -725,7 +725,7 @@ export default class TaxPlanning extends Component {
let
total
=
0
let
total
=
0
dataTable2
[
tableMeta
.
rowIndex
].
map
((
item
,
index
)
=>
{
dataTable2
[
tableMeta
.
rowIndex
].
map
((
item
,
index
)
=>
{
if
(
index
>=
9
&&
index
<=
20
)
{
if
(
index
>=
9
&&
index
<=
20
)
{
console
.
log
(
item
);
//
console.log(item);
let
valItem
=
item
.
fcp
==
undefined
||
item
.
fcp
==
""
?
0
:
item
.
fcp
let
valItem
=
item
.
fcp
==
undefined
||
item
.
fcp
==
""
?
0
:
item
.
fcp
total
+=
Number
(
valItem
)
total
+=
Number
(
valItem
)
}
}
...
@@ -4075,7 +4075,7 @@ export default class TaxPlanning extends Component {
...
@@ -4075,7 +4075,7 @@ export default class TaxPlanning extends Component {
<
div
className
=
"grid grid-3x content-center"
>
<
div
className
=
"grid grid-3x content-center"
>
{
/* <div className="col-1"> */
}
{
/* <div className="col-1"> */
}
<
div
style
=
{{
textAlign
:
'right'
}}
>
<
div
style
=
{{
textAlign
:
'right'
}}
>
{
tableMeta
.
rowData
[
1
]
===
3
?
{
tableMeta
.
rowData
[
2
]
===
3
?
<
div
style
=
{{
flex
:
1
}}
>
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
<
FormControlLabel
style
=
{{
margin
:
0
}}
style
=
{{
margin
:
0
}}
...
@@ -4851,8 +4851,8 @@ export default class TaxPlanning extends Component {
...
@@ -4851,8 +4851,8 @@ export default class TaxPlanning extends Component {
// this.forceUpdate()
// this.forceUpdate()
this
.
setState
({
loading
:
true
},
()
=>
{
this
.
setState
({
loading
:
true
},
()
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
setState
({
loading
:
false
,
buttonError
:
false
,
editable
:
true
})
//
this.setState({ loading: false, buttonError: false, editable: true })
//
this.handleValidate()
this
.
handleValidate
()
},
100
);
},
100
);
})
})
}}
}}
...
...
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