@include('layouts.flash.alert')
{!! Form::open(array('route' => array('permissions.update'),'id'=>'permission')) !!}
*
@php $privious_value = ''; $i=0;
foreach($permissions as $permission){
$newPermission[$permission->module][$i]=$permission;
$i++;
}
@endphp
Section |
Read |
Write |
@foreach($newPermission as $key=> $newpermission)
{{$key }} |
@foreach($newpermission as $permission)
|
@endforeach
@endforeach
@if(Auth::user()->roles->first()->slug =='super_admin')
{{Form::label('default_permission', 'Set Permission')}}
{!!Form::select('default_permission', ['0'=>'Set Custom Company Permission','1'=>'Reset Default Permission'], $is_default, ['class' => 'form-control'])!!}
@endif
{{ Form::close() }}
@stop
@push('scripts')
@endpush