Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpkm
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Farendi Giotivano R.P
simpkm
Commits
199df326
Commit
199df326
authored
Feb 16, 2023
by
novanbagus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user external hanya email dan nama saja
parent
afce8b09
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
26 deletions
+31
-26
app/Http/Controllers/Operator/UserExternalController.php
+4
-4
resources/views/backend/operator/proposal/index.blade.php
+5
-0
resources/views/backend/operator/user_external/create.blade.php
+10
-10
resources/views/backend/operator/user_external/edit.blade.php
+10
-10
resources/views/backend/operator/user_external/index.blade.php
+2
-2
No files found.
app/Http/Controllers/Operator/UserExternalController.php
View file @
199df326
...
@@ -63,11 +63,11 @@ class UserExternalController extends Controller
...
@@ -63,11 +63,11 @@ class UserExternalController extends Controller
if
(
User
::
create
(
$data
))
if
(
User
::
create
(
$data
))
{
{
$detil
[
'id'
]
=
$uuid
;
$detil
[
'id'
]
=
$uuid
;
$detil
[
'noidentitas'
]
=
$request
->
input
(
'nidn'
);
$detil
[
'name'
]
=
$request
->
input
(
'nama'
);
$detil
[
'fakultas'
]
=
$request
->
input
(
'fakultas'
);
$detil
[
'prodi'
]
=
$request
->
input
(
'prodi'
);
$detil
[
'email'
]
=
$request
->
input
(
'email'
);
$detil
[
'email'
]
=
$request
->
input
(
'email'
);
$detil
[
'name'
]
=
$request
->
input
(
'nama'
);
// $detil['noidentitas'] = $request->input('nidn');
// $detil['fakultas'] = $request->input('fakultas');
// $detil['prodi'] = $request->input('prodi');
$detil
[
'userid_created'
]
=
Auth
::
user
()
->
id
;
$detil
[
'userid_created'
]
=
Auth
::
user
()
->
id
;
Biodata
::
create
(
$detil
);
Biodata
::
create
(
$detil
);
...
...
resources/views/backend/operator/proposal/index.blade.php
View file @
199df326
...
@@ -20,6 +20,11 @@
...
@@ -20,6 +20,11 @@
<li class="
breadcrumb
-
item
">{!!
$title
!!}</li>
<li class="
breadcrumb
-
item
">{!!
$title
!!}</li>
</ol>
</ol>
</div>
</div>
{{-- <div class="
col
-
md
-
4
">
<div class="
float
-
end
d
-
none
d
-
md
-
block
">
<a href="
{{
URL
::
to
(
'operator/user-external/create'
)
}}
" type="
button
" class="
btn
btn
-
primary
waves
-
effect
waves
-
light
"> <i class="
fas
fa
-
plus
-
circle
"></i> Tambah Data</a>
</div>
</div> --}}
</div>
</div>
</div>
</div>
<!-- end page title -->
<!-- end page title -->
...
...
resources/views/backend/operator/user_external/create.blade.php
View file @
199df326
...
@@ -42,15 +42,6 @@
...
@@ -42,15 +42,6 @@
</div>
</div>
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label for="
example
-
text
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">NIDN</label>
<div class="
col
-
sm
-
10
">
{{ Form::text('nidn', old('nidn'), array('class' => 'form-control check', 'data-info' => 'nidn', 'id' => 'nidn', 'placeholder' => 'Masukkan NIDN', 'required')) }}
@if (
$errors->has
('nidn'))
<span class="
help
-
block
">
{
{$errors->first('nidn')}
}
</span>
@endif
</div>
</div>
<div class="
row
mb
-
3
">
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Nama</label>
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Nama</label>
<div class="
col
-
sm
-
10
">
<div class="
col
-
sm
-
10
">
{{ Form::text('nama', old('nama'), array('class' => 'form-control', 'placeholder' => 'Masukkan Nama', 'required')) }}
{{ Form::text('nama', old('nama'), array('class' => 'form-control', 'placeholder' => 'Masukkan Nama', 'required')) }}
...
@@ -59,6 +50,15 @@
...
@@ -59,6 +50,15 @@
@endif
@endif
</div>
</div>
</div>
</div>
{{-- <div class="
row
mb
-
3
">
<label for="
example
-
text
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">NIDN</label>
<div class="
col
-
sm
-
10
">
{{ Form::text('nidn', old('nidn'), array('class' => 'form-control check', 'data-info' => 'nidn', 'id' => 'nidn', 'placeholder' => 'Masukkan NIDN', 'required')) }}
@if (
$errors->has
('nidn'))
<span class="
help
-
block
">
{
{$errors->first('nidn')}
}
</span>
@endif
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Fakultas</label>
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Fakultas</label>
<div class="
col
-
sm
-
10
">
<div class="
col
-
sm
-
10
">
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<span class="
help
-
block
">
{
{$errors->first('prodi')}
}
</span>
<span class="
help
-
block
">
{
{$errors->first('prodi')}
}
</span>
@endif
@endif
</div>
</div>
</div>
</div>
--}}
<div class="
mb
-
0
">
<div class="
mb
-
0
">
<div>
<div>
...
...
resources/views/backend/operator/user_external/edit.blade.php
View file @
199df326
...
@@ -44,15 +44,6 @@
...
@@ -44,15 +44,6 @@
</div>
</div>
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label for="
example
-
text
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">NIDN</label>
<div class="
col
-
sm
-
10
">
{{ Form::text('nidn',
$user->rBiodata
->noidentitas, array('class' => 'form-control check', 'data-info' => 'nidn', 'id' => 'nidn', 'placeholder' => 'Masukkan NIDN', 'required')) }}
@if (
$errors->has
('nidn'))
<span class="
help
-
block
">
{
{$errors->first('nidn')}
}
</span>
@endif
</div>
</div>
<div class="
row
mb
-
3
">
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Nama</label>
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Nama</label>
<div class="
col
-
sm
-
10
">
<div class="
col
-
sm
-
10
">
{{ Form::text('nama',
$user->name
, array('class' => 'form-control', 'placeholder' => 'Masukkan Nama', 'required')) }}
{{ Form::text('nama',
$user->name
, array('class' => 'form-control', 'placeholder' => 'Masukkan Nama', 'required')) }}
...
@@ -61,6 +52,15 @@
...
@@ -61,6 +52,15 @@
@endif
@endif
</div>
</div>
</div>
</div>
{{-- <div class="
row
mb
-
3
">
<label for="
example
-
text
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">NIDN</label>
<div class="
col
-
sm
-
10
">
{{ Form::text('nidn',
$user->rBiodata
->noidentitas, array('class' => 'form-control check', 'data-info' => 'nidn', 'id' => 'nidn', 'placeholder' => 'Masukkan NIDN', 'required')) }}
@if (
$errors->has
('nidn'))
<span class="
help
-
block
">
{
{$errors->first('nidn')}
}
</span>
@endif
</div>
</div>
<div class="
row
mb
-
3
">
<div class="
row
mb
-
3
">
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Fakultas</label>
<label for="
example
-
search
-
input
" class="
col
-
sm
-
2
col
-
form
-
label
">Fakultas</label>
<div class="
col
-
sm
-
10
">
<div class="
col
-
sm
-
10
">
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<span class="
help
-
block
">
{
{$errors->first('prodi')}
}
</span>
<span class="
help
-
block
">
{
{$errors->first('prodi')}
}
</span>
@endif
@endif
</div>
</div>
</div>
</div>
--}}
<div class="
mb
-
0
">
<div class="
mb
-
0
">
<div>
<div>
...
...
resources/views/backend/operator/user_external/index.blade.php
View file @
199df326
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<thead>
<thead>
<tr>
<tr>
<th>No.</th>
<th>No.</th>
<th>NIDN</th>
{{-- <th>NIDN</th> --}}
<th>Nama</th>
<th>Nama</th>
<th>Akun</th>
<th>Akun</th>
<th>Aksi</th>
<th>Aksi</th>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
@foreach (
$users
as
$item
)
@foreach (
$users
as
$item
)
<tr>
<tr>
<td>{{
$loop->iteration
}}</td>
<td>{{
$loop->iteration
}}</td>
<td>{{
$item->rBiodata
->noidentitas }}</td>
{{-- <td>{{
$item->rBiodata
->noidentitas }}</td> --}}
<td>{{
$item->name
}}</td>
<td>{{
$item->name
}}</td>
<td>
<td>
Email : <b>{{
$item->email
}}</b><br>
Email : <b>{{
$item->email
}}</b><br>
...
...
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