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
464dde29
Commit
464dde29
authored
Aug 13, 2020
by
faisalhamdi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update company
parent
bfad4ca8
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
447 additions
and
107 deletions
+447
-107
index.js
src/api/index.js
+7
-2
CreatePerusahaan.js
src/container/MasterData/Perusahaan/CreatePerusahaan.js
+199
-47
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+241
-58
No files found.
src/api/index.js
View file @
464dde29
...
...
@@ -85,7 +85,10 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
const
searchUnitBisnis
=
(
body
)
=>
api
.
post
(
'/business_unit/search_business_unit'
,
body
)
// Perusahaan
const
getCompany
=
()
=>
api
.
get
(
'company/get_all_company'
)
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
const
getAM
=
()
=>
api
.
get
(
'approval_matrix/get_all_approval_matrix'
)
...
...
@@ -120,7 +123,9 @@ const create = (baseURL = 'https://trftia.eksad.com/tia-reporting-dev/public/')
updateUnitBisnis
,
searchUnitBisnis
,
getAM
,
getCompany
getPerusahaan
,
createPerusahaan
,
updatePerusahaan
}
}
...
...
src/container/MasterData/Perusahaan/CreatePerusahaan.js
View file @
464dde29
This diff is collapsed.
Click to expand it.
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
464dde29
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