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
295f5098
Commit
295f5098
authored
Sep 27, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db PL detail
parent
49b8a7ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
199 additions
and
198 deletions
+199
-198
ProfitLoss.js
src/container/BudgetTahunan/ProfitLoss.js
+90
-90
TableSubHolding.js
src/container/Reports/TableSubHolding.js
+109
-108
No files found.
src/container/BudgetTahunan/ProfitLoss.js
View file @
295f5098
...
...
@@ -953,7 +953,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// //decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
...
...
@@ -995,7 +995,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
////decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1013,7 +1013,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1034,7 +1034,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1053,7 +1053,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1069,7 +1069,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1084,7 +1084,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
1
)),
1
)
}
/
>
// null
:
...
...
@@ -1126,7 +1126,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1144,7 +1144,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
true
}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
/
>
...
...
@@ -1164,7 +1164,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1186,7 +1186,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1202,7 +1202,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)
}
/
>
// null
:
...
...
@@ -1215,7 +1215,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
2
)),
1
)
}
/
>
// null
:
...
...
@@ -1269,7 +1269,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1287,7 +1287,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1305,7 +1305,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1327,7 +1327,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1343,7 +1343,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)
}
/
>
// null
:
...
...
@@ -1356,7 +1356,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
3
)),
1
)
}
/
>
// null
:
...
...
@@ -1410,7 +1410,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1428,7 +1428,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1446,7 +1446,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1468,7 +1468,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1484,7 +1484,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)
}
/
>
// null
:
...
...
@@ -1497,7 +1497,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
4
)),
1
)
}
/
>
// null
:
...
...
@@ -1551,7 +1551,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1569,7 +1569,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1587,7 +1587,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1609,7 +1609,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1625,7 +1625,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)
}
/
>
// null
:
...
...
@@ -1638,7 +1638,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
5
)),
1
)
}
/
>
// null
:
...
...
@@ -1692,7 +1692,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1710,7 +1710,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1728,7 +1728,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1750,7 +1750,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1766,7 +1766,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)
}
/
>
// null
:
...
...
@@ -1779,7 +1779,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
6
)),
1
)
}
/
>
// null
:
...
...
@@ -1833,7 +1833,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1851,7 +1851,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1869,7 +1869,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -1891,7 +1891,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -1907,7 +1907,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)
}
/
>
// null
:
...
...
@@ -1920,7 +1920,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
7
)),
1
)
}
/
>
// null
:
...
...
@@ -1974,7 +1974,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -1992,7 +1992,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2010,7 +2010,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2032,7 +2032,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2048,7 +2048,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)
}
/
>
// null
:
...
...
@@ -2061,7 +2061,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
8
)),
1
)
}
/
>
// null
:
...
...
@@ -2115,7 +2115,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2133,7 +2133,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2151,7 +2151,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2173,7 +2173,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2189,7 +2189,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))}
value
=
{
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))
==
0
?
"0.0"
:
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))
}
/
>
// null
:
...
...
@@ -2202,7 +2202,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))}
value
=
{
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))
==
0
?
"0.0"
:
Number
(
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
9
)),
1
))
}
/
>
// null
:
...
...
@@ -2256,7 +2256,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2274,7 +2274,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2292,7 +2292,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2314,7 +2314,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2330,7 +2330,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)
}
/
>
// null
:
...
...
@@ -2343,7 +2343,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
10
)),
1
)
}
/
>
// null
:
...
...
@@ -2397,7 +2397,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2415,7 +2415,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2433,7 +2433,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2455,7 +2455,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2471,7 +2471,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)
}
/
>
// null
:
...
...
@@ -2484,7 +2484,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
11
)),
1
)
}
/
>
// null
:
...
...
@@ -2538,7 +2538,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2556,7 +2556,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2574,7 +2574,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2596,7 +2596,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2612,7 +2612,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)
}
/
>
// null
:
...
...
@@ -2625,7 +2625,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
12
)),
1
)
}
/
>
// null
:
...
...
@@ -2679,7 +2679,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2697,7 +2697,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2714,7 +2714,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span>
:
// tableMeta.rowData[0] === 6 ?
...
...
@@ -2735,8 +2735,8 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
// value={fixNumber(Number(value), 1)}
value
=
{
fixNumber
(
Number
(
handleTotal
(
tableMeta
)),
1
)}
// value={fixNumber(Number(value), 1)
== 0 ? "0.0" : fixNumber(Number(value), 1)
}
value
=
{
fixNumber
(
Number
(
handleTotal
(
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleTotal
(
tableMeta
)),
1
)
}
/
>
<
/span>
}
<
/div
>
...
...
@@ -2774,7 +2774,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2792,7 +2792,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2810,7 +2810,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2832,7 +2832,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2848,7 +2848,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)
}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
// null
:
...
...
@@ -2861,7 +2861,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
13
)),
1
)
}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
// null
:
...
...
@@ -2915,7 +2915,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2933,7 +2933,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
/
>
}
/
>
...
...
@@ -2951,7 +2951,7 @@ export default class ProfitLoss extends Component {
type
=
"text"
placeholder
=
""
disabled
=
{
this
.
props
.
isApprover
?
true
:
((
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'
)
?
false
:
true
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)}
value
=
{
fixNumber
(
Number
(
value
),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
value
),
1
)
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
onBlur
=
{(
event
)
=>
{
...
...
@@ -2973,7 +2973,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)}
value
=
{
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleValue
(
value
,
tableMeta
)),
1
)
}
/
>
<
/span
>
:
...
...
@@ -2989,7 +2989,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)
}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
// null
:
...
...
@@ -3002,7 +3002,7 @@ export default class ProfitLoss extends Component {
disabled
=
{
true
}
//decimalScale={this.props.defaultCurrency.id == 1 ? 1 : 16}
// decimalScale={this.props.defaultCurrency.id == 1 ? 1 : (String(value).includes(".") && this.state.previewUpload == true ? String(value).split(".")[1].length : 16)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
value
=
{
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)
==
0
?
"0.0"
:
fixNumber
(
Number
(
handleFormula
(
value
,
tableMeta
,
14
)),
1
)
}
ue
=
{
handleFormula
(
value
,
tableMeta
)}
/
>
// null
:
...
...
src/container/Reports/TableSubHolding.js
View file @
295f5098
...
...
@@ -9001,7 +9001,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[7], tableMeta, 7).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[7], tableMeta, 7), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[7], tableMeta, 7),
1)}
/>
}
/>
...
...
@@ -9024,7 +9024,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[8], tableMeta, 8).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[8], tableMeta, 8), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[8], tableMeta, 8),
1)}
/>
}
/>
...
...
@@ -9047,7 +9047,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[9], tableMeta, 9).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[9], tableMeta, 9), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[9], tableMeta, 9),
1)}
/>
}
/>
...
...
@@ -9070,7 +9070,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[10], tableMeta, 10).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[10], tableMeta, 10), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[10], tableMeta, 10),
1)}
/>
}
/>
...
...
@@ -9095,7 +9095,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[11], tableMeta, 11).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[11], tableMeta, 11), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[11], tableMeta, 11),
1)}
/>
}
/>
...
...
@@ -9118,7 +9118,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[12], tableMeta, 12).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[12], tableMeta, 12), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[12], tableMeta, 12),
1)}
/>
}
/>
...
...
@@ -9141,7 +9141,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[13], tableMeta, 13).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[13], tableMeta, 13), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[13], tableMeta, 13),
1)}
/>
}
/>
...
...
@@ -9164,7 +9164,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[14], tableMeta, 14).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[14], tableMeta, 14), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[14], tableMeta, 14),
1)}
/>
}
/>
...
...
@@ -9189,7 +9189,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[15], tableMeta, 15).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[15], tableMeta, 15), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[15], tableMeta, 15),
1)}
/>
}
/>
...
...
@@ -9212,7 +9212,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[16], tableMeta, 16).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[16], tableMeta, 16), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[16], tableMeta, 16),
1)}
/>
}
/>
...
...
@@ -9235,7 +9235,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[17], tableMeta, 17).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[17], tableMeta, 17), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[17], tableMeta, 17),
1)}
/>
}
/>
...
...
@@ -9258,7 +9258,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={
Number(tableMeta.rowData[18], tableMeta, 18).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[18], tableMeta, 18), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[18], tableMeta, 18),
1)}
/>
}
/>
...
...
@@ -9371,7 +9371,7 @@ export default class TableSubHolding extends Component {
placeholder=""
disabled={true}
// value={Number(handleForecastDBPL(tableMeta, `${Number(this.props.periode) + 1}`, 20)).toFixed(1)}
value={
Number(tableMeta.rowData[20], tableMeta, 20).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[20], tableMeta, 20), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[20], tableMeta, 20),
1)}
/>
}
/>
...
...
@@ -9416,7 +9416,7 @@ export default class TableSubHolding extends Component {
placeholder=""
disabled={true}
// value={Number(handleForecastDBPL(tableMeta, `${Number(this.props.periode) + 2}`, 21)).toFixed(1)}
value={
Number(tableMeta.rowData[21], tableMeta, 21).toFixed(
1)}
value={
fixNumber(Number(tableMeta.rowData[21], tableMeta, 21), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[21], tableMeta, 21),
1)}
/>
}
/>
...
...
@@ -9529,7 +9529,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[27]) === "" ? "" :
Number(tableMeta.rowData[27], tableMeta, 27).toFixed(
1)}
value={String(tableMeta.rowData[27]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[27], tableMeta, 27), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[27], tableMeta, 27),
1)}
/>
}
/>
...
...
@@ -9552,7 +9552,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[28]) === "" ? "" :
Number(tableMeta.rowData[28], tableMeta, 28).toFixed(
1)}
value={String(tableMeta.rowData[28]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[28], tableMeta, 28), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[28], tableMeta, 28),
1)}
/>
}
/>
...
...
@@ -9575,7 +9575,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[29]) === "" ? "" :
Number(tableMeta.rowData[29], tableMeta, 29).toFixed(
1)}
value={String(tableMeta.rowData[29]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[29], tableMeta, 29), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[29], tableMeta, 29),
1)}
/>
}
/>
...
...
@@ -9598,7 +9598,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[30]) === "" ? "" :
Number(tableMeta.rowData[30], tableMeta, 30).toFixed(
1)}
value={String(tableMeta.rowData[30]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[30], tableMeta, 30), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[30], tableMeta, 30),
1)}
/>
}
/>
...
...
@@ -9623,7 +9623,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[31]) === "" ? "" :
Number(tableMeta.rowData[31], tableMeta, 31).toFixed(
1)}
value={String(tableMeta.rowData[31]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[31], tableMeta, 31), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[31], tableMeta, 31),
1)}
/>
}
/>
...
...
@@ -9646,7 +9646,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[32]) === "" ? "" :
Number(tableMeta.rowData[32], tableMeta, 32).toFixed(
1)}
value={String(tableMeta.rowData[32]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[32], tableMeta, 32), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[32], tableMeta, 32),
1)}
/>
}
/>
...
...
@@ -9669,7 +9669,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[33]) === "" ? "" :
Number(tableMeta.rowData[33], tableMeta, 33).toFixed(
1)}
value={String(tableMeta.rowData[33]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[33], tableMeta, 33), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[33], tableMeta, 33),
1)}
/>
}
/>
...
...
@@ -9692,7 +9692,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[34]) === "" ? "" :
Number(tableMeta.rowData[34], tableMeta, 34).toFixed(
1)}
value={String(tableMeta.rowData[34]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[34], tableMeta, 34), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[34], tableMeta, 34),
1)}
/>
}
/>
...
...
@@ -9717,7 +9717,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[35]) === "" ? "" :
Number(tableMeta.rowData[35], tableMeta, 35).toFixed(
1)}
value={String(tableMeta.rowData[35]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[35], tableMeta, 35), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[35], tableMeta, 35),
1)}
/>
}
/>
...
...
@@ -9740,7 +9740,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[36]) === "" ? "" :
Number(tableMeta.rowData[36], tableMeta, 36).toFixed(
1)}
value={String(tableMeta.rowData[36]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[36], tableMeta, 36), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[36], tableMeta, 36),
1)}
/>
}
/>
...
...
@@ -9763,7 +9763,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[37]) === "" ? "" :
Number(tableMeta.rowData[37], tableMeta, 37).toFixed(
1)}
value={String(tableMeta.rowData[37]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[37], tableMeta, 37), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[37], tableMeta, 37),
1)}
/>
}
/>
...
...
@@ -9786,7 +9786,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[38]) === "" ? "" :
Number(tableMeta.rowData[38], tableMeta, 38).toFixed(
1)}
value={String(tableMeta.rowData[38]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[38], tableMeta, 38), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[38], tableMeta, 38),
1)}
/>
}
/>
...
...
@@ -9928,7 +9928,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[39]) === "" ? "" :
Number(tableMeta.rowData[39], tableMeta, 39).toFixed(1)
}
value={String(tableMeta.rowData[39]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[39], tableMeta, 39), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[39], tableMeta, 39), 1)
}
/>
}
/>
...
...
@@ -9951,7 +9951,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[40]) === "" ? "" :
Number(tableMeta.rowData[40], tableMeta, 40).toFixed(1)
}
value={String(tableMeta.rowData[40]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[40], tableMeta, 40), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[40], tableMeta, 40), 1)
}
/>
}
/>
...
...
@@ -9974,7 +9974,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[41]) === "" ? "" :
Number(tableMeta.rowData[41], tableMeta, 41).toFixed(1)
}
value={String(tableMeta.rowData[41]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[41], tableMeta, 41), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[41], tableMeta, 41), 1)
}
/>
}
/>
...
...
@@ -9997,7 +9997,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[42]) === "" ? "" :
Number(tableMeta.rowData[42], tableMeta, 42).toFixed(1)
}
value={String(tableMeta.rowData[42]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[42], tableMeta, 42), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[42], tableMeta, 42), 1)
}
/>
}
/>
...
...
@@ -10022,7 +10022,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[43]) === "" ? "" :
Number(tableMeta.rowData[43], tableMeta, 43).toFixed(1)
}
value={String(tableMeta.rowData[43]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[43], tableMeta, 43), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[43], tableMeta, 43), 1)
}
/>
}
/>
...
...
@@ -10045,7 +10045,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[44]) === "" ? "" :
Number(tableMeta.rowData[44], tableMeta, 44).toFixed(1)
}
value={String(tableMeta.rowData[44]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[44], tableMeta, 44), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[44], tableMeta, 44), 1)
}
/>
}
/>
...
...
@@ -10068,7 +10068,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[45]) === "" ? "" :
Number(tableMeta.rowData[45], tableMeta, 45).toFixed(1)
}
value={String(tableMeta.rowData[45]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[45], tableMeta, 45), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[45], tableMeta, 45), 1)
}
/>
}
/>
...
...
@@ -10091,7 +10091,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[46]) === "" ? "" :
Number(tableMeta.rowData[46], tableMeta, 46).toFixed(1)
}
value={String(tableMeta.rowData[46]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[46], tableMeta, 46), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[46], tableMeta, 46), 1)
}
/>
}
/>
...
...
@@ -10116,7 +10116,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[47]) === "" ? "" :
Number(tableMeta.rowData[47], tableMeta, 47).toFixed(1)
}
value={String(tableMeta.rowData[47]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[47], tableMeta, 47), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[47], tableMeta, 47), 1)
}
/>
}
/>
...
...
@@ -10139,7 +10139,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[48]) === "" ? "" :
Number(tableMeta.rowData[48], tableMeta, 48).toFixed(1)
}
value={String(tableMeta.rowData[48]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[48], tableMeta, 48), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[48], tableMeta, 48), 1)
}
/>
}
/>
...
...
@@ -10162,7 +10162,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[49]) === "" ? "" :
Number(tableMeta.rowData[49], tableMeta, 49).toFixed(1)
}
value={String(tableMeta.rowData[49]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[49], tableMeta, 49), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[49], tableMeta, 49), 1)
}
/>
}
/>
...
...
@@ -10185,7 +10185,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[50]) === "" ? "" :
Number(tableMeta.rowData[50], tableMeta, 50).toFixed(1)
}
value={String(tableMeta.rowData[50]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[50], tableMeta, 50), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[50], tableMeta, 50), 1)
}
/>
}
/>
...
...
@@ -10342,7 +10342,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[52]) === "" ? "" :
Number(tableMeta.rowData[52], tableMeta, 52).toFixed(
1)}
value={String(tableMeta.rowData[52]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[52], tableMeta, 52), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[52], tableMeta, 52),
1)}
/>
}
/>
...
...
@@ -10365,7 +10365,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[53]) === "" ? "" :
Number(tableMeta.rowData[53], tableMeta, 53).toFixed(
1)}
value={String(tableMeta.rowData[53]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[53], tableMeta, 53), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[53], tableMeta, 53),
1)}
/>
}
/>
...
...
@@ -10388,7 +10388,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[54]) === "" ? "" :
Number(tableMeta.rowData[54], tableMeta, 54).toFixed(
1)}
value={String(tableMeta.rowData[54]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[54], tableMeta, 54), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[54], tableMeta, 54),
1)}
/>
}
/>
...
...
@@ -10411,7 +10411,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[55]) === "" ? "" :
Number(tableMeta.rowData[55], tableMeta, 55).toFixed(
1)}
value={String(tableMeta.rowData[55]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[55], tableMeta, 55), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[55], tableMeta, 55),
1)}
/>
}
/>
...
...
@@ -10436,7 +10436,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[56]) === "" ? "" :
Number(tableMeta.rowData[56], tableMeta, 56).toFixed(
1)}
value={String(tableMeta.rowData[56]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[56], tableMeta, 56), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[56], tableMeta, 56),
1)}
/>
}
/>
...
...
@@ -10459,7 +10459,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[57]) === "" ? "" :
Number(tableMeta.rowData[57], tableMeta, 57).toFixed(
1)}
value={String(tableMeta.rowData[57]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[57], tableMeta, 57), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[57], tableMeta, 57),
1)}
/>
}
/>
...
...
@@ -10482,7 +10482,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[58]) === "" ? "" :
Number(tableMeta.rowData[58], tableMeta, 58).toFixed(
1)}
value={String(tableMeta.rowData[58]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[58], tableMeta, 58), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[58], tableMeta, 58),
1)}
/>
}
/>
...
...
@@ -10505,7 +10505,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[59]) === "" ? "" :
Number(tableMeta.rowData[59], tableMeta, 59).toFixed(
1)}
value={String(tableMeta.rowData[59]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[59], tableMeta, 59), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[59], tableMeta, 59),
1)}
/>
}
/>
...
...
@@ -10530,7 +10530,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[60]) === "" ? "" :
Number(tableMeta.rowData[60], tableMeta, 60).toFixed(
1)}
value={String(tableMeta.rowData[60]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[60], tableMeta, 60), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[60], tableMeta, 60),
1)}
/>
}
/>
...
...
@@ -10553,7 +10553,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[61]) === "" ? "" :
Number(tableMeta.rowData[61], tableMeta, 61).toFixed(
1)}
value={String(tableMeta.rowData[61]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[61], tableMeta, 61), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[61], tableMeta, 61),
1)}
/>
}
/>
...
...
@@ -10576,7 +10576,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[62]) === "" ? "" :
Number(tableMeta.rowData[62], tableMeta, 62).toFixed(
1)}
value={String(tableMeta.rowData[62]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[62], tableMeta, 62), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[62], tableMeta, 62),
1)}
/>
}
/>
...
...
@@ -10599,7 +10599,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[63]) === "" ? "" :
Number(tableMeta.rowData[63], tableMeta, 63).toFixed(
1)}
value={String(tableMeta.rowData[63]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[63], tableMeta, 63), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[63], tableMeta, 63),
1)}
/>
}
/>
...
...
@@ -10741,7 +10741,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[64]) === "" ? "" :
Number(tableMeta.rowData[64], tableMeta, 64).toFixed(
1)}
value={String(tableMeta.rowData[64]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[64], tableMeta, 64), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[64], tableMeta, 64),
1)}
/>
}
/>
...
...
@@ -10764,7 +10764,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[65]) === "" ? "" :
Number(tableMeta.rowData[65], tableMeta, 65).toFixed(
1)}
value={String(tableMeta.rowData[65]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[65], tableMeta, 65), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[65], tableMeta, 65),
1)}
/>
}
/>
...
...
@@ -10787,7 +10787,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[66]) === "" ? "" :
Number(tableMeta.rowData[66], tableMeta, 66).toFixed(
1)}
value={String(tableMeta.rowData[66]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[66], tableMeta, 66), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[66], tableMeta, 66),
1)}
/>
}
/>
...
...
@@ -10810,7 +10810,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[67]) === "" ? "" :
Number(tableMeta.rowData[67], tableMeta, 67).toFixed(
1)}
value={String(tableMeta.rowData[67]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[67], tableMeta, 67), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[67], tableMeta, 67),
1)}
/>
}
/>
...
...
@@ -10835,7 +10835,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[68]) === "" ? "" :
Number(tableMeta.rowData[68], tableMeta, 68).toFixed(
1)}
value={String(tableMeta.rowData[68]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[68], tableMeta, 68), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[68], tableMeta, 68),
1)}
/>
}
/>
...
...
@@ -10858,7 +10858,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[69]) === "" ? "" :
Number(tableMeta.rowData[69], tableMeta, 69).toFixed(
1)}
value={String(tableMeta.rowData[69]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[69], tableMeta, 69), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[69], tableMeta, 69),
1)}
/>
}
/>
...
...
@@ -10881,7 +10881,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[70]) === "" ? "" :
Number(tableMeta.rowData[70], tableMeta, 70).toFixed(
1)}
value={String(tableMeta.rowData[70]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[70], tableMeta, 70), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[70], tableMeta, 70),
1)}
/>
}
/>
...
...
@@ -10904,7 +10904,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[71]) === "" ? "" :
Number(tableMeta.rowData[71], tableMeta, 71).toFixed(
1)}
value={String(tableMeta.rowData[71]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[71], tableMeta, 71), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[71], tableMeta, 71),
1)}
/>
}
/>
...
...
@@ -10929,7 +10929,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[72]) === "" ? "" :
Number(tableMeta.rowData[72], tableMeta, 72).toFixed(
1)}
value={String(tableMeta.rowData[72]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[72], tableMeta, 72), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[72], tableMeta, 72),
1)}
/>
}
/>
...
...
@@ -10952,7 +10952,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[73]) === "" ? "" :
Number(tableMeta.rowData[73], tableMeta, 73).toFixed(
1)}
value={String(tableMeta.rowData[73]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[73], tableMeta, 73), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[73], tableMeta, 73),
1)}
/>
}
/>
...
...
@@ -10975,7 +10975,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[74]) === "" ? "" :
Number(tableMeta.rowData[74], tableMeta, 74).toFixed(
1)}
value={String(tableMeta.rowData[74]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[74], tableMeta, 74), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[74], tableMeta, 74),
1)}
/>
}
/>
...
...
@@ -10998,7 +10998,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[75]) === "" ? "" :
Number(tableMeta.rowData[75], tableMeta, 75).toFixed(
1)}
value={String(tableMeta.rowData[75]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[75], tableMeta, 75), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[75], tableMeta, 75),
1)}
/>
}
/>
...
...
@@ -11140,7 +11140,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[76]) === "" ? "" :
Number(tableMeta.rowData[76], tableMeta, 76).toFixed(1)
}
value={String(tableMeta.rowData[76]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[76], tableMeta, 76), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[76], tableMeta, 76), 1)
}
/>
}
/>
...
...
@@ -11163,7 +11163,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[77]) === "" ? "" :
Number(tableMeta.rowData[77], tableMeta, 77).toFixed(1)
}
value={String(tableMeta.rowData[77]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[77], tableMeta, 77), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[77], tableMeta, 77), 1)
}
/>
}
/>
...
...
@@ -11186,7 +11186,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[78]) === "" ? "" :
Number(tableMeta.rowData[78], tableMeta, 78).toFixed(1)
}
value={String(tableMeta.rowData[78]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[78], tableMeta, 78), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[78], tableMeta, 78), 1)
}
/>
}
/>
...
...
@@ -11209,7 +11209,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[79]) === "" ? "" :
Number(tableMeta.rowData[79], tableMeta, 79).toFixed(1)
}
value={String(tableMeta.rowData[79]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[79], tableMeta, 79), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[79], tableMeta, 79), 1)
}
/>
}
/>
...
...
@@ -11234,7 +11234,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[80]) === "" ? "" :
Number(tableMeta.rowData[80], tableMeta, 80).toFixed(1)
}
value={String(tableMeta.rowData[80]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[80], tableMeta, 80), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[80], tableMeta, 80), 1)
}
/>
}
/>
...
...
@@ -11257,7 +11257,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[81]) === "" ? "" :
Number(tableMeta.rowData[81], tableMeta, 81).toFixed(1)
}
value={String(tableMeta.rowData[81]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[81], tableMeta, 81), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[81], tableMeta, 81), 1)
}
/>
}
/>
...
...
@@ -11280,7 +11280,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[82]) === "" ? "" :
Number(tableMeta.rowData[82], tableMeta, 82).toFixed(1)
}
value={String(tableMeta.rowData[82]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[82], tableMeta, 82), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[82], tableMeta, 82), 1)
}
/>
}
/>
...
...
@@ -11303,7 +11303,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[83]) === "" ? "" :
Number(tableMeta.rowData[83], tableMeta, 83).toFixed(1)
}
value={String(tableMeta.rowData[83]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[83], tableMeta, 83), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[83], tableMeta, 83), 1)
}
/>
}
/>
...
...
@@ -11328,7 +11328,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[84]) === "" ? "" :
Number(tableMeta.rowData[84], tableMeta, 84).toFixed(1)
}
value={String(tableMeta.rowData[84]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[84], tableMeta, 84), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[84], tableMeta, 84), 1)
}
/>
}
/>
...
...
@@ -11351,7 +11351,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[85]) === "" ? "" :
Number(tableMeta.rowData[85], tableMeta, 85).toFixed(1)
}
value={String(tableMeta.rowData[85]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[85], tableMeta, 85), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[85], tableMeta, 85), 1)
}
/>
}
/>
...
...
@@ -11374,7 +11374,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[86]) === "" ? "" :
Number(tableMeta.rowData[86], tableMeta, 86).toFixed(1)
}
value={String(tableMeta.rowData[86]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[86], tableMeta, 86), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[86], tableMeta, 86), 1)
}
/>
}
/>
...
...
@@ -11397,7 +11397,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[87]) === "" ? "" :
Number(tableMeta.rowData[87], tableMeta, 87).toFixed(1)
}
value={String(tableMeta.rowData[87]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[87], tableMeta, 87), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[87], tableMeta, 87), 1)
}
/>
}
/>
...
...
@@ -11539,7 +11539,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[88]) === "" ? "" :
Number(tableMeta.rowData[88], tableMeta, 88).toFixed(1)
}
value={String(tableMeta.rowData[88]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[88], tableMeta, 88), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[88], tableMeta, 88), 1)
}
/>
}
/>
...
...
@@ -11562,7 +11562,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[89]) === "" ? "" :
Number(tableMeta.rowData[89], tableMeta, 89).toFixed(1)
}
value={String(tableMeta.rowData[89]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[89], tableMeta, 89), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[89], tableMeta, 89), 1)
}
/>
}
/>
...
...
@@ -11585,7 +11585,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[90]) === "" ? "" :
Number(tableMeta.rowData[90], tableMeta, 90).toFixed(1)
}
value={String(tableMeta.rowData[90]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[90], tableMeta, 90), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[90], tableMeta, 90), 1)
}
/>
}
/>
...
...
@@ -11608,7 +11608,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[91]) === "" ? "" :
Number(tableMeta.rowData[91], tableMeta, 91).toFixed(1)
}
value={String(tableMeta.rowData[91]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[91], tableMeta, 91), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[91], tableMeta, 91), 1)
}
/>
}
/>
...
...
@@ -11633,7 +11633,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[92]) === "" ? "" :
Number(tableMeta.rowData[92], tableMeta, 92).toFixed(1)
}
value={String(tableMeta.rowData[92]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[92], tableMeta, 92), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[92], tableMeta, 92), 1)
}
/>
}
/>
...
...
@@ -11656,7 +11656,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[93]) === "" ? "" :
Number(tableMeta.rowData[93], tableMeta, 93).toFixed(1)
}
value={String(tableMeta.rowData[93]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[93], tableMeta, 93), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[93], tableMeta, 93), 1)
}
/>
}
/>
...
...
@@ -11679,7 +11679,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[94]) === "" ? "" :
Number(tableMeta.rowData[94], tableMeta, 94).toFixed(1)
}
value={String(tableMeta.rowData[94]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[94], tableMeta, 94), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[94], tableMeta, 94), 1)
}
/>
}
/>
...
...
@@ -11702,7 +11702,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[95]) === "" ? "" :
Number(tableMeta.rowData[95], tableMeta, 95).toFixed(1)
}
value={String(tableMeta.rowData[95]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[95], tableMeta, 95), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[95], tableMeta, 95), 1)
}
/>
}
/>
...
...
@@ -11727,7 +11727,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[96]) === "" ? "" :
Number(tableMeta.rowData[96], tableMeta, 96).toFixed(1)
}
value={String(tableMeta.rowData[96]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[96], tableMeta, 96), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[96], tableMeta, 96), 1)
}
/>
}
/>
...
...
@@ -11750,7 +11750,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[97]) === "" ? "" :
Number(tableMeta.rowData[97], tableMeta, 97).toFixed(1)
}
value={String(tableMeta.rowData[97]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[97], tableMeta, 97), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[97], tableMeta, 97), 1)
}
/>
}
/>
...
...
@@ -11773,7 +11773,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[98]) === "" ? "" :
Number(tableMeta.rowData[98], tableMeta, 98).toFixed(1)
}
value={String(tableMeta.rowData[98]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[98], tableMeta, 98), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[98], tableMeta, 98), 1)
}
/>
}
/>
...
...
@@ -11796,7 +11796,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[99]) === "" ? "" :
Number(tableMeta.rowData[99], tableMeta, 99).toFixed(1)
}
value={String(tableMeta.rowData[99]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[99], tableMeta, 99), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[99], tableMeta, 99), 1)
}
/>
}
/>
...
...
@@ -11938,7 +11938,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[100]) === "" ? "" :
Number(tableMeta.rowData[100], tableMeta, 100).toFixed(1)
}
value={String(tableMeta.rowData[100]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[100], tableMeta, 100), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[100], tableMeta, 100), 1)
}
/>
}
/>
...
...
@@ -11961,7 +11961,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[101]) === "" ? "" :
Number(tableMeta.rowData[101], tableMeta, 101).toFixed(1)
}
value={String(tableMeta.rowData[101]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[101], tableMeta, 101), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[101], tableMeta, 101), 1)
}
/>
}
/>
...
...
@@ -11984,7 +11984,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[102]) === "" ? "" :
Number(tableMeta.rowData[102], tableMeta, 102).toFixed(1)
}
value={String(tableMeta.rowData[102]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[102], tableMeta, 102), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[102], tableMeta, 102), 1)
}
/>
}
/>
...
...
@@ -12007,7 +12007,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[103]) === "" ? "" :
Number(tableMeta.rowData[103], tableMeta, 103).toFixed(1)
}
value={String(tableMeta.rowData[103]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[103], tableMeta, 103), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[103], tableMeta, 103), 1)
}
/>
}
/>
...
...
@@ -12032,7 +12032,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[104]) === "" ? "" :
Number(tableMeta.rowData[104], tableMeta, 104).toFixed(1)
}
value={String(tableMeta.rowData[104]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[104], tableMeta, 104), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[104], tableMeta, 104), 1)
}
/>
}
/>
...
...
@@ -12055,7 +12055,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[105]) === "" ? "" :
Number(tableMeta.rowData[105], tableMeta, 105).toFixed(1)
}
value={String(tableMeta.rowData[105]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[105], tableMeta, 105), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[105], tableMeta, 105), 1)
}
/>
}
/>
...
...
@@ -12078,7 +12078,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[106]) === "" ? "" :
Number(tableMeta.rowData[106], tableMeta, 106).toFixed(1)
}
value={String(tableMeta.rowData[106]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[106], tableMeta, 106), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[106], tableMeta, 106), 1)
}
/>
}
/>
...
...
@@ -12101,7 +12101,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[107]) === "" ? "" :
Number(tableMeta.rowData[107], tableMeta, 107).toFixed(1)
}
value={String(tableMeta.rowData[107]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[107], tableMeta, 107), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[107], tableMeta, 107), 1)
}
/>
}
/>
...
...
@@ -12126,7 +12126,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[108]) === "" ? "" :
Number(tableMeta.rowData[108], tableMeta, 108).toFixed(1)
}
value={String(tableMeta.rowData[108]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[108], tableMeta, 108), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[108], tableMeta, 108), 1)
}
/>
}
/>
...
...
@@ -12149,7 +12149,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[109]) === "" ? "" :
Number(tableMeta.rowData[109], tableMeta, 109).toFixed(1)
}
value={String(tableMeta.rowData[109]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[109], tableMeta, 109), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[109], tableMeta, 109), 1)
}
/>
}
/>
...
...
@@ -12172,7 +12172,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[110]) === "" ? "" :
Number(tableMeta.rowData[110], tableMeta, 110).toFixed(1)
}
value={String(tableMeta.rowData[110]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[110], tableMeta, 110), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[110], tableMeta, 110), 1)
}
/>
}
/>
...
...
@@ -12195,7 +12195,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[111]) === "" ? "" :
Number(tableMeta.rowData[111], tableMeta, 111).toFixed(1)
}
value={String(tableMeta.rowData[111]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[111], tableMeta, 111), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[111], tableMeta, 111), 1)
}
/>
}
/>
...
...
@@ -12329,7 +12329,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[121]) === "" ? "" :
Number(tableMeta.rowData[121], tableMeta, 121).toFixed(1)
}
value={String(tableMeta.rowData[121]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[121], tableMeta, 121), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[121], tableMeta, 121), 1)
}
/>
}
/>
...
...
@@ -12352,7 +12352,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[120]) === "" ? "" :
Number(tableMeta.rowData[120], tableMeta, 120).toFixed(1)
}
value={String(tableMeta.rowData[120]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[120], tableMeta, 120), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[120], tableMeta, 120), 1)
}
/>
}
/>
...
...
@@ -12375,7 +12375,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[119]) === "" ? "" :
Number(tableMeta.rowData[119], tableMeta, 119).toFixed(1)
}
value={String(tableMeta.rowData[119]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[119], tableMeta, 119), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[119], tableMeta, 119), 1)
}
/>
}
/>
...
...
@@ -12398,7 +12398,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[118]) === "" ? "" :
Number(tableMeta.rowData[118], tableMeta, 118).toFixed(1)
}
value={String(tableMeta.rowData[118]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[118], tableMeta, 118), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[118], tableMeta, 118), 1)
}
/>
}
/>
...
...
@@ -12421,7 +12421,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[117]) === "" ? "" :
Number(tableMeta.rowData[117], tableMeta, 117).toFixed(1)
}
value={String(tableMeta.rowData[117]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[117], tableMeta, 117), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[117], tableMeta, 117), 1)
}
/>
}
/>
...
...
@@ -12446,7 +12446,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[116]) === "" ? "" :
Number(tableMeta.rowData[116], tableMeta, 116).toFixed(1)
}
value={String(tableMeta.rowData[116]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[116], tableMeta, 116), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[116], tableMeta, 116), 1)
}
/>
}
/>
...
...
@@ -12469,7 +12469,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[115]) === "" ? "" :
Number(tableMeta.rowData[115], tableMeta, 115).toFixed(1)
}
value={String(tableMeta.rowData[115]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[115], tableMeta, 115), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[115], tableMeta, 115), 1)
}
/>
}
/>
...
...
@@ -12492,7 +12492,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[114]) === "" ? "" :
Number(tableMeta.rowData[114], tableMeta, 114).toFixed(1)
}
value={String(tableMeta.rowData[114]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[114], tableMeta, 114), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[114], tableMeta, 114), 1)
}
/>
}
/>
...
...
@@ -12515,7 +12515,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[113]) === "" ? "" :
Number(tableMeta.rowData[113], tableMeta, 113).toFixed(1)
}
value={String(tableMeta.rowData[113]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[113], tableMeta, 113), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[113], tableMeta, 113), 1)
}
/>
}
/>
...
...
@@ -12538,7 +12538,7 @@ export default class TableSubHolding extends Component {
type="text"
placeholder=""
disabled={true}
value={String(tableMeta.rowData[112]) === "" ? "" :
Number(tableMeta.rowData[112], tableMeta, 112).toFixed(1)
}
value={String(tableMeta.rowData[112]) === "" ? "" :
fixNumber(Number(tableMeta.rowData[112], tableMeta, 112), 1) == 0 ? "0.0" : fixNumber(Number(tableMeta.rowData[112], tableMeta, 112), 1)
}
/>
}
/>
...
...
@@ -26369,6 +26369,7 @@ export default class TableSubHolding extends Component {
options={options}
/>
</MuiThemeProvider>
</div>
{this.props.type === 10 ?
<div style={{ paddingBottom: 15 }}>
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