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
af423aa5
Commit
af423aa5
authored
Aug 11, 2020
by
Dida Adams Arizona
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'faisal' into 'master'
create/update perusahaan See merge request
!45
parents
b201a5e5
81ebde6b
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
237 additions
and
1 deletion
+237
-1
CreatePerusahaan.js
src/container/MasterData/Perusahaan/CreatePerusahaan.js
+222
-0
Perusahaan.js
src/container/MasterData/Perusahaan/Perusahaan.js
+15
-1
No files found.
src/container/MasterData/Perusahaan/CreatePerusahaan.js
0 → 100644
View file @
af423aa5
This diff is collapsed.
Click to expand it.
src/container/MasterData/Perusahaan/Perusahaan.js
View file @
af423aa5
...
...
@@ -6,6 +6,7 @@ import Images from '../../../assets/Images';
import
MUIDataTable
from
"mui-datatables"
;
import
{
render
}
from
'@testing-library/react'
;
import
{
TextField
,
InputBase
}
from
"@material-ui/core"
;
import
CreatePerusahaan
from
"../Perusahaan/CreatePerusahaan"
;
var
ct
=
require
(
"../../../library/CustomTable"
);
const
getMuiTheme
=
()
=>
createMuiTheme
(
ct
.
customTable
());
...
...
@@ -70,7 +71,7 @@ export default class Perusahaan extends Component {
}
}
},
{
name
:
"
Nama Perusahaan
"
,
name
:
"
Parent Company
"
,
options
:
{
customBodyRender
:
(
val
,
tableMeta
)
=>
{
return
(
...
...
@@ -163,6 +164,19 @@ export default class Perusahaan extends Component {
<
/div
>
<
/div
>
{
this
.
state
.
visibleCreate
&&
(
<
CreatePerusahaan
onClickClose
=
{()
=>
this
.
setState
({
visibleCreate
:
false
})}
/
>
)}
{
this
.
state
.
visibleEdit
&&
(
<
CreatePerusahaan
type
=
{
"edit"
}
onClickClose
=
{()
=>
this
.
setState
({
visibleEdit
:
false
})}
data
=
{
this
.
state
.
data
}
/
>
)}
<
/div
>
);
}
...
...
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