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
af827e20
Commit
af827e20
authored
Oct 05, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' of
http://103.44.149.204/d.arizona/tia-dev
into dev/riri
parents
8e8e8ef6
2156322c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
133 additions
and
59 deletions
+133
-59
CreateParameter.js
src/container/MasterData/Parameter/CreateParameter.js
+111
-31
PopUpInformation.js
src/library/PopUpInformation.js
+22
-28
No files found.
src/container/MasterData/Parameter/CreateParameter.js
View file @
af827e20
This diff is collapsed.
Click to expand it.
src/library/PopUpInformation.js
View file @
af827e20
...
@@ -79,15 +79,15 @@ export default class PopUpInformation extends Component {
...
@@ -79,15 +79,15 @@ export default class PopUpInformation extends Component {
reportName
(){
reportName
(){
if
(
this
.
props
.
reportName
==
"MASTER_BUDGET"
){
if
(
this
.
props
.
reportName
==
"MASTER_BUDGET"
){
return
"
master b
udget"
return
"
Master B
udget"
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q1"
){
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q1"
){
return
"
rolling o
utlook"
return
"
Rolling O
utlook"
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q2"
){
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q2"
){
return
"
rolling o
utlook"
return
"
Rolling O
utlook"
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q3"
){
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_Q3"
){
return
"
rolling o
utlook"
return
"
Rolling O
utlook"
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_PA"
){
}
else
if
(
this
.
props
.
reportName
==
"OUTLOOK_PA"
){
return
"
o
utlook PA"
return
"
O
utlook PA"
}
}
}
}
...
@@ -99,12 +99,12 @@ export default class PopUpInformation extends Component {
...
@@ -99,12 +99,12 @@ export default class PopUpInformation extends Component {
if
(
this
.
props
.
reportName
==
"MONTHLY_REPORT"
){
if
(
this
.
props
.
reportName
==
"MONTHLY_REPORT"
){
return
(
return
(
<
div
className
=
"test app-popup-show"
>
<
div
className
=
"test app-popup-show"
>
<
div
className
=
"popup-content border-radius"
style
=
{{
background
:
'#FFF27D'
,
borderRadius
:
10
,
width
:
600
,
height
:
55
0
}}
>
<
div
className
=
"popup-content border-radius"
style
=
{{
background
:
'#FFF27D'
,
borderRadius
:
10
,
width
:
530
,
height
:
52
0
}}
>
<
div
style
=
{{
margin
:
30
}}
>
<
div
style
=
{{
margin
:
30
}}
>
<
div
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
}}
>
<
div
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
}}
>
<
span
style
=
{{
textAlign
:
'center'
,
fontSize
:
14
,
fontWeight
:
'bold'
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
20
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
{
this
.
namaJudul
()}
<
b
>
Format
max
-
min
value
<
/b> Monthly Report
:
<
/
span
>
<
/
div
>
<
/div
>
<
/div
>
<
div
className
=
"border-top grid grid-2x"
>
<
div
className
=
"border-top grid grid-2x"
>
<
div
className
=
"column-1"
style
=
{{
alignSelf
:
'center'
,
width
:
70
}}
>
<
div
className
=
"column-1"
style
=
{{
alignSelf
:
'center'
,
width
:
70
}}
>
...
@@ -116,16 +116,13 @@ export default class PopUpInformation extends Component {
...
@@ -116,16 +116,13 @@ export default class PopUpInformation extends Component {
}}
/
>
}}
/
>
<
/div
>
<
/div
>
<
div
className
=
"column-2"
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
marginLeft
:
20
,
paddingBottom
:
20
,
width
:
400
}}
>
<
div
className
=
"column-2"
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
marginLeft
:
20
,
paddingBottom
:
20
,
width
:
400
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
4
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
2
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Please
enter
the
date
in
the
following
format
:
<
b
>
'dd MMM YYYY.'
<
/b
>
Please
enter
the
date
in
the
following
format
:
<
b
>
'dd MMM YYYY.'
<
/b
>
<
/div
>
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
4
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
2
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
For
example
,
1
Jan
2023
.
For
example
,
1
Jan
2023
.
<
/div
>
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
className
=
"grid grid-3x"
style
=
{{
marginTop
:
10
}}
>
<
b
>
format
max
-
min
value
<
/b> Monthly Report
:
<
/div
>
<
div
className
=
"grid grid-3x"
>
<
div
className
=
"column-1"
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
width
:
40
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
className
=
"column-1"
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
width
:
40
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Jan
:
Jan
:
<
/div
>
<
/div
>
...
@@ -276,12 +273,12 @@ export default class PopUpInformation extends Component {
...
@@ -276,12 +273,12 @@ export default class PopUpInformation extends Component {
}
else
{
}
else
{
return
(
return
(
<
div
className
=
"test app-popup-show"
>
<
div
className
=
"test app-popup-show"
>
<
div
className
=
"popup-content border-radius"
style
=
{{
background
:
'#FFF27D'
,
borderRadius
:
10
,
width
:
500
,
height
:
(
this
.
props
.
reportName
==
"MASTER_BUDGET"
)
||
(
this
.
props
.
reportName
==
"OUTLOOK_PA"
)
?
300
:
35
0
}}
>
<
div
className
=
"popup-content border-radius"
style
=
{{
background
:
'#FFF27D'
,
borderRadius
:
10
,
width
:
460
,
height
:
(
this
.
props
.
reportName
==
"MASTER_BUDGET"
)
||
(
this
.
props
.
reportName
==
"OUTLOOK_PA"
)
?
250
:
30
0
}}
>
<
div
style
=
{{
margin
:
30
}}
>
<
div
style
=
{{
margin
:
15
}}
>
<
div
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
}}
>
<
div
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
}}
>
<
span
style
=
{{
textAlign
:
'center'
,
fontSize
:
14
,
fontWeight
:
'bold'
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
20
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
{
this
.
namaJudul
()}
<
b
>
Format
max
-
min
value
<
/b> <span>{this.reportName
()
}</
span
>
:
<
/
span
>
<
/
div
>
<
/div
>
<
/div
>
<
div
className
=
"border-top grid grid-2x"
>
<
div
className
=
"border-top grid grid-2x"
>
<
div
className
=
"column-1"
style
=
{{
alignSelf
:
'center'
,
width
:
70
}}
>
<
div
className
=
"column-1"
style
=
{{
alignSelf
:
'center'
,
width
:
70
}}
>
...
@@ -293,23 +290,20 @@ export default class PopUpInformation extends Component {
...
@@ -293,23 +290,20 @@ export default class PopUpInformation extends Component {
}}
/
>
}}
/
>
<
/div
>
<
/div
>
<
div
className
=
"column-2"
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
,
width
:
350
}}
>
<
div
className
=
"column-2"
style
=
{{
display
:
'grid'
,
justifyContent
:
'center'
,
marginTop
:
20
,
paddingBottom
:
20
,
width
:
350
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
4
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
2
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Please
enter
the
date
in
the
following
format
:
<
b
>
'dd MMM YYYY.'
<
/b
>
Please
enter
the
date
in
the
following
format
:
<
b
>
'dd MMM YYYY.'
<
/b
>
<
/div
>
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
4
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
1
2
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
For
example
,
1
Jan
2023
.
For
example
,
1
Jan
2023
.
<
/div
>
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
marginTop
:
10
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
b
>
format
max
-
min
value
<
/b> <span>{this.reportName
()
}</
span
>
:
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Min
Value
:
<
span
>
{
this
.
minValue
()}
<
/span
>
Min
Value
:
<
span
>
{
this
.
minValue
()}
<
/span
>
<
/div
>
<
/div
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
color
:
'#1D2995'
,
paddingBottom
:
5
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
14
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Max
Value
:
<
span
>
{
this
.
maxValue
()}
<
/span
>
Max
Value
:
<
span
>
{
this
.
maxValue
()}
<
/span
>
<
/div
>
<
/div
>
{
this
.
state
.
notes
&&
{
this
.
state
.
notes
&&
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
12
,
color
:
'#1D2995'
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
<
div
style
=
{{
justifyContent
:
'center'
,
fontSize
:
12
,
color
:
'#1D2995'
,
paddingTop
:
5
,
fontFamily
:
'Nunito Sans, sans-serif'
}}
>
Note
:
The
actual
maximum
value
<
span
>
{
this
.
notesMessage
()}
<
/span
>
Note
:
The
actual
maximum
value
<
span
>
{
this
.
notesMessage
()}
<
/span
>
<
/div
>
<
/div
>
}
}
...
...
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