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
83887bcc
Commit
83887bcc
authored
Dec 14, 2020
by
Riri Novita
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'riri' into 'master'
perbaikan issue See merge request
!802
parents
9ae07376
a4beac9f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
255 additions
and
202 deletions
+255
-202
index.js
src/api/index.js
+3
-1
ProfitLossMR.js
src/container/MonthlyReport/ProfitLossMR.js
+252
-201
No files found.
src/api/index.js
View file @
83887bcc
...
@@ -295,6 +295,7 @@ const create = (type = "") => {
...
@@ -295,6 +295,7 @@ const create = (type = "") => {
const
createMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/create_monthly_report'
,
body
)
const
createMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/create_monthly_report'
,
body
)
const
checkUploadMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/check_import'
,
body
)
const
checkUploadMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/check_import'
,
body
)
const
uploadMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/import_monthly_report'
,
body
)
const
uploadMonthlyReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/import_monthly_report'
,
body
)
const
validateSubmitReportPL
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report_pl/validate_save'
,
body
)
//Template
//Template
const
downloadTemplate
=
(
fileName
,
fileType
)
=>
api
.
get
(
`attachment/download_file?fileName=
${
fileName
}
&&fileType=
${
fileType
}
`
)
const
downloadTemplate
=
(
fileName
,
fileType
)
=>
api
.
get
(
`attachment/download_file?fileName=
${
fileName
}
&&fileType=
${
fileType
}
`
)
...
@@ -520,7 +521,8 @@ const create = (type = "") => {
...
@@ -520,7 +521,8 @@ const create = (type = "") => {
getHierarkiMontlyReportCF
,
getHierarkiMontlyReportCF
,
validateSubmitReportMR
,
validateSubmitReportMR
,
validateSubmitReportMRTP
,
validateSubmitReportMRTP
,
validateSubmitReportBS
validateSubmitReportBS
,
validateSubmitReportPL
}
}
}
}
...
...
src/container/MonthlyReport/ProfitLossMR.js
View file @
83887bcc
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