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
60b4d614
Commit
60b4d614
authored
Jan 26, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
push See merge request
!1045
parents
ac1fffc4
ca1e21a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
114 additions
and
114 deletions
+114
-114
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+114
-114
No files found.
src/container/MonthlyReport/ProfitLossMR.js
View file @
60b4d614
...
...
@@ -989,25 +989,25 @@ export default class ProfitLossMR extends Component {
decimalScale
=
{
1
}
/
>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
7
]}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
0
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div
>
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={tableMeta.rowData[7]}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(val, tableMeta, 0)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
//
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -1079,38 +1079,38 @@ export default class ProfitLossMR extends Component {
decimalScale
=
{
1
}
/
>
:
tableMeta
.
rowData
[
0
]
===
2
?
<
span
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
}}
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValue
(
tableMeta
,
0
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
<
/span
>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
8
]}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
0
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div
>
:
//
tableMeta.rowData[0] === 2 ?
//
<span style={{ fontSize: 12, textAlign: 'right' }}>
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleValue(tableMeta, 0)).toFixed(1)}
//
decimalScale={1}
//
/>
//
</span>
//
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={tableMeta.rowData[8]}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(value, tableMeta, 0)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
//
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -1146,37 +1146,37 @@ export default class ProfitLossMR extends Component {
decimalScale
=
{
1
}
/
>
:
tableMeta
.
rowData
[
0
]
===
2
?
<
span
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
}}
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValue
(
tableMeta
,
1
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
<
/span>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
tableMeta
.
rowData
[
9
]}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
value
,
tableMeta
,
1
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div
>
:
//
tableMeta.rowData[0] === 2 ?
//
<span style={{ fontSize: 12, textAlign: 'right' }}>
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleValue(tableMeta, 1)).toFixed(1)}
//
decimalScale={1}
//
/>
//
</span> :
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={tableMeta.rowData[9]}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(value, tableMeta, 1)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
//
:
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
...
...
@@ -1406,38 +1406,38 @@ export default class ProfitLossMR extends Component {
decimalScale
=
{
1
}
/
>
:
tableMeta
.
rowData
[
0
]
===
2
?
<
span
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
}}
>
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleValue
(
tableMeta
,
0
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
<
/span
>
:
tableMeta
.
rowData
[
0
]
===
6
?
<
div
style
=
{{
flex
:
1
}}
>
<
FormControlLabel
style
=
{{
margin
:
0
}}
value
=
{
Number
(
tableMeta
.
rowData
[
12
]).
toFixed
(
1
)}
control
=
{
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
fontSize
:
12
,
textAlign
:
'right'
,
borderColor
:
'transparent'
,
margin
:
0
,
width
:
96
,
backgroundColor
:
'transparent'
}}
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
Number
(
handleFormula
(
val
,
tableMeta
,
0
)).
toFixed
(
1
)}
decimalScale
=
{
1
}
/
>
}
/
>
<
/div
>
:
//
tableMeta.rowData[0] === 2 ?
//
<span style={{ fontSize: 12, textAlign: 'right' }}>
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleValue(tableMeta, 0)).toFixed(1)}
//
decimalScale={1}
//
/>
//
</span>
//
:
//
tableMeta.rowData[0] === 6 ?
//
<div style={{ flex: 1 }}>
//
<FormControlLabel
//
style={{ margin: 0 }}
//
value={Number(tableMeta.rowData[12]).toFixed(1)}
//
control={
//
<NumberFormat
//
thousandSeparator={true}
//
style={{ fontSize: 12, textAlign: 'right', borderColor: 'transparent', margin: 0, width: 96, backgroundColor: 'transparent' }}
//
type="text"
//
placeholder=""
//
disabled={true}
//
value={Number(handleFormula(val, tableMeta, 0)).toFixed(1)}
//
decimalScale={1}
//
/>
//
}
//
/>
//
</div>
//
:
<
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