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
Hide 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 {
...
@@ -52,8 +52,7 @@ export default class TaxPlanningMR extends Component {
buttonDraft
:
true
,
buttonDraft
:
true
,
handleTekTekTek
:
0
,
handleTekTekTek
:
0
,
saveDraft
:
true
,
saveDraft
:
true
,
buttonError
:
true
,
buttonError
:
true
shouldBeNil
:
true
}
}
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
...
@@ -185,7 +184,7 @@ export default class TaxPlanningMR extends Component {
...
@@ -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
{
}
else
{
this
.
setState
({
loading
:
false
,
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
this
.
setState
({
loading
:
false
,
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
},
()
=>
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
))
{
if
(
response
.
data
.
message
.
includes
(
"Someone Logged In"
))
{
...
@@ -1612,16 +1611,15 @@ export default class TaxPlanningMR extends Component {
...
@@ -1612,16 +1611,15 @@ export default class TaxPlanningMR extends Component {
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data is not complete !'
,
tipeAlert
:
'warning'
})
this
.
setState
({
alert
:
true
,
messageAlert
:
'Data is not complete !'
,
tipeAlert
:
'warning'
})
:
:
this
.
state
.
handleTekTekTek
==
1
?
null
:
this
.
state
.
handleTekTekTek
==
1
?
null
:
this
.
state
.
shouldBeNil
===
true
?
null
:
this
.
setState
({
handleTekTekTek
:
1
,
loading
:
true
},
()
=>
{
this
.
setState
({
handleTekTekTek
:
1
,
loading
:
true
},
()
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
backToMonthlyReport
(
'submitted'
)
this
.
backToMonthlyReport
(
'submitted'
)
},
100
);
},
100
);
})
})
}
}
style
=
{{
style
=
{{
backgroundColor
:
'transparent'
,
backgroundColor
:
'transparent'
,
cursor
:
(
this
.
state
.
buttonError
===
true
)
||
(
this
.
state
.
shouldBeNil
===
true
)
?
'default'
:
'pointer'
,
cursor
:
this
.
state
.
buttonError
===
true
?
'default'
:
'pointer'
,
borderColor
:
'transparent'
,
borderColor
:
'transparent'
,
outline
:
'none'
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