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
53eaa6ec
Commit
53eaa6ec
authored
Oct 06, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-dev(pc)' into 'master'
api reprot See merge request
!468
parents
48725352
dc026a39
Changes
2
Hide 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
BalanceSheetOLPA.js
src/container/OutlookPA/BalanceSheetOLPA.js
+1
-1
No files found.
src/api/index.js
View file @
53eaa6ec
...
@@ -228,6 +228,7 @@ const create = (type = "") => {
...
@@ -228,6 +228,7 @@ const create = (type = "") => {
const
getSubmitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_periode_submit'
,
body
)
const
getSubmitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_periode_submit'
,
body
)
const
getOLPAAtt
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_report_attachment'
,
body
)
const
getOLPAAtt
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_report_attachment'
,
body
)
const
submitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/submit_outlook_pa'
,
body
)
const
submitOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/submit_outlook_pa'
,
body
)
const
getDetailReportOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_report_hierarki'
,
body
)
const
getLastestUpdateOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_update'
,
body
)
const
getLastestUpdateOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_latest_update'
,
body
)
const
createReportOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/create_outlook_report'
,
body
)
const
createReportOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/create_outlook_report'
,
body
)
const
checkUploadOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/check_import'
,
body
)
const
checkUploadOLPA
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/check_import'
,
body
)
...
@@ -403,7 +404,8 @@ const create = (type = "") => {
...
@@ -403,7 +404,8 @@ const create = (type = "") => {
createReportOLPA
,
createReportOLPA
,
checkUploadOLPA
,
checkUploadOLPA
,
uploadOLPA
,
uploadOLPA
,
validateSubmitReportOLPA
validateSubmitReportOLPA
,
getDetailReportOLPA
}
}
}
}
...
...
src/container/OutlookPA/BalanceSheetOLPA.js
View file @
53eaa6ec
...
@@ -85,7 +85,7 @@ export default class BalanceSheetOLPA extends Component {
...
@@ -85,7 +85,7 @@ export default class BalanceSheetOLPA extends Component {
"periode"
:
this
.
props
.
periode
,
"periode"
:
this
.
props
.
periode
,
"company_id"
:
this
.
props
.
company
.
company_id
"company_id"
:
this
.
props
.
company
.
company_id
}
}
let
response
=
await
api
.
create
().
getDetailReport
MB
(
payload
)
let
response
=
await
api
.
create
().
getDetailReport
OLPA
(
payload
)
console
.
log
(
response
);
console
.
log
(
response
);
let
dataTable
=
[]
let
dataTable
=
[]
if
(
response
.
data
)
{
if
(
response
.
data
)
{
...
...
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