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
82c45a31
Commit
82c45a31
authored
Dec 01, 2020
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operating indicator
parent
d4f5114a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
MonthlyReport.js
src/container/MonthlyReport.js
+1
-0
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+5
-7
No files found.
src/container/MonthlyReport.js
View file @
82c45a31
...
...
@@ -1148,6 +1148,7 @@ export default class MonthlyReport extends Component {
periode
=
{
this
.
state
.
periode
.
periode
}
monthlyReportId
=
{
this
.
state
.
monthlyReportId
}
month
=
{
this
.
state
.
month
}
onClickClose
=
{()
=>
this
.
setState
({
visibleOI
:
false
,
visibleMonthlyReport
:
true
})}
/
>
)}
<
/div
>
...
...
src/container/MonthlyReport/ProfitLossMR.js
View file @
82c45a31
...
...
@@ -86,8 +86,6 @@ export default class ProfitLossMR extends Component {
},
()
=>
{
this
.
getItemHierarki
()
console
.
log
(
response
.
data
.
data
[
0
]);
console
.
log
(
response
.
data
.
data
[
0
].
max_value
);
})
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
tipeAlert
:
'warning'
,
loading
:
false
},
()
=>
{
...
...
@@ -693,7 +691,7 @@ export default class ProfitLossMR extends Component {
customBodyRender
:
(
val
,
tableMeta
,
updateValue
)
=>
{
return
(
<
div
style
=
{{
textAlign
:
'right'
,
width
:
90
}}
>
{
tableMeta
.
rowData
[
0
]
===
4
?
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
tableMeta
.
rowData
[
0
]
===
6
?
...
...
@@ -993,7 +991,7 @@ export default class ProfitLossMR extends Component {
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
9
]}
value
=
{
tableMeta
.
rowData
[
11
]}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1059,7 +1057,7 @@ export default class ProfitLossMR extends Component {
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
9
]
}
value
=
{
Number
(
tableMeta
.
rowData
[
12
]).
toFixed
(
1
)
}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1186,7 +1184,7 @@ export default class ProfitLossMR extends Component {
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
Number
(
tableMeta
.
rowData
[
1
5
])
<=
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
15
])
>=
this
.
state
.
maxValue
?
Number
(
tableMeta
.
rowData
[
1
4
])
<=
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
14
])
>=
this
.
state
.
maxValue
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -1326,7 +1324,7 @@ export default class ProfitLossMR extends Component {
{
tableMeta
.
rowData
[
0
]
===
4
||
tableMeta
.
rowData
[
0
]
===
1
?
null
:
Number
(
tableMeta
.
rowData
[
1
7
])
<=
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
17
])
>=
this
.
state
.
maxValue
?
Number
(
tableMeta
.
rowData
[
1
8
])
<=
this
.
state
.
minValue
||
Number
(
tableMeta
.
rowData
[
18
])
>=
this
.
state
.
maxValue
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
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