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
81a58b53
Commit
81a58b53
authored
Dec 21, 2020
by
rifkaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue dikit oi
parent
0acca671
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
OperatingIndicatorMR.js
src/container/MonthlyReport/OperatingIndicatorMR.js
+28
-28
No files found.
src/container/MonthlyReport/OperatingIndicatorMR.js
View file @
81a58b53
...
...
@@ -324,7 +324,7 @@ export default class OperatingIndicatorMR extends Component {
monthly_report
:
payload
}
console
.
log
(
body
)
this
.
setState
({
payload
:
body
,
buttonError
:
false
,
judul
:
resp
.
rows
[
1
][
0
]
})
this
.
setState
({
payload
:
body
,
buttonError
:
false
,
judul
:
resp
.
rows
[
1
][
0
]
,
judulColumn
:
resp
.
rows
[
0
][
0
]
})
}
});
}
...
...
@@ -730,7 +730,7 @@ export default class OperatingIndicatorMR extends Component {
}
}
},
{
name
:
`Rolling Outlook (FY
${
this
.
props
.
periode
}
)`
,
name
:
`Rolling Outlook (FY
${
this
.
props
.
data
.
periode
}
)`
,
options
:
{
customHeadRender
:
(
columnMeta
)
=>
(
<
TableCell
style
=
{{
...
style2
,
top
:
0
,
zIndex
:
99
,
backgroundColor
:
'#07a7d0'
,
width
:
96
,
borderLeft
:
'1px #fff solid'
,
borderRight
:
'1px #fff solid'
}}
>
...
...
@@ -1354,18 +1354,18 @@ export default class OperatingIndicatorMR extends Component {
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
report_id
===
22
?
'J
an
'
:
this
.
props
.
data
.
report_id
===
23
?
'F
eb
'
:
this
.
props
.
data
.
report_id
===
24
?
'M
ar
'
:
this
.
props
.
data
.
report_id
===
25
?
'A
pr
'
:
this
.
props
.
data
.
report_id
===
26
?
'M
ay
'
:
this
.
props
.
data
.
report_id
===
27
?
'J
un
'
:
this
.
props
.
data
.
report_id
===
28
?
'J
ul
'
:
this
.
props
.
data
.
report_id
===
29
?
'A
ug
'
:
this
.
props
.
data
.
report_id
===
30
?
'S
ep
'
:
this
.
props
.
data
.
report_id
===
31
?
'O
ct
'
:
this
.
props
.
data
.
report_id
===
32
?
'N
ov
'
:
this
.
props
.
data
.
report_id
===
33
?
'D
ec
'
:
""
}
{
this
.
props
.
data
.
periode
}
this
.
props
.
data
.
report_id
===
22
?
'J
AN
'
:
this
.
props
.
data
.
report_id
===
23
?
'F
EB
'
:
this
.
props
.
data
.
report_id
===
24
?
'M
AR
'
:
this
.
props
.
data
.
report_id
===
25
?
'A
PR
'
:
this
.
props
.
data
.
report_id
===
26
?
'M
AY
'
:
this
.
props
.
data
.
report_id
===
27
?
'J
UN
'
:
this
.
props
.
data
.
report_id
===
28
?
'J
UL
'
:
this
.
props
.
data
.
report_id
===
29
?
'A
UG
'
:
this
.
props
.
data
.
report_id
===
30
?
'S
EP
'
:
this
.
props
.
data
.
report_id
===
31
?
'O
CT
'
:
this
.
props
.
data
.
report_id
===
32
?
'N
OV
'
:
this
.
props
.
data
.
report_id
===
33
?
'D
EC
'
:
""
}
{
this
.
props
.
data
.
periode
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
...
...
@@ -1521,18 +1521,18 @@ export default class OperatingIndicatorMR extends Component {
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
{
this
.
props
.
company
.
company_name
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
Period
:
{
this
.
props
.
data
.
report_id
===
22
?
'J
an
'
:
this
.
props
.
data
.
report_id
===
23
?
'F
eb
'
:
this
.
props
.
data
.
report_id
===
24
?
'M
ar
'
:
this
.
props
.
data
.
report_id
===
25
?
'A
pr
'
:
this
.
props
.
data
.
report_id
===
26
?
'M
ay
'
:
this
.
props
.
data
.
report_id
===
27
?
'J
un
'
:
this
.
props
.
data
.
report_id
===
28
?
'J
ul
'
:
this
.
props
.
data
.
report_id
===
29
?
'A
ug
'
:
this
.
props
.
data
.
report_id
===
30
?
'S
ep
'
:
this
.
props
.
data
.
report_id
===
31
?
'O
ct
'
:
this
.
props
.
data
.
report_id
===
32
?
'N
ov
'
:
this
.
props
.
data
.
report_id
===
33
?
'D
ec
'
:
""
}
{
this
.
props
.
data
.
periode
}
this
.
props
.
data
.
report_id
===
22
?
'J
AN
'
:
this
.
props
.
data
.
report_id
===
23
?
'F
EB
'
:
this
.
props
.
data
.
report_id
===
24
?
'M
AR
'
:
this
.
props
.
data
.
report_id
===
25
?
'A
PR
'
:
this
.
props
.
data
.
report_id
===
26
?
'M
AY
'
:
this
.
props
.
data
.
report_id
===
27
?
'J
UN
'
:
this
.
props
.
data
.
report_id
===
28
?
'J
UL
'
:
this
.
props
.
data
.
report_id
===
29
?
'A
UG
'
:
this
.
props
.
data
.
report_id
===
30
?
'S
EP
'
:
this
.
props
.
data
.
report_id
===
31
?
'O
CT
'
:
this
.
props
.
data
.
report_id
===
32
?
'N
OV
'
:
this
.
props
.
data
.
report_id
===
33
?
'D
EC
'
:
""
}
{
this
.
props
.
data
.
periode
}
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'11px'
,
color
:
'#4b4b4b'
}}
>
in
IDR
mn
<
/Typography
>
<
/div
>
...
...
@@ -1549,7 +1549,7 @@ export default class OperatingIndicatorMR extends Component {
<
/div
>
)}
<
/div
>
<
div
className
=
"grid grid-2x"
>
<
div
className
=
"grid grid-2x"
style
=
{{
marginLeft
:
10
}}
>
<
div
className
=
"col-1"
>
<
button
className
=
"button"
...
...
@@ -1668,7 +1668,7 @@ export default class OperatingIndicatorMR extends Component {
this
.
setState
({
uploadStatus
:
'idle'
,
percentage
:
'0'
})
}}
onUpload
=
{()
=>
{
String
(
this
.
state
.
judul
).
includes
(
"MONTHLY"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"REPORT"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"OPERATING"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"INDICATOR"
)
?
String
(
this
.
state
.
judul
Column
).
includes
(
"TEMPLATE"
)
&&
String
(
this
.
state
.
judulColumn
).
includes
(
"UPLOAD"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"MONTHLY"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"REPORT"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"OPERATING"
)
&&
String
(
this
.
state
.
judul
).
includes
(
"INDICATOR"
)
?
this
.
checkUpload
()
:
this
.
setState
({
alert
:
true
,
messageAlert
:
"Invalid Template"
,
tipeAlert
:
'warning'
})
}}
...
...
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