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
801ef202
Commit
801ef202
authored
Nov 27, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ENV-DEV' of
http://103.44.149.204/d.arizona/tia-dev
into dev/riri
parents
1e3c2649
fa1e4e00
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
545 additions
and
184 deletions
+545
-184
index.js
src/api/index.js
+5
-1
LOCFMR.js
src/container/MonthlyReport/LOCFMR.js
+3
-3
LOVMR.js
src/container/MonthlyReport/LOVMR.js
+24
-73
ListOfCreditFacilitiesMR.js
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
+513
-107
No files found.
src/api/index.js
View file @
801ef202
...
@@ -553,6 +553,8 @@ const create = (type = "") => {
...
@@ -553,6 +553,8 @@ const create = (type = "") => {
const
getTypeOfInvestment
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_investment'
)
const
getTypeOfInvestment
=
()
=>
api
.
get
(
'setting_type/get_all_setting_type_by_investment'
)
const
validateSaveLOV
=
(
body
)
=>
api
.
post
(
'transaction/lov/monthly_report/validate_save'
,
body
)
const
validateSaveLOV
=
(
body
)
=>
api
.
post
(
'transaction/lov/monthly_report/validate_save'
,
body
)
const
validateSaveLOCF
=
(
body
)
=>
api
.
post
(
'transaction/locf/monthly_report/validate_save'
,
body
)
const
validateSaveLOCF
=
(
body
)
=>
api
.
post
(
'transaction/locf/monthly_report/validate_save'
,
body
)
const
uploadMonthlyReportLOV
=
(
body
)
=>
api
.
post
(
'transaction/lov/monthly_report/import_monthly_report'
,
body
)
const
createMonthlyReportLOV
=
(
body
)
=>
api
.
post
(
'transaction/lov/monthly_report/create_monthly_report'
,
body
)
// Superadmin Approve
// Superadmin Approve
...
@@ -958,7 +960,9 @@ const create = (type = "") => {
...
@@ -958,7 +960,9 @@ const create = (type = "") => {
uploadSimulasiROOI
,
uploadSimulasiROOI
,
getTypeOfInvestment
,
getTypeOfInvestment
,
validateSaveLOCF
,
validateSaveLOCF
,
validateSaveLOV
validateSaveLOV
,
uploadMonthlyReportLOV
,
createMonthlyReportLOV
}
}
}
}
...
...
src/container/MonthlyReport/LOCFMR.js
View file @
801ef202
...
@@ -555,8 +555,8 @@ export default class LOCF extends Component {
...
@@ -555,8 +555,8 @@ export default class LOCF extends Component {
let
lastArray
=
dataTable
[
dataTable
.
length
-
1
]
let
lastArray
=
dataTable
[
dataTable
.
length
-
1
]
this
.
setState
({
dataTable
,
diff
:
lastArray
[
46
],
perBS
:
lastArray
[
47
],
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
dataDelete
:
[]
},
()
=>
{
this
.
setState
({
dataTable
,
diff
:
lastArray
[
46
],
perBS
:
lastArray
[
47
],
dataLoaded
:
true
,
loading
:
false
,
buttonError
:
false
,
dataDelete
:
[]
},
()
=>
{
console
.
log
(
lastArray
);
console
.
log
(
this
.
state
.
visibleLOCFMR
);
this
.
props
.
sendToParent
(
dataTable
,
lastArray
,
'LOCF'
,
'upload'
)
this
.
props
.
sendToParent
(
dataTable
,
lastArray
,
'LOCF'
,
'upload'
,
this
.
state
.
visibleLOCFMR
)
})
})
}
else
{
}
else
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
typeAlert
:
'warning'
,
loading
:
false
},
()
=>
{
this
.
setState
({
alert
:
true
,
messageAlert
:
response
.
data
.
message
,
typeAlert
:
'warning'
,
loading
:
false
},
()
=>
{
...
@@ -3592,7 +3592,7 @@ export default class LOCF extends Component {
...
@@ -3592,7 +3592,7 @@ export default class LOCF extends Component {
<
Typography
style
=
{{
fontSize
:
'12px'
,
color
:
'#4b4b4b'
}}
>
Diff
<
/Typography
>
<
Typography
style
=
{{
fontSize
:
'12px'
,
color
:
'#4b4b4b'
}}
>
Diff
<
/Typography
>
<
/div
>
<
/div
>
<
div
style
=
{{
borderStyle
:
'solid'
,
borderWidth
:
'0px 1px 1px 1px'
,
padding
:
5
,
minWidth
:
200
,
display
:
'flex'
,
justifyContent
:
'flex-end'
}}
>
<
div
style
=
{{
borderStyle
:
'solid'
,
borderWidth
:
'0px 1px 1px 1px'
,
padding
:
5
,
minWidth
:
200
,
display
:
'flex'
,
justifyContent
:
'flex-end'
}}
>
<
Typography
style
=
{{
fontSize
:
'14px'
,
color
:
Number
(
this
.
state
.
diff
)
>
0
?
'red'
:
'#4b4b4b'
}}
><
NumberFormat
value
=
{
this
.
state
.
diff
}
displayType
=
{
'text'
}
thousandSeparator
=
{
true
}
prefix
=
{
''
}
/></
Typography
>
<
Typography
style
=
{{
fontSize
:
'14px'
,
color
:
Number
(
this
.
state
.
diff
)
>
'0.0'
||
Number
(
this
.
state
.
diff
)
<
'0.0'
?
'red'
:
'#4b4b4b'
}}
><
NumberFormat
value
=
{
this
.
state
.
diff
}
displayType
=
{
'text'
}
thousandSeparator
=
{
true
}
prefix
=
{
''
}
/></
Typography
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/container/MonthlyReport/LOVMR.js
View file @
801ef202
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ListOfCreditFacilitiesMR.js
View file @
801ef202
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