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
800acf5b
Commit
800acf5b
authored
Jan 11, 2024
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-riri' into 'ENV-DEV'
ribet See merge request
!2329
parents
7c135d22
c7ac4259
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+6
-3
No files found.
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
800acf5b
...
@@ -287,7 +287,7 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -287,7 +287,7 @@ export default class ListOfCreditFacilities extends Component {
backToMonthlyReportLOCF
(
type
)
{
backToMonthlyReportLOCF
(
type
)
{
console
.
log
(
'masoook LOCF'
);
console
.
log
(
'masoook LOCF'
);
let
dataTable2
=
this
.
state
.
dataTablelocf
==
undefined
||
this
.
state
.
tambah
==
'tambah'
||
this
.
state
.
tambah
==
'upload'
?
this
.
state
.
dataTableLOCF
:
this
.
state
.
dataTablelocf
let
dataTable2
=
(
this
.
state
.
dataTablelocf
!==
undefined
&&
this
.
state
.
tambah
==
'upload'
)
?
this
.
state
.
dataTablelocf
:
(
this
.
state
.
dataTablelocf
==
undefined
||
this
.
state
.
tambah
==
'tambah'
||
this
.
state
.
tambah
==
'upload'
)
?
this
.
state
.
dataTableLOCF
:
this
.
state
.
dataTablelocf
let
data
=
[]
let
data
=
[]
let
error
=
false
let
error
=
false
// this.deleteReport()
// this.deleteReport()
...
@@ -853,6 +853,9 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -853,6 +853,9 @@ export default class ListOfCreditFacilities extends Component {
})
})
let
lastArrayLOCF
=
dataTablelocf
[
res
.
length
-
1
]
let
lastArrayLOCF
=
dataTablelocf
[
res
.
length
-
1
]
let
roundDataDiff
=
fixNumber
(
Number
(
lastArrayLOCF
[
47
]),
1
)
let
roundDataLoan
=
fixNumber
(
Number
(
lastArrayLOCF
[
48
]),
1
)
let
roundDataPerBS
=
fixNumber
(
Number
(
lastArrayLOCF
[
49
]),
1
)
console
.
log
(
dataTablelocf
);
console
.
log
(
dataTablelocf
);
if
(
bankNameEmpty
)
{
if
(
bankNameEmpty
)
{
if
(
this
.
state
.
get_for
==
'view'
)
{
if
(
this
.
state
.
get_for
==
'view'
)
{
...
@@ -864,10 +867,10 @@ export default class ListOfCreditFacilities extends Component {
...
@@ -864,10 +867,10 @@ export default class ListOfCreditFacilities extends Component {
if
(
this
.
state
.
get_for
==
'view'
)
{
if
(
this
.
state
.
get_for
==
'view'
)
{
console
.
log
(
"view"
);
console
.
log
(
"view"
);
}
else
{
}
else
{
this
.
setState
({
saveDraft
:
false
,
saveComp
:
lastArrayLOCF
[
47
]
==
0
||
lastArrayLOCF
[
47
]
==
'0.0'
||
lastArrayLOCF
[
47
]
==
"-0.0"
?
false
:
true
})
this
.
setState
({
saveDraft
:
false
,
saveComp
:
roundDataDiff
==
0
||
roundDataDiff
==
'0.0'
||
roundDataDiff
==
"-0.0"
?
false
:
true
})
}
}
}
}
this
.
setState
({
dataTablelocf
,
diffLOCF
:
lastArrayLOCF
[
47
],
totalLoanLOCF
:
lastArrayLOCF
[
48
],
perBSLOCF
:
lastArrayLOCF
[
49
]
,
loading
:
false
},
()
=>
{
this
.
setState
({
dataTablelocf
,
diffLOCF
:
roundDataDiff
,
totalLoanLOCF
:
roundDataLoan
,
perBSLOCF
:
roundDataPerBS
,
loading
:
false
},
()
=>
{
this
.
handleCalculateLOV
()
this
.
handleCalculateLOV
()
})
})
}
}
...
...
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