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
3d5ff55e
Commit
3d5ff55e
authored
Mar 22, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
b324ef53
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.js
src/api/index.js
+6
-6
RollingOutlook.js
src/container/RollingOutlook.js
+1
-1
No files found.
src/api/index.js
View file @
3d5ff55e
...
...
@@ -241,7 +241,7 @@ const create = (type = "") => {
const
getLastestUpdateMROI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/monthly_report/get_latest_update'
,
body
)
// Rolling Outlook
const
getRollingOutlookID
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/get_
monthly_report
_id'
,
body
)
const
getRollingOutlookID
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/get_
rolling_outlook
_id'
,
body
)
const
getRollingOutlookAttachment
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/get_report_attachment'
,
body
)
const
uploadRollingOutlookAttachment
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/upload_attachment'
,
body
)
const
deleteRollingOutlookAttachment
=
(
body
)
=>
api
.
post
(
`transaction/rolling_outlook/delete_attachment/
${
body
}
`
)
...
...
@@ -260,8 +260,8 @@ const create = (type = "") => {
const
createRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/create_rolling_outlook'
,
body
)
const
checkImportRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/check_import'
,
body
)
const
importRollingOutlookPL
=
(
body
)
=>
api
.
post
(
'transaction/profit_loss/rolling_outlook/import_rolling_outlook'
,
body
)
const
getRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/
tax_planning/rolling_outlook
/get_report_hierarki'
,
body
)
const
createRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/
tax_planning/rolling_outlook/create_rolling_outlook
'
,
body
)
const
getRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/
rolling_outlook/tax_planning
/get_report_hierarki'
,
body
)
const
createRollingOutlookTP
=
(
body
)
=>
api
.
post
(
'transaction/
rolling_outlook/tax_planning/store_ro_tax_planning
'
,
body
)
const
getRollingOutlookCAT
=
(
body
)
=>
api
.
post
(
'transaction/cat/rolling_outlook/get_report_hierarki'
,
body
)
const
getSubmitRollingOutlook
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/get_latest_periode_submit'
,
body
)
const
getRollingOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/get_operating_indicator_id'
,
body
)
...
...
@@ -270,8 +270,7 @@ const create = (type = "") => {
const
getLastestUpdateROOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/get_latest_update'
,
body
)
const
checkUploadRollingOutlookOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/check_import'
,
body
)
const
uploadRollingOutlookOI
=
(
body
)
=>
api
.
post
(
'transaction/operating_indicator/rolling_outlook/import_rolling_outlook'
,
body
)
const
submitRollingOutlook
=
(
body
)
=>
api
.
post
(
'transaction/rolling_outlook/submit_rolling_outlook'
,
body
)
//REPORT NEW
const
getAllReportBS
=
(
body
)
=>
api
.
post
(
'/transaction/db_balance_sheet/get_report_hierarki'
,
body
)
...
...
@@ -756,7 +755,8 @@ const create = (type = "") => {
createRollingOI
,
getLastestUpdateROOI
,
checkUploadRollingOutlookOI
,
uploadRollingOutlookOI
uploadRollingOutlookOI
,
submitRollingOutlook
}
}
...
...
src/container/RollingOutlook.js
View file @
3d5ff55e
...
...
@@ -660,7 +660,7 @@ export default class RollingOutlook extends Component {
let
body
=
{
rolling_outlook_id
:
this
.
state
.
rollingOutlookID
}
api
.
create
().
submit
MasterBudget
(
body
).
then
(
response
=>
{
api
.
create
().
submit
RollingOutlook
(
body
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"Success"
)
{
...
...
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