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
5e7e62c3
Commit
5e7e62c3
authored
Dec 11, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue Fahrur
parent
049b05d6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
191 deletions
+134
-191
LOCFMR.js
src/container/MonthlyReport/LOCFMR.js
+14
-1
LOVMR.js
src/container/MonthlyReport/LOVMR.js
+14
-1
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+106
-189
No files found.
src/container/MonthlyReport/LOCFMR.js
View file @
5e7e62c3
...
...
@@ -1107,10 +1107,23 @@ export default class LOCF extends Component {
})
dataTable2
=
newData
.
sort
((
a
,
b
)
=>
a
[
47
]
-
b
[
47
])
let
lastArray
=
dataTable2
[
dataTable2
.
length
-
1
]
if
(
this
.
state
.
visibleLOCFMR
==
false
)
{
if
(
this
.
props
.
dataTablelocf
)
{
if
(
this
.
props
.
dataTablelocf
.
length
!==
dataTable2
.
length
)
{
this
.
setState
({
updateData
:
true
})
}
}
}
else
{
if
(
this
.
props
.
dataTablelocf
)
{
if
(
this
.
props
.
dataTablelocf
.
length
!==
dataTable2
.
length
)
{
this
.
setState
({
updateData
:
true
})
}
}
}
this
.
setState
({
dataTable
:
dataTable2
},
()
=>
{
setTimeout
(()
=>
{
this
.
setState
({
loading
:
false
})
this
.
props
.
sendToParent
(
dataTable2
,
lastArray
,
'LOCF'
,
'tambah'
)
this
.
props
.
sendToParent
(
dataTable2
,
lastArray
,
'LOCF'
,
'tambah'
,
this
.
state
.
visibleLOCFMR
,
this
.
state
.
updateData
)
},
500
)
})
}
...
...
src/container/MonthlyReport/LOVMR.js
View file @
5e7e62c3
...
...
@@ -975,10 +975,23 @@ export default class LOV extends Component {
})
dataTable2
=
newData
.
sort
((
a
,
b
)
=>
a
[
16
]
-
b
[
16
])
let
lastArray
=
dataTable2
[
dataTable2
.
length
-
1
]
if
(
this
.
state
.
visibleLOVMR
==
false
)
{
if
(
this
.
props
.
dataTablelov
)
{
if
(
this
.
props
.
dataTablelov
.
length
!==
dataTable2
.
length
)
{
this
.
setState
({
updateData
:
true
})
}
}
}
else
{
if
(
this
.
props
.
dataTablelov
)
{
if
(
this
.
props
.
dataTablelov
.
length
!==
dataTable2
.
length
)
{
this
.
setState
({
updateData
:
true
})
}
}
}
this
.
setState
({
dataTable
:
dataTable2
},
()
=>
{
setTimeout
(()
=>
{
this
.
setState
({
loading
:
false
})
this
.
props
.
sendToParent
(
dataTable2
,
lastArray
,
'LOV'
,
'tambah'
,
this
.
state
.
visibleLOVMR
)
this
.
props
.
sendToParent
(
dataTable2
,
lastArray
,
'LOV'
,
'tambah'
,
this
.
state
.
visibleLOVMR
,
this
.
state
.
updateData
)
},
500
)
})
}
...
...
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
5e7e62c3
This diff is collapsed.
Click to expand it.
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