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
9cfc5273
Commit
9cfc5273
authored
Jul 19, 2022
by
muhammad ridwan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'env/ridwan' into 'ENV-DEV-CR-CAFRM'
tambah fiture report carfm See merge request
!1604
parents
6dc75de9
d0b77020
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
431 additions
and
8 deletions
+431
-8
index.js
src/api/index.js
+2
-0
CafrmDocument.js
src/container/CAFRM/CafrmDocument.js
+3
-3
CreateCafrmDocument.js
src/container/CAFRM/CreateCafrmDocument.js
+1
-1
RepotrCafrm.js
src/container/ReportCarfm/RepotrCafrm.js
+416
-0
homeRoutes.js
src/router/homeRoutes.js
+9
-4
No files found.
src/api/index.js
View file @
9cfc5273
...
...
@@ -486,6 +486,7 @@ const create = (type = "") => {
const
getMonitoringMR
=
(
body
)
=>
api
.
get
(
`transaction/monitoring/monthly_report/
${
body
.
year
}
/
${
body
.
month
}
`
)
const
getMonitoringRO
=
(
body
)
=>
api
.
get
(
`transaction/monitoring/rolling_outlook/
${
body
.
year
}
/
${
body
.
quarter
}
`
)
const
getMonitoringOLPA
=
(
body
)
=>
api
.
get
(
`transaction/monitoring/outlook/
${
body
.
year
}
`
)
const
getMonitoringCafrm
=
(
body
)
=>
api
.
get
(
`transaction/monitoring/cafrm/
${
body
.
year
}
/
${
body
.
month
}
`
)
// Superadmin Approve
const
getListApprover
=
(
report
,
monthlyReportId
)
=>
api
.
get
(
`transaction/
${
report
}
/get_approver/
${
monthlyReportId
}
`
)
...
...
@@ -840,6 +841,7 @@ const create = (type = "") => {
getMonitoringMR
,
getMonitoringRO
,
getMonitoringOLPA
,
getMonitoringCafrm
,
getListApprover
,
getIdToken
,
triggerHistoricalRatio
...
...
src/container/CAFRM/CafrmDocument.js
View file @
9cfc5273
...
...
@@ -8,11 +8,11 @@ import ReactTooltip from 'react-tooltip';
import
api
from
'../../api'
;
import
PropagateLoader
from
"react-spinners/PropagateLoader"
import
TableDocument
from
"./TableCafrmDocument"
;
import
CreateCa
rfmDoc
from
"./CreateCarf
mDocument"
;
import
CreateCa
frmDoc
from
"./CreateCafr
mDocument"
;
const
Alert
=
withStyles
({})((
props
)
=>
<
MuiAlert
elevation
=
{
6
}
variant
=
"filled"
{...
props
}
/>
)
;
export
default
class
Ca
rf
mDocument
extends
Component
{
export
default
class
Ca
fr
mDocument
extends
Component
{
constructor
(
props
)
{
super
(
props
);
...
...
@@ -301,7 +301,7 @@ export default class CarfmDocument extends Component {
<
/div
>
{
this
.
state
.
visibleCreate
&&
(
<
CreateCa
rf
mDoc
<
CreateCa
fr
mDoc
onClickClose
=
{()
=>
this
.
setState
({
visibleCreate
:
false
})}
// getDataDocument={this.getDataDocument.bind(this)}
createDocument
=
{
this
.
createDocument
.
bind
(
this
)}
...
...
src/container/CAFRM/CreateCa
rf
mDocument.js
→
src/container/CAFRM/CreateCa
fr
mDocument.js
View file @
9cfc5273
...
...
@@ -14,7 +14,7 @@ import PropagateLoader from "react-spinners/PropagateLoader"
const
Alert
=
withStyles
({
})((
props
)
=>
<
MuiAlert
elevation
=
{
6
}
variant
=
"filled"
{...
props
}
/>
)
;
export
default
class
CreateCa
rf
mDoc
extends
Component
{
export
default
class
CreateCa
fr
mDoc
extends
Component
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
...
...
src/container/ReportCarfm/RepotrCafrm.js
0 → 100644
View file @
9cfc5273
This diff is collapsed.
Click to expand it.
src/router/homeRoutes.js
View file @
9cfc5273
...
...
@@ -20,7 +20,8 @@ import SubHolding from '../container/Reports/SubHolding';
import
SummaryTriputra
from
'../container/SummaryTriputra/SummaryOfTriputra'
;
import
MasterDataCAT
from
'../container/MasterData/MasterDataCAT/MasterDataCAT'
;
import
ProgressReport
from
'../container/ProgressReport/ProgressReport'
;
import
CarfmDocument
from
"../container/CAFRM/CafrmDocument"
;
import
CafrmDocument
from
"../container/CAFRM/CafrmDocument"
;
import
ReportCafrm
from
"../container/ReportCarfm/RepotrCafrm"
;
const
routes
=
[
{
...
...
@@ -113,15 +114,19 @@ const routes = [
},
{
path
:
"/home/internal-audit"
,
main
:
Ca
rf
mDocument
main
:
Ca
fr
mDocument
},
{
path
:
"/home/anti-fraud"
,
main
:
Ca
rf
mDocument
main
:
Ca
fr
mDocument
},
{
path
:
"/home/risk-management"
,
main
:
CarfmDocument
main
:
CafrmDocument
},
{
path
:
"/home/progress-report-cafrm"
,
main
:
ReportCafrm
},
{
path
:
"*"
,
...
...
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