Commit 199df326 by novanbagus

user external hanya email dan nama saja

parent afce8b09
...@@ -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);
......
...@@ -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 -->
......
...@@ -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>
......
...@@ -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>
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment