@if(Session::has('notif'))
@if(Session::get('notif') == 'add')
<script>
  Notiflix.Notify.success('Data berhasil disimpan', {
    useFontAwesome: true,
    fontSize: "15px",
    borderRadius: "10px",
  });
</script>
@elseif(Session::get('notif') == 'updated')
<script>
  Notiflix.Notify.success('Data berhasil diubah', {
    useFontAwesome: true,
    fontSize: "15px",
    borderRadius: "10px",
  });
</script>
@elseif(Session::get('notif') == 'deleted')
<script>
  Notiflix.Notify.success('Data berhasil dihapus', {
    useFontAwesome: true,
    fontSize: "15px",
    borderRadius: "10px",
  });
</script>
@endif
@endif