@extends('master') @section('title', 'Drone') @section('header-konten') @endsection @section('konten')
Drone
@php $tambah = explode(',', Auth::user()->role->tambah); $baca = explode(',', Auth::user()->role->baca); $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp @if (in_array('30', $tambah))
@endif
@php $baca = explode(',', Auth::user()->role->baca); $tambah = explode(',', Auth::user()->role->tambah); $ubah = explode(',', Auth::user()->role->ubah); @endphp @if (in_array('30', $baca) | in_array('30', $ubah) | in_array('30', $tambah)) @endif @php $i = -1; @endphp @foreach ($tiled as $t) @if ($t != '.' && $t != '..') @if (in_array('30', $baca) | in_array('30', $ubah) | in_array('30', $tambah)) @endif @endif @php $i++; @endphp @endforeach
No Nama FolderAksi
{{ $i }} {{ $t }}
@endsection @section('modal') @php $tambah = explode(',', Auth::user()->role->tambah); $ubah = explode(',', Auth::user()->role->ubah); @endphp @if (in_array('30', $tambah)) @endif @endsection @section('script') @include('my_components.alertToast') @endsection