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
de70f159
Commit
de70f159
authored
Jan 25, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apdet
parent
c32d3821
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
670 additions
and
186 deletions
+670
-186
index.js
src/api/index.js
+3
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+6
-1
SubHolding.js
src/container/Laporan/SubHolding.js
+243
-79
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+418
-105
No files found.
src/api/index.js
View file @
de70f159
...
...
@@ -249,6 +249,7 @@ const create = (type = "") => {
//CASH FLOW
const
getDetailReportCF
=
(
body
)
=>
api
.
post
(
'/transaction/cash_flow/master_budget/get_report_hierarki'
,
body
)
const
createReportCF
=
(
body
)
=>
api
.
post
(
'transaction/cash_flow/master_budget/create_submission_report'
,
body
)
//OUTLOOK PA
const
getOutlookPAID
=
(
body
)
=>
api
.
post
(
'transaction/outlook_pa/get_outlook_pa_id'
,
body
)
...
...
@@ -598,7 +599,8 @@ const create = (type = "") => {
getReportOIMB
,
getReportOIMR
,
getReportCFSumaMB
,
getReportCFSumaMR
getReportCFSumaMR
,
createReportCF
}
}
...
...
src/container/BudgetTahunan.js
View file @
de70f159
...
...
@@ -1039,6 +1039,9 @@ export default class BudgetTahunan extends Component {
// console.log(listCF)
this
.
setState
({
dbCF
:
listCF
}
,
()
=>
{
if
(
this
.
state
.
company
.
company_id
==
'13467'
)
{
this
.
createCashFlow
()
}
if
(
type
!=
undefined
)
{
if
(
type
==
'BS'
||
type
==
'FAM'
||
type
==
'PL'
)
{
console
.
log
(
'tarik sis'
)
...
...
@@ -1057,7 +1060,9 @@ export default class BudgetTahunan extends Component {
"status"
:
"submitted"
,
"cash_flow"
:
this
.
state
.
dbCF
}
api
.
create
().
createMonthlyReportCF
(
payload
).
then
((
res
)
=>
{
console
.
log
(
this
.
state
.
dbCF
)
console
.
log
(
JSON
.
stringify
(
payload
))
api
.
create
().
createReportCF
(
payload
).
then
((
res
)
=>
{
console
.
log
(
res
)
// if (response.data) {
// if (response.data.status === "success") {
...
...
src/container/Laporan/SubHolding.js
View file @
de70f159
This diff is collapsed.
Click to expand it.
src/container/Laporan/TableSubHolding.js
View file @
de70f159
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