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
35b2de2b
Commit
35b2de2b
authored
Jun 19, 2023
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing OLPA
parent
c5c33af5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
index.js
src/api/index.js
+2
-2
TaxPlanningOLPA.js
src/container/OutlookPA/TaxPlanningOLPA.js
+1
-0
No files found.
src/api/index.js
View file @
35b2de2b
...
@@ -446,10 +446,10 @@ const create = (type = "") => {
...
@@ -446,10 +446,10 @@ const create = (type = "") => {
// Ratio X LOCF
// Ratio X LOCF
const
getRatioLOCF
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_monthly_report/
${
body
.
report
}
/
${
body
.
monthlyReportId
}
/
${
body
.
companyId
}
/
${
body
.
months
}
/
${
body
.
periode
}
/
${
body
.
currency_id
}
`
)
const
getRatioLOCF
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_monthly_report/
${
body
.
report
}
/
${
body
.
monthlyReportId
}
/
${
body
.
companyId
}
/
${
body
.
months
}
/
${
body
.
periode
}
/
${
body
.
currency_id
}
`
)
const
triggerRatioFromLOCF
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_monthly_report_company/
${
body
.
report
}
/
${
body
.
monthlyReportId
}
/
${
body
.
companyId
}
/
${
body
.
months
}
/
${
body
.
periode
}
/
/
${
body
.
currency_id
}
`
)
const
triggerRatioFromLOCF
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_monthly_report_company/
${
body
.
report
}
/
${
body
.
monthlyReportId
}
/
${
body
.
companyId
}
/
${
body
.
months
}
/
${
body
.
periode
}
/
${
body
.
currency_id
}
`
)
const
triggerRatioMB
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_master_budget_company/
${
body
.
report
}
/
${
body
.
submissionId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
const
triggerRatioMB
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_master_budget_company/
${
body
.
report
}
/
${
body
.
submissionId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
const
triggerRatioRO
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_rolling_outlook_company/
${
body
.
report
}
/
${
body
.
rollingOutlookId
}
/
${
body
.
companyId
}
/
${
body
.
quartal
}
/
${
body
.
periode
}
/
/
${
body
.
currency_id
}
`
)
const
triggerRatioRO
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_rolling_outlook_company/
${
body
.
report
}
/
${
body
.
rollingOutlookId
}
/
${
body
.
companyId
}
/
${
body
.
quartal
}
/
${
body
.
periode
}
/
${
body
.
currency_id
}
`
)
const
triggerRatioOLPA
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_outlook_pa_company/
${
body
.
report
}
/
${
body
.
outlookPaId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
const
triggerRatioOLPA
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_outlook_pa_company/
${
body
.
report
}
/
${
body
.
outlookPaId
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
const
triggerHistoricalRatio
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_historical_company/
${
body
.
report
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
const
triggerHistoricalRatio
=
(
body
)
=>
api
.
get
(
`/transaction/cronjob/create_historical_company/
${
body
.
report
}
/
${
body
.
companyId
}
/
${
body
.
periode
}
//
${
body
.
currency_id
}
`
)
...
...
src/container/OutlookPA/TaxPlanningOLPA.js
View file @
35b2de2b
...
@@ -150,6 +150,7 @@ export default class TaxPlanningOLPA extends Component {
...
@@ -150,6 +150,7 @@ export default class TaxPlanningOLPA extends Component {
"get_for"
:
this
.
state
.
get_for
,
"get_for"
:
this
.
state
.
get_for
,
"revision"
:
this
.
props
.
revision
,
"revision"
:
this
.
props
.
revision
,
"periode"
:
this
.
props
.
periode
,
"periode"
:
this
.
props
.
periode
,
"currency_id"
:
this
.
props
.
defaultCurrency
.
id
,
"company_id"
:
this
.
props
.
company
.
company_id
"company_id"
:
this
.
props
.
company
.
company_id
}
}
api
.
create
().
getLastestUpdateOLPA
(
payload
).
then
(
response
=>
{
api
.
create
().
getLastestUpdateOLPA
(
payload
).
then
(
response
=>
{
...
...
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