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
6dd51650
Commit
6dd51650
authored
Nov 23, 2020
by
Deni Rinaldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+_+
parent
e34859c4
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
431 additions
and
91 deletions
+431
-91
index.js
src/api/index.js
+15
-1
BudgetTahunan.js
src/container/BudgetTahunan.js
+1
-1
MonthlyReport.js
src/container/MonthlyReport.js
+328
-38
BalanceSheetMR.js
src/container/MonthlyReport/BalanceSheetMR.js
+87
-51
No files found.
src/api/index.js
View file @
6dd51650
...
@@ -252,10 +252,17 @@ const create = (type = "") => {
...
@@ -252,10 +252,17 @@ const create = (type = "") => {
const
checkApproverOLPA
=
()
=>
api
.
get
(
'transaction/outlook_pa/is_approver'
)
const
checkApproverOLPA
=
()
=>
api
.
get
(
'transaction/outlook_pa/is_approver'
)
// Monthly
// Monthly
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report
_bs
/get_monthly_report_id'
,
body
)
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_monthly_report_id'
,
body
)
const
getHierarkiMontlyReportBS
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_bs/get_report_hierarki'
,
body
)
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
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
getHierarkiMontlyReportTP
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_tp/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
)
const
historyApprovalMonthly
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/history_approval'
,
body
)
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
}
`
)
// MonthlyPL
// MonthlyPL
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
...
@@ -415,6 +422,13 @@ const create = (type = "") => {
...
@@ -415,6 +422,13 @@ const create = (type = "") => {
approvalSubmission
,
approvalSubmission
,
getCompanySubmitted
,
getCompanySubmitted
,
getLastPeriod
,
getLastPeriod
,
getLastPeriodMonthly
,
checkApproverMonthly
,
getCompanySubmittedMonthly
,
historyApprovalMonthly
,
uploadAttachmentMonthly
,
getMontlyReportAtt
,
deleteAttachmentMonthly
,
getSubmitMasterBudget
,
getSubmitMasterBudget
,
createPeriodeRevision
,
createPeriodeRevision
,
getLastestUpdateOI
,
getLastestUpdateOI
,
...
...
src/container/BudgetTahunan.js
View file @
6dd51650
...
@@ -648,7 +648,7 @@ export default class BudgetTahunan extends Component {
...
@@ -648,7 +648,7 @@ export default class BudgetTahunan extends Component {
}
}
else
{
else
{
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"revision"
,
Number
(
this
.
state
.
revision
.
r
evision
));
formData
.
append
(
"revision"
,
Number
(
this
.
state
.
lastR
evision
));
formData
.
append
(
"companyId"
,
this
.
state
.
company
.
company_id
);
formData
.
append
(
"companyId"
,
this
.
state
.
company
.
company_id
);
formData
.
append
(
"periode"
,
Number
(
this
.
state
.
periode
.
periode
));
formData
.
append
(
"periode"
,
Number
(
this
.
state
.
periode
.
periode
));
formData
.
append
(
"file"
,
event
);
formData
.
append
(
"file"
,
event
);
...
...
src/container/MonthlyReport.js
View file @
6dd51650
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
6dd51650
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