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
74b9c46a
Commit
74b9c46a
authored
Dec 29, 2021
by
syadziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push olpa bs
parent
5697b5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
BalanceSheetOLPA.js
src/container/OutlookPA/BalanceSheetOLPA.js
+5
-4
No files found.
src/container/OutlookPA/BalanceSheetOLPA.js
View file @
74b9c46a
...
@@ -564,13 +564,14 @@ export default class BalanceSheetOLPA extends Component {
...
@@ -564,13 +564,14 @@ export default class BalanceSheetOLPA extends Component {
console
.
log
(
Number
(
i
[
17
].
value
).
toFixed
(
1
))
console
.
log
(
Number
(
i
[
17
].
value
).
toFixed
(
1
))
console
.
log
(
Number
(
i
[
18
].
value
).
toFixed
(
1
))
console
.
log
(
Number
(
i
[
18
].
value
).
toFixed
(
1
))
console
.
log
(
Number
(
i
[
19
]).
toFixed
(
1
))
console
.
log
(
Number
(
i
[
19
]).
toFixed
(
1
))
if
((
Number
(
i
[
17
].
value
).
toFixed
(
1
)
<
this
.
state
.
minValue
)
||
(
Number
(
i
[
17
].
value
).
toFixed
(
1
)
>
this
.
state
.
maxValue
))
{
if
((
Number
(
i
[
17
].
value
).
toFixed
(
1
)
<
Number
(
this
.
state
.
minValue
))
||
(
Number
(
i
[
17
].
value
).
toFixed
(
1
)
>
Number
(
this
.
state
.
maxValue
)))
{
console
.
log
(
"masuk selisih control 1"
)
console
.
log
(
"masuk selisih control 1"
)
err
=
true
err
=
true
}
else
if
(
Number
(
i
[
18
].
value
).
toFixed
(
1
)
<
this
.
state
.
minValue
||
Number
(
i
[
18
].
value
).
toFixed
(
1
)
>
this
.
state
.
maxValue
)
{
}
else
if
(
(
Number
(
i
[
18
].
value
).
toFixed
(
1
)
<
Number
(
this
.
state
.
minValue
))
||
(
Number
(
i
[
18
].
value
).
toFixed
(
1
)
>
Number
(
this
.
state
.
maxValue
))
)
{
console
.
log
(
"masuk selisih control 2"
)
console
.
log
(
"masuk selisih control 2"
)
err
=
true
err
=
true
}
else
if
(
Number
(
i
[
19
]).
toFixed
(
1
)
<
this
.
state
.
minValue
||
Number
(
i
[
19
]).
toFixed
(
1
)
>
this
.
state
.
maxValue
)
{
}
else
if
(
(
Number
(
i
[
19
]).
toFixed
(
1
)
<
Number
(
this
.
state
.
minValue
))
||
(
Number
(
i
[
19
]).
toFixed
(
1
)
>
Number
(
this
.
state
.
maxValue
))
)
{
console
.
log
(
"masuk selisih control 3"
)
console
.
log
(
"masuk selisih control 3"
)
err
=
true
err
=
true
}
}
...
@@ -594,7 +595,7 @@ export default class BalanceSheetOLPA extends Component {
...
@@ -594,7 +595,7 @@ export default class BalanceSheetOLPA extends Component {
total_current_year
:
i
[
0
]
===
3
&&
i
[
19
]
===
""
?
"0.0"
:
String
(
Number
(
i
[
19
]).
toFixed
(
1
)),
total_current_year
:
i
[
0
]
===
3
&&
i
[
19
]
===
""
?
"0.0"
:
String
(
Number
(
i
[
19
]).
toFixed
(
1
)),
})
})
})
})
//
console.log(JSON.stringify(data))
console
.
log
(
JSON
.
stringify
(
data
))
let
payload
=
{
let
payload
=
{
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"outlook_pa_id"
:
this
.
props
.
outlook_pa_id
,
"company_id"
:
this
.
props
.
company
.
company_id
,
"company_id"
:
this
.
props
.
company
.
company_id
,
...
...
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