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
046114a2
Commit
046114a2
authored
Nov 25, 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
d7030da5
e457786b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.js
src/api/index.js
+3
-1
MonthlyReport.js
src/container/MonthlyReport.js
+2
-1
No files found.
src/api/index.js
View file @
046114a2
...
@@ -252,6 +252,7 @@ const create = (type = "") => {
...
@@ -252,6 +252,7 @@ const create = (type = "") => {
const
checkApproverOLPA
=
()
=>
api
.
get
(
'transaction/outlook_pa/is_approver'
)
const
checkApproverOLPA
=
()
=>
api
.
get
(
'transaction/outlook_pa/is_approver'
)
// Monthly
// Monthly
const
getMonthlyReport
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/get_all_report'
,
body
)
const
getMonthlyReportID
=
(
body
)
=>
api
.
post
(
'transaction/monthly_report/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
)
...
@@ -478,7 +479,8 @@ const create = (type = "") => {
...
@@ -478,7 +479,8 @@ const create = (type = "") => {
getHierarkiMontlyReportPL
,
getHierarkiMontlyReportPL
,
getHierarkiMontlyReportLOCF
,
getHierarkiMontlyReportLOCF
,
getHierarkiMontlyReportFAM
,
getHierarkiMontlyReportFAM
,
checkUploadMonthlyReportTP
checkUploadMonthlyReportTP
,
getMonthlyReport
}
}
}
}
...
...
src/container/MonthlyReport.js
View file @
046114a2
...
@@ -123,8 +123,9 @@ export default class MonthlyReport extends Component {
...
@@ -123,8 +123,9 @@ export default class MonthlyReport extends Component {
"company_id"
:
this
.
state
.
company
.
company_id
,
"company_id"
:
this
.
state
.
company
.
company_id
,
"periode"
:
this
.
state
.
periode
.
periode
,
"periode"
:
this
.
state
.
periode
.
periode
,
"report_type"
:
"Monthly Report"
,
"report_type"
:
"Monthly Report"
,
"months"
:
this
.
state
.
month
.
month_id
,
}
}
api
.
create
().
get
ReportTypeBody
(
payload
).
then
(
response
=>
{
api
.
create
().
get
MonthlyReport
(
payload
).
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
if
(
response
.
data
)
{
if
(
response
.
data
)
{
if
(
response
.
data
.
status
===
"success"
)
{
if
(
response
.
data
.
status
===
"success"
)
{
...
...
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