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
309ed182
Commit
309ed182
authored
Jan 25, 2021
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
badb54ab
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
540 additions
and
181 deletions
+540
-181
index.js
src/api/index.js
+4
-2
BudgetTahunan.js
src/container/BudgetTahunan.js
+9
-9
SubHolding.js
src/container/Laporan/SubHolding.js
+231
-113
TableSubHolding.js
src/container/Laporan/TableSubHolding.js
+295
-56
MonthlyReport.js
src/container/MonthlyReport.js
+1
-1
No files found.
src/api/index.js
View file @
309ed182
...
...
@@ -246,6 +246,7 @@ const create = (type = "") => {
const
getReportOIMR
=
(
body
)
=>
api
.
post
(
'/transaction/db_operating_indicator/monthly_report/get_report_hierarki'
,
body
)
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
)
//CASH FLOW
const
getDetailReportCF
=
(
body
)
=>
api
.
post
(
'/transaction/cash_flow/master_budget/get_report_hierarki'
,
body
)
...
...
@@ -600,7 +601,8 @@ const create = (type = "") => {
getReportOIMR
,
getReportCFSumaMB
,
getReportCFSumaMR
,
createReportCF
createReportCF
,
getReportCFSuma
}
}
...
...
src/container/BudgetTahunan.js
View file @
309ed182
...
...
@@ -289,7 +289,7 @@ export default class BudgetTahunan extends Component {
item
.
number
,
item
.
report_name
===
'CAT'
?
'Corporate Annual Target'
:
item
.
report_name
,
item
.
revision
,
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
item
.
status_approv
,
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
status_approv
,
item
.
report_id
,
Number
(
item
.
revision
)
>
0
?
(
item
.
current_status
==
"not-yet"
?
false
:
item
.
is_can_upload
)
:
item
.
is_can_upload
,
item
.
revision
...
...
@@ -1046,15 +1046,15 @@ 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'
)
if
(
this
.
state
.
submissionID
!=
null
)
{
this
.
createCashFlow
()
}
}
// if (type != undefined) {
// if (type == 'BS' || type == 'FAM' || type == 'PL') {
// console.log('tarik sis')
// this.createCashFlow()
// }
// }
})
}
...
...
src/container/Laporan/SubHolding.js
View file @
309ed182
This diff is collapsed.
Click to expand it.
src/container/Laporan/TableSubHolding.js
View file @
309ed182
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport.js
View file @
309ed182
...
...
@@ -228,7 +228,7 @@ export default class MonthlyReport extends Component {
item
.
number
,
item
.
report_name
==
"CAT"
?
"Corporate Annual Target"
:
item
.
report_name
,
item
.
revision
,
this
.
state
.
isApprovedMB
?
(
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
item
.
status_approv
)
:
"CLOSED"
,
this
.
state
.
isApprovedMB
?
(
this
.
state
.
lastStatus
===
'APPROVED'
?
'CLOSED'
:
this
.
state
.
isSubmit
===
false
?
"CLOSED"
:
status_approv
)
:
"CLOSED"
,
item
.
report_id
,
item
.
is_can_upload
,
item
.
revision
...
...
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