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
338f9efd
Commit
338f9efd
authored
Jul 10, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'GGMAC' into 'master'
update trigger historical ratio from locf MR See merge request
!1545
parents
d5c9c667
98369b2d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
index.js
src/api/index.js
+3
-1
MonthlyReport.js
src/container/MonthlyReport.js
+1
-1
No files found.
src/api/index.js
View file @
338f9efd
...
...
@@ -448,6 +448,7 @@ const create = (type = "") => {
const
triggerRatioMB
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_master_budget_company/
${
body
.
report
}
/
${
body
.
submissionId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
`
)
const
triggerRatioRO
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_rolling_outlook_company/
${
body
.
report
}
/
${
body
.
rollingOutlookId
}
/
${
body
.
companyId
}
/
${
body
.
quartal
}
/
${
body
.
periode
}
`
)
const
triggerRatioOLPA
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_outlook_pa_company/
${
body
.
report
}
/
${
body
.
outlookPaId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
`
)
const
triggerHistoricalRatio
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_historical_company/
${
body
.
report
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
`
)
// MonthlyPL
// const getHierarkiMontlyReportPL = (body) => api.post('transaction/monthly_report_pl/get_report_hierarki', body)
...
...
@@ -835,7 +836,8 @@ const create = (type = "") => {
getMonitoringRO
,
getMonitoringOLPA
,
getListApprover
,
getIdToken
getIdToken
,
triggerHistoricalRatio
}
}
...
...
src/container/MonthlyReport.js
View file @
338f9efd
...
...
@@ -657,7 +657,7 @@ export default class MonthlyReport extends Component {
"companyId"
:
this
.
state
.
company
.
company_id
,
"months"
:
this
.
state
.
month
.
month_id
}
api
.
create
().
trigger
RatioFromLOCF
(
bodyRatioLocf
).
then
((
res
)
=>
{
api
.
create
().
trigger
HistoricalRatio
(
bodyRatioLocf
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
setState
({
loading
:
false
})
})
...
...
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