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
939f3ca8
Commit
939f3ca8
authored
Nov 23, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'deni-' into 'master'
Deni See merge request
!685
parents
bb4b8b9f
9352f086
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
716 additions
and
129 deletions
+716
-129
index.js
src/api/index.js
+4
-0
MonthlyReport.js
src/container/MonthlyReport.js
+14
-1
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+637
-67
ListOfCreditFacilities.js
src/container/MonthlyReport/ListOfCreditFacilities.js
+61
-61
No files found.
src/api/index.js
View file @
939f3ca8
...
...
@@ -256,6 +256,7 @@ const create = (type = "") => {
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportOI
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_oi/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportLOCF
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_locf/get_report_hierarki'
,
body
)
const
getLastPeriodMonthly
=
(
idCompany
)
=>
api
.
get
(
`transaction/monthly_report/get_last_periode/
${
idCompany
}
`
)
const
checkApproverMonthly
=
()
=>
api
.
get
(
'transaction/monthly_report/is_approver'
)
const
getCompanySubmittedMonthly
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_company_submitted'
,
body
)
...
...
@@ -263,6 +264,7 @@ const create = (type = "") => {
const
getMontlyReportAtt
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_report_attachment'
,
body
)
const
uploadAttachmentMonthly
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/upload_attachment'
,
body
)
const
deleteAttachmentMonthly
=
(
id
)
=>
api
.
post
(
`transaction/monthly_report/delete_attachment/
${
id
}
`
)
const
createMonthlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/create_monthly_report'
,
body
)
const
createTaxPlanningMR
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/create_monthly_report'
,
body
)
const
getHierarkiMontlyReportFAM
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/fam/get_report_hierarki'
,
body
)
...
...
@@ -399,6 +401,7 @@ const create = (type = "") => {
getDetailDocument
,
deleteDocument
,
createSubmitReport
,
createMonthlyReportBS
,
getSubmission
,
checkUploadMB
,
getAllOperatingInd
,
...
...
@@ -467,6 +470,7 @@ const create = (type = "") => {
getReportHierarkiFR
,
getDetailHierarkiCF
,
getHierarkiMontlyReportPL
,
getHierarkiMontlyReportLOCF
,
getHierarkiMontlyReportFAM
}
}
...
...
src/container/MonthlyReport.js
View file @
939f3ca8
...
...
@@ -470,6 +470,19 @@ export default class MonthlyReport extends Component {
})
}
saveToMonthlyReport
(){
this
.
setState
({
visibleMonthlyReport
:
true
,
visibleBS
:
false
,
visiblePL
:
false
,
visibleCAT
:
false
,
visibleFAM
:
false
,
visibleTP
:
false
,
visibleLOCF
:
false
,
visibleOI
:
false
,
})
}
clickDetail
(
item
,
id
,
revision
,
status
)
{
console
.
log
(
item
)
this
.
setState
({
...
...
@@ -1037,7 +1050,7 @@ export default class MonthlyReport extends Component {
periode
=
{
this
.
state
.
periode
.
periode
}
monthlyReportId
=
{
this
.
state
.
monthlyReportId
}
month
=
{
this
.
state
.
month
}
// saveToMasterBudget={this.saveToMasterBudge
t.bind(this)}
saveToMonthlyReport
=
{
this
.
saveToMonthlyRepor
t
.
bind
(
this
)}
onClickClose
=
{()
=>
this
.
setState
({
visibleBS
:
false
,
visibleMonthlyReport
:
true
})}
// getReport={this.getCompanyActive.bind(this)}
/
>
...
...
src/container/MonthlyReport/BalanceSheetMR.js
View file @
939f3ca8
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/ListOfCreditFacilities.js
View file @
939f3ca8
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