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
31e8a437
Commit
31e8a437
authored
Dec 12, 2023
by
fahrur huzain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev/fahrur-new' into 'ENV-DEV'
issue MB BS should be null merah See merge request
!2240
parents
d03e9e4c
831dc09c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
15 deletions
+30
-15
BalanceSheet.js
src/container/BudgetTahunan/BalanceSheet.js
+30
-15
No files found.
src/container/BudgetTahunan/BalanceSheet.js
View file @
31e8a437
...
...
@@ -1175,7 +1175,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1362,7 +1363,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1550,7 +1552,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1737,7 +1740,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -1924,7 +1928,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2111,7 +2116,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2298,7 +2304,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2485,7 +2492,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2672,7 +2680,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -2859,7 +2868,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -3046,7 +3056,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -3233,7 +3244,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -3420,7 +3432,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -3607,7 +3620,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
@@ -3794,7 +3808,8 @@ export default class BalanceSheet extends Component {
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
))
?
(
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)) ?
<
NumberFormat
thousandSeparator
=
{
true
}
style
=
{{
...
...
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