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
4ef61bd5
Commit
4ef61bd5
authored
Oct 05, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buat arpin pus
parent
0835644c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
BudgetTahunan.js
src/container/BudgetTahunan.js
+4
-2
No files found.
src/container/BudgetTahunan.js
View file @
4ef61bd5
...
@@ -65,7 +65,8 @@ export default class BudgetTahunan extends Component {
...
@@ -65,7 +65,8 @@ export default class BudgetTahunan extends Component {
lastPeriod
:
''
,
lastPeriod
:
''
,
latestPeriode
:
''
,
latestPeriode
:
''
,
minDateRevision
:
new
Date
(),
minDateRevision
:
new
Date
(),
maxDateRevision
:
new
Date
()
maxDateRevision
:
new
Date
(),
btnApprove
:
false
}
}
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
this
.
fileHandler
=
this
.
fileHandler
.
bind
(
this
);
}
}
...
@@ -376,6 +377,7 @@ export default class BudgetTahunan extends Component {
...
@@ -376,6 +377,7 @@ export default class BudgetTahunan extends Component {
lastStatus
:
response
.
data
.
data
.
last_status
===
null
?
'SUBMIT'
:
response
.
data
.
data
.
last_status
,
lastStatus
:
response
.
data
.
data
.
last_status
===
null
?
'SUBMIT'
:
response
.
data
.
data
.
last_status
,
loading
:
false
,
loading
:
false
,
lastRevision
:
response
.
data
.
data
.
last_revision
,
lastRevision
:
response
.
data
.
data
.
last_revision
,
btnApprove
:
response
.
data
.
data
.
is_submit
},
()
=>
{
},
()
=>
{
console
.
log
(
this
.
state
.
lastStatus
);
console
.
log
(
this
.
state
.
lastStatus
);
this
.
historyApproval
()
this
.
historyApproval
()
...
@@ -1100,7 +1102,7 @@ export default class BudgetTahunan extends Component {
...
@@ -1100,7 +1102,7 @@ export default class BudgetTahunan extends Component {
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#fff'
,
textAlign
:
'center'
}}
>
Review
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#fff'
,
textAlign
:
'center'
}}
>
Review
<
/Typography
>
<
/div
>
<
/div
>
<
/button
>
<
/button
>
<
/div> :
this.state.lastStatus === 'WAITING FOR YOUR APPROVAL'
?
<
/div> :
(
this.state.lastStatus === 'WAITING FOR YOUR APPROVAL' && this.state.btnApprove
)
?
<
div
className
=
"grid grid-2x"
style
=
{{
borderTop
:
'solid 1px #c4c4c4'
,
padding
:
10
,
backgroundColor
:
'#f5f5f5'
,
width
:
'100%'
,
}}
>
<
div
className
=
"grid grid-2x"
style
=
{{
borderTop
:
'solid 1px #c4c4c4'
,
padding
:
10
,
backgroundColor
:
'#f5f5f5'
,
width
:
'100%'
,
}}
>
<
div
className
=
"col-1"
>
<
div
className
=
"col-1"
>
<
button
<
button
...
...
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