Form Hak Akses

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Username Email Authorization
{{$user->username}} {{$user->email}} {{$user->authority}}
@php $mymenu = json_decode($user->menu); @endphp
@foreach($menu as $m)
@php $master_sub_menu = json_decode($m->sub_menu); @endphp
@foreach($master_sub_menu as $master_sub) @if($mymenu != null) @foreach($mymenu as $may => $val) @if($may == $m->menu) @if(property_exists($val, $master_sub->slug) && $val->$mss == 1) @endif @endif @endforeach @endif
@endforeach
@endforeach