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
e711c694
Commit
e711c694
authored
Jan 26, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plsum
parent
a0cb23e1
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
SubHolding.js
src/container/Laporan/SubHolding.js
+2
-2
No files found.
src/api/index.js
View file @
e711c694
...
...
@@ -247,6 +247,7 @@ const create = (type = "") => {
const
getReportCFSumaMB
=
(
body
)
=>
api
.
post
(
'/transaction/summary_cash_flow/master_budget/get_report_hierarki'
,
body
)
const
getReportCFSumaMR
=
(
body
)
=>
api
.
post
(
'/transaction/summary_cash_flow/monthly_report/get_report_hierarki'
,
body
)
const
getReportCFSuma
=
(
body
)
=>
api
.
post
(
'/transaction/summary_cash_flow/summary/get_report_hierarki'
,
body
)
const
getReportPLSuma
=
(
body
)
=>
api
.
post
(
'/transaction/summary_profit_loss/summary/get_report_hierarki'
,
body
)
//CASH FLOW
const
getDetailReportCF
=
(
body
)
=>
api
.
post
(
'/transaction/cash_flow/master_budget/get_report_hierarki'
,
body
)
...
...
@@ -602,7 +603,8 @@ const create = (type = "") => {
getReportCFSumaMB
,
getReportCFSumaMR
,
createReportCF
,
getReportCFSuma
getReportCFSuma
,
getReportPLSuma
}
}
...
...
src/container/Laporan/SubHolding.js
View file @
e711c694
...
...
@@ -1184,8 +1184,8 @@ export default class SubHolding extends Component {
})
}
else
if
(
this
.
state
.
report
.
value
===
8
)
{
api
.
create
().
getReportPL
MB
(
payload
).
then
(
response
=>
{
//
console.log(response);
api
.
create
().
getReportPL
Suma
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
// if (response.data) {
// let dataTable = []
// console.log(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