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
11224f29
Commit
11224f29
authored
Dec 11, 2020
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hapus ketinggalan
parent
287a84ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
TaxPlanningMR.js
src/container/MonthlyReport/TaxPlanningMR.js
+8
-10
No files found.
src/container/MonthlyReport/TaxPlanningMR.js
View file @
11224f29
...
...
@@ -52,8 +52,7 @@ export default class TaxPlanningMR extends Component {
buttonDraft
:
true
,
handleTekTekTek
:
0
,
saveDraft
:
true
,
buttonError
:
true
,
shouldBeNil
:
true
buttonError
:
true
}
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
...
...
@@ -185,7 +184,7 @@ export default class TaxPlanningMR extends Component {
}
}
})
this
.
setState
({
dataTable
,
loading
:
false
,
editable
:
true
,
shouldBeNil
:
false
})
this
.
setState
({
dataTable
,
loading
:
false
,
editable
:
true
})
}
else
{
this
.
setState
({
loading
:
false
,
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
))
{
...
...
@@ -1612,7 +1611,6 @@ export default class TaxPlanningMR extends Component {
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data is not complete !'
,
tipeAlert
:
'warning'
})
:
this
.
state
.
handleTekTekTek
==
1
?
null
:
this
.
state
.
shouldBeNil
===
true
?
null
:
this
.
setState
({
handleTekTekTek
:
1
,
loading
:
true
},
()
=>
{
setTimeout
(()
=>
{
this
.
backToMonthlyReport
(
'submitted'
)
...
...
@@ -1621,7 +1619,7 @@ export default class TaxPlanningMR extends Component {
}
style
=
{{
backgroundColor
:
'transparent'
,
cursor
:
(
this
.
state
.
buttonError
===
true
)
||
(
this
.
state
.
shouldBeNil
===
true
)
?
'default'
:
'pointer'
,
cursor
:
this
.
state
.
buttonError
===
true
?
'default'
:
'pointer'
,
borderColor
:
'transparent'
,
outline
:
'none'
}}
...
...
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