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
0805ec93
Commit
0805ec93
authored
Mar 03, 2021
by
Riri Novita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issueeeeeeeeeeeee
parent
82626371
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
361 additions
and
307 deletions
+361
-307
index.js
src/api/index.js
+2
-0
SubHolding.js
src/container/Laporan/SubHolding.js
+2
-2
ProfitLossRO.js
src/container/RollingOutlook/ProfitLossRO.js
+357
-305
No files found.
src/api/index.js
View file @
0805ec93
...
...
@@ -279,6 +279,7 @@ const create = (type = "") => {
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
)
const
getReportPLSummary
=
(
body
)
=>
api
.
post
(
'/transaction/summary_profit_loss/summary/get_report_hierarki_summary'
,
body
)
const
getReportFRSuma
=
(
body
)
=>
api
.
post
(
'/transaction/summary_ratio/summary/get_report_hierarki'
,
body
)
const
getReportFRMB
=
(
body
)
=>
api
.
post
(
'/transaction/summary_ratio/master_budget/get_report_hierarki'
,
body
)
const
getReportFRMR
=
(
body
)
=>
api
.
post
(
'/transaction/summary_ratio/monthly_report/get_report_hierarki'
,
body
)
...
...
@@ -660,6 +661,7 @@ const create = (type = "") => {
createReportCF
,
getReportCFSuma
,
getReportPLSuma
,
getReportPLSummary
,
getAllReportBS
,
getAllReportPLDetail
,
getAllReportOI
,
...
...
src/container/Laporan/SubHolding.js
View file @
0805ec93
...
...
@@ -1782,8 +1782,8 @@ export default class SubHolding extends Component {
}
else
if
(
this
.
state
.
report
.
value
===
8
)
{
let
dbSumaPL
=
[]
let
payloadPL
=
{...
payload
,
report_id
:
1
,
months
:
this
.
state
.
month
.
month_id
,
quarter
:
0
}
api
.
create
().
getReportPLSum
a
(
payloadPL
).
then
(
response
=>
{
let
payloadPL
=
{...
payload
,
report_id
:
28
,
months
:
this
.
state
.
month
.
month_id
,
quarter
:
0
}
api
.
create
().
getReportPLSum
mary
(
payloadPL
).
then
(
response
=>
{
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
'success'
)
{
...
...
src/container/RollingOutlook/ProfitLossRO.js
View file @
0805ec93
This diff is collapsed.
Click to expand it.
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