Commit 63fa1098 by Farendi Giotivano R.P

ganti kelompok

parent 99798df4
...@@ -71,7 +71,6 @@ class KelompokController extends Controller ...@@ -71,7 +71,6 @@ class KelompokController extends Controller
$getDosen = GetDataApiController::getDosen(); $getDosen = GetDataApiController::getDosen();
$periode = Periode::query()->where('status', 1)->first(); $periode = Periode::query()->where('status', 1)->first();
$data = [ $data = [
'title' => $title, 'title' => $title,
'dosen' => $getDosen['data'], 'dosen' => $getDosen['data'],
...@@ -141,7 +140,7 @@ class KelompokController extends Controller ...@@ -141,7 +140,7 @@ class KelompokController extends Controller
'created_user' => Auth::user()->id 'created_user' => Auth::user()->id
]); ]);
return redirect()->intended(route('mahasiswa.kelompok.createnew', ['id' => encrypt($kel->kelompok_id)]))->with('success', 'Berhasil membuat kelompok!'); return redirect()->intended(route('mahasiswa.kelompok.createnew', ['id' => encrypt($kel->kelompok_id)]))->with('success', 'Berhasil membuat elompok!');
} }
/** /**
......
...@@ -64,6 +64,8 @@ ...@@ -64,6 +64,8 @@
@section('js') @section('js')
<script> <script>
$(document).ready(function() {
$(".select2").select2();
});
</script> </script>
@endsection @endsection
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