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
3243d475
Commit
3243d475
authored
Jan 25, 2021
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'didam' into 'master'
apdet See merge request
!1021
parents
67c31e8a
de70f159
Changes
4
Expand all
Show 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 @
3243d475
...
...
@@ -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 @
3243d475
...
...
@@ -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 @
3243d475
This diff is collapsed.
Click to expand it.
src/container/Laporan/TableSubHolding.js
View file @
3243d475
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