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
32de7146
Commit
32de7146
authored
Oct 13, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BISMILLAH_FIX_FINAL
parent
550e0882
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
650 additions
and
106 deletions
+650
-106
BudgetTahunan.js
src/container/BudgetTahunan.js
+4
-1
CashFlow.js
src/container/BudgetTahunan/CashFlow.js
+323
-78
CorporateAnnualTarget.js
src/container/BudgetTahunan/CorporateAnnualTarget.js
+29
-19
OperatingIndicatorDetail.js
src/container/OprIndicator/OperatingIndicatorDetail.js
+294
-8
No files found.
src/container/BudgetTahunan.js
View file @
32de7146
...
...
@@ -1345,8 +1345,11 @@ export default class BudgetTahunan extends Component {
periode
=
{
this
.
state
.
periode
.
periode
}
submissionID
=
{
this
.
state
.
submissionID
}
saveToMasterBudget
=
{
this
.
saveToMasterBudget
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visibleC
F
:
false
,
visibleBudgetTahunan
:
true
})}
onClickClose
=
{()
=>
this
.
setState
({
visibleC
AT
:
false
,
visibleBudgetTahunan
:
true
})}
getReport
=
{
this
.
getSubmission
.
bind
(
this
)}
isApprover
=
{
this
.
state
.
isApprover
}
status
=
{
this
.
state
.
status
}
lastStatus
=
{
this
.
state
.
lastStatus
}
prevRevision
=
{
this
.
state
.
isSubmit
?
this
.
state
.
prevRevision
:
true
}
/
>
)}
...
...
src/container/BudgetTahunan/CashFlow.js
View file @
32de7146
This diff is collapsed.
Click to expand it.
src/container/BudgetTahunan/CorporateAnnualTarget.js
View file @
32de7146
...
...
@@ -916,6 +916,10 @@ export default class CorporateAnnualTarget extends Component {
}
const
handleAction
=
(
idParent
,
typeReport
,
tableMeta
)
=>
{
if
(
this
.
props
.
isApprover
)
{
return
false
}
else
{
if
((
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'
))
{
if
(
idParent
!==
null
)
{
let
indexsss
=
dataTable2
.
findIndex
((
val
)
=>
val
[
1
]
==
idParent
)
if
(
dataTable2
[
indexsss
][
6
]
==
'CUSTOMER PERSPECTIVE'
||
dataTable2
[
indexsss
][
6
]
==
'INTERNAL BUSINESS PROCESS PERSPECTIVE'
)
{
...
...
@@ -937,6 +941,11 @@ export default class CorporateAnnualTarget extends Component {
return
false
}
}
}
else
{
return
false
}
}
}
const
handleTambah
=
(
data
,
rowIndex
)
=>
{
...
...
@@ -1048,7 +1057,7 @@ export default class CorporateAnnualTarget extends Component {
name
:
""
,
options
:
{
filter
:
false
,
display
:
this
.
props
.
isApprover
?
false
:
true
,
display
:
this
.
props
.
isApprover
?
false
:
((
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'
)
?
true
:
false
)
,
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
key
=
{
columnMeta
.
index
}
style
=
{{
...
style
,
top
:
0
,
zIndex
:
102
,
backgroundColor
:
'#dbdbdb'
}}
>
<
Typography
style
=
{{
color
:
'white'
,
fontSize
:
12
,
fontWeight
:
'bold'
,
textAlign
:
'left'
}}
>
{
columnMeta
.
name
}
<
/Typography
>
...
...
@@ -1112,7 +1121,7 @@ export default class CorporateAnnualTarget extends Component {
return
(
tableMeta
.
rowData
[
1
]
==
""
?
<
div
style
=
{{
textAlign
:
'left'
,
paddingLeft
:
20
*
Number
(
tableMeta
.
rowData
[
4
])
}}
>
<
FormControlLabel
{
!
this
.
state
.
loading
&&
<
FormControlLabel
style
=
{{
margin
:
0
}}
control
=
{
<
Input
...
...
@@ -1129,7 +1138,7 @@ export default class CorporateAnnualTarget extends Component {
}}
/
>
}
/
>
/>
}
<
/div
>
:
<
div
style
=
{{
width
:
300
}}
>
...
...
@@ -1426,9 +1435,10 @@ export default class CorporateAnnualTarget extends Component {
<
/TableCell
>
),
customBodyRender
:
(
value
,
tableMeta
)
=>
{
// console.log(tableMeta.rowData[0])
return
(
<
div
style
=
{{
width
:
96
}}
>
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
{
tableMeta
.
rowData
[
0
]
===
1
||
tableMeta
.
rowData
[
0
]
===
2
||
tableMeta
.
rowData
[
0
]
===
4
?
null
:
<
div
style
=
{{
flex
:
1
}}
>
...
...
@@ -1447,7 +1457,7 @@ export default class CorporateAnnualTarget extends Component {
onBlur
=
{(
event
)
=>
{
// updateValue(event.target.value)
handleChange
(
event
.
target
.
value
,
tableMeta
)
// console.log(
dataTable2
)
// console.log(
tableMeta.rowData[0]
)
}}
/
>
}
...
...
src/container/OprIndicator/OperatingIndicatorDetail.js
View file @
32de7146
This diff is collapsed.
Click to expand it.
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