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
2a618c26
Commit
2a618c26
authored
Nov 23, 2020
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/d.arizona/tia-dev
into riri
parents
dd197b84
5664fe87
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 @
2a618c26
...
...
@@ -252,10 +252,17 @@ const create = (type = "") => {
const
checkApproverOLPA
=
()
=>
api
.
get
(
'transaction/outlook_pa/is_approver'
)
// 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
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
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
const
getHierarkiMontlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/get_report_hierarki'
,
body
)
...
...
@@ -415,6 +422,13 @@ const create = (type = "") => {
approvalSubmission
,
getCompanySubmitted
,
getLastPeriod
,
getLastPeriodMonthly
,
checkApproverMonthly
,
getCompanySubmittedMonthly
,
historyApprovalMonthly
,
uploadAttachmentMonthly
,
getMontlyReportAtt
,
deleteAttachmentMonthly
,
getSubmitMasterBudget
,
createPeriodeRevision
,
getLastestUpdateOI
,
...
...
src/container/BudgetTahunan.js
View file @
2a618c26
...
...
@@ -648,7 +648,7 @@ export default class BudgetTahunan extends Component {
}
else
{
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
(
"periode"
,
Number
(
this
.
state
.
periode
.
periode
));
formData
.
append
(
"file"
,
event
);
...
...
src/container/MonthlyReport.js
View file @
2a618c26
This diff is collapsed.
Click to expand it.
src/container/MonthlyReport/BalanceSheetMR.js
View file @
2a618c26
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