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
22820550
Commit
22820550
authored
Aug 13, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'faisal' into 'master'
company See merge request
!61
parents
2821fd69
353230fa
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
463 additions
and
103 deletions
+463
-103
index.js
src/api/index.js
+8
-0
CreatePerusahaan.js
src/container/MasterData/Perusahaan/CreatePerusahaan.js
+199
-47
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+256
-56
No files found.
src/api/index.js
View file @
22820550
...
@@ -84,6 +84,11 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
...
@@ -84,6 +84,11 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
const
updateUnitBisnis
=
(
body
)
=>
api
.
post
(
'/business_unit/update_business_unit'
,
body
)
const
updateUnitBisnis
=
(
body
)
=>
api
.
post
(
'/business_unit/update_business_unit'
,
body
)
const
searchUnitBisnis
=
(
body
)
=>
api
.
post
(
'/business_unit/search_business_unit'
,
body
)
const
searchUnitBisnis
=
(
body
)
=>
api
.
post
(
'/business_unit/search_business_unit'
,
body
)
// Perusahaan
const
getPerusahaan
=
()
=>
api
.
get
(
'company/get_all_company'
)
const
createPerusahaan
=
(
body
)
=>
api
.
post
(
'/company/create_company'
,
body
)
const
updatePerusahaan
=
(
body
)
=>
api
.
post
(
'/company/update_company'
,
body
)
// APPROVAL MATRIX
// APPROVAL MATRIX
const
getAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approval_matrix'
)
const
getAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approval_matrix'
)
const
getApprovedByAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approver'
)
const
getApprovedByAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approver'
)
...
@@ -122,6 +127,9 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
...
@@ -122,6 +127,9 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
updateUnitBisnis
,
updateUnitBisnis
,
searchUnitBisnis
,
searchUnitBisnis
,
getAM
,
getAM
,
getPerusahaan
,
createPerusahaan
,
updatePerusahaan
getApprovedByAM
,
getApprovedByAM
,
createAM
,
createAM
,
updateAM
updateAM
...
...
src/container/MasterData/Perusahaan/CreatePerusahaan.js
View file @
22820550
This diff is collapsed.
Click to expand it.
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
22820550
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