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
4aa4f670
Commit
4aa4f670
authored
Feb 08, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update locf iue
parent
0db3ee75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ListOfCreditFacilities.js
src/container/MonthlyReport/ListOfCreditFacilities.js
+6
-3
No files found.
src/container/MonthlyReport/ListOfCreditFacilities.js
View file @
4aa4f670
...
@@ -1372,7 +1372,7 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -1372,7 +1372,7 @@ export default class ListOfCreditFacilities extends Component {
// console.log(dataGabung)
// console.log(dataGabung)
console
.
log
(
newData
)
console
.
log
(
newData
)
// console.log(dataTampungBank)
// console.log(dataTampungBank)
console
.
log
(
totalLoan
);
console
.
log
(
Number
(
totalLoan
).
toFixed
(
1
)
);
console
.
log
(
this
.
state
.
perBS
)
console
.
log
(
this
.
state
.
perBS
)
console
.
log
(
this
.
state
.
diff
)
console
.
log
(
this
.
state
.
diff
)
// console.log(bankNameEmpty)
// console.log(bankNameEmpty)
...
@@ -1385,9 +1385,12 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -1385,9 +1385,12 @@ export default class ListOfCreditFacilities extends Component {
}
}
}
else
{
}
else
{
if
(
this
.
state
.
get_for
==
'view'
)
{
if
(
this
.
state
.
get_for
==
'view'
)
{
this
.
setState
({
loading
:
false
,
dataTable
:
newData
,
diff
:
this
.
state
.
diff
==
null
?
"0.0"
:
Number
(
totalLoan
-
this
.
state
.
perBS
).
toFixed
(
1
),
perBS
:
this
.
state
.
totalOutStand
==
null
?
"0.0"
:
this
.
state
.
totalOutStand
})
this
.
setState
({
loading
:
false
,
dataTable
:
newData
,
diff
:
this
.
state
.
diff
==
null
?
"0.0"
:
Number
(
Number
(
totalLoan
).
toFixed
(
1
)
-
this
.
state
.
perBS
).
toFixed
(
1
),
perBS
:
this
.
state
.
totalOutStand
==
null
?
"0.0"
:
this
.
state
.
totalOutStand
})
}
else
{
}
else
{
this
.
setState
({
loading
:
false
,
dataTable
:
newData
,
diff
:
Number
(
totalLoan
-
this
.
state
.
perBS
).
toFixed
(
1
),
saveDraft
:
false
,
saveComp
:
Number
(
totalLoan
-
this
.
state
.
perBS
)
==
0
?
false
:
true
})
this
.
setState
({
loading
:
false
,
dataTable
:
newData
,
diff
:
Number
(
Number
(
totalLoan
).
toFixed
(
1
)
-
this
.
state
.
perBS
).
toFixed
(
1
),
saveDraft
:
false
,
saveComp
:
Number
(
Number
(
totalLoan
).
toFixed
(
1
)
-
this
.
state
.
perBS
)
==
0
||
Number
(
Number
(
totalLoan
).
toFixed
(
1
)
-
this
.
state
.
perBS
)
==
"-0.0"
?
false
:
true
},
()
=>
{
// alert(this.state.saveComp)
// console.log(Number(Number(totalLoan).toFixed(1) - this.state.perBS));
})
}
}
}
}
...
...
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