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
c0c29e88
Commit
c0c29e88
authored
May 03, 2021
by
r.kurnia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cat olpa
parent
a3c94ba4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
index.js
src/api/index.js
+3
-1
CorporateAnnualTargetOLPA.js
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
+2
-2
No files found.
src/api/index.js
View file @
c0c29e88
...
...
@@ -367,6 +367,7 @@ const create = (type = "") => {
const
getHierarkiDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/get_report_hierarki'
,
body
)
const
createDBPLRO
=
(
body
)
=>
api
.
post
(
'transaction/db_profit_loss/rolling_outlook/create_rolling_outlook'
,
body
)
const
getDetailReportOLPACAT
=
(
body
)
=>
api
.
post
(
'transaction/cat/outlook_pa/get_report_hierarki'
,
body
)
const
createCATOLPA
=
(
body
)
=>
api
.
post
(
'transaction/cat/outlook_pa/create_outlook_pa'
,
body
)
// Monthly
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
...
...
@@ -804,7 +805,8 @@ const create = (type = "") => {
createDBPLOLPA
,
getHierarkiDBPLRO
,
createDBPLRO
,
getDetailReportOLPACAT
getDetailReportOLPACAT
,
createCATOLPA
}
}
...
...
src/container/OutlookPA/CorporateAnnualTargetOLPA.js
View file @
c0c29e88
...
...
@@ -426,7 +426,7 @@ export default class CorporateAnnualTargetRO extends Component {
"cat"
:
data
}
// console.log(JSON.stringify(payload));
api
.
create
(
'UPLOAD'
).
create
RollingOutlookCAT
(
payload
).
then
(
response
=>
{
api
.
create
(
'UPLOAD'
).
create
CATOLPA
(
payload
).
then
(
response
=>
{
console
.
log
(
payload
);
console
.
log
(
response
);
// console.log(JSON.stringify(payload))
...
...
@@ -444,7 +444,7 @@ export default class CorporateAnnualTargetRO extends Component {
},
1000
);
}
this
.
props
.
onClickClose
()
this
.
props
.
refresh
()
//
this.props.refresh()
})
}
// else {
...
...
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