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
ff5d22be
Commit
ff5d22be
authored
Dec 13, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue control should be nill
parent
c5f77f47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+17
-16
No files found.
src/container/BudgetTahunan/BalanceSheet.js
View file @
ff5d22be
...
...
@@ -1174,8 +1174,9 @@ export default class BalanceSheet extends Component {
tableMeta
.
rowData
[
0
]
===
1
?
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
<=
Number
(
this
.
state
.
maxValue
))
?
tableMeta
.
rowData
[
0
]
===
7
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1362,7 +1363,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1551,7 +1552,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1739,7 +1740,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -1927,7 +1928,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2115,7 +2116,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2303,7 +2304,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2491,7 +2492,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2679,7 +2680,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -2867,7 +2868,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -3055,7 +3056,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -3243,7 +3244,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -3431,7 +3432,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -3619,7 +3620,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
@@ -3807,7 +3808,7 @@ export default class BalanceSheet extends Component {
null
:
tableMeta
.
rowData
[
0
]
===
7
?
(
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
this
.
props
.
defaultCurrency
.
id
===
1
?
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
1
)
:
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
(
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
>=
Number
(
this
.
state
.
minValue
)
&&
fixNumber
(
Number
(
handleValidation
(
value
,
tableMeta
)),
12
)
<=
Number
(
this
.
state
.
maxValue
))
?
// (fixNumber(Number(handleValidation(value, tableMeta)), 12) >= Number(this.state.minValue) && fixNumber(Number(handleValidation(value, tableMeta)), 12) <= Number(this.state.maxValue)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
...
...
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