alert fix

parent 341c9acd
......@@ -229,7 +229,7 @@ class PenelitianSumberDanaController extends Controller
{
$allAnggota = PenelitianSumberAnggota::where('penelitiansumber_id', decrypt($id))->get();
$anggota = $allAnggota->where('nidn', $request->nidn);
$ketua = $allAnggota->where('peran', PenelitianSumberAnggota::KEANGGOTAAN[PenelitianSumberAnggota::KETUA_KEY]);
$ketua = $allAnggota->where('peran', PenelitianSumberAnggota::KEANGGOTAAN[PenelitianSumberAnggota::KETUA_KEY] );
if( count($ketua) > 0 && $request->keanggotaan == PenelitianSumberAnggota::KEANGGOTAAN[PenelitianSumberAnggota::KETUA_KEY]){
......
......@@ -151,7 +151,6 @@
feather.replace();
</script>
{{-- <script src="{{ url('theme/plugins/sweetalert2/dist/sweetalert2.all.min.js') }}"></script> --}}
@include('sweet::alert')
{{-- <script src="{{ url('theme/plugins/sweetalerts/promise-polyfill.js') }}"></script>
......
......@@ -63,6 +63,7 @@
@endsection
@section('js')
<script src="{{ url('theme/plugins/sweetalert2/dist/sweetalert2.all.min.js') }}"></script>
<script src="{{ url('theme/plugins/table/datatable/datatables.js') }}"></script>
<script>
$('#zero-config').DataTable({
......
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