alert fix

parent eed3f838
......@@ -79,6 +79,9 @@ class PublikasiJurnalController extends Controller
return view('user.publikasijurnal.create_anggota', $data);
}
else if($request->next_state == 'finish' && count($anggota) > 0){
alert()->success('Berhasil', 'Publikasi Jurnal berhasil disimpan');
return redirect()->route('publikasijurnal.index');
}
}
......
......@@ -63,6 +63,7 @@
@section('js')
<script src="{{ url('theme/plugins/table/datatable/datatables.js') }}"></script>
<script src="{{ url('theme/plugins/sweetalert2/dist/sweetalert2.all.min.js') }}"></script>
<script>
$('#zero-config').DataTable({
"oLanguage": {
......
......@@ -64,6 +64,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({
......
......@@ -69,6 +69,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({
......
......@@ -66,6 +66,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