@extends('layouts.master') @section('title', 'Permissions List') @section('links') @endsection @section('content')

Permission Management

{!! Form::open(['route' => 'permissions.store','role' => 'form', 'class'=>'permission-form','id' => 'permission-form','data-no-form-clear' => 1]) !!}
Cancel {!! Form::submit(isset($buttonText) ? $buttonText : 'save',['class' => 'btn btn-primary']) !!}


@foreach($roles as $role) @php if(!empty($selectedroleId)){ if($role->id==$selectedroleId){ @endphp @php } @endphp @php }else{ @endphp @php } @endphp @endforeach @foreach($permissions as $permission) @if($permission->category != $category) @endif @foreach(\App\Role::all() as $role) @php if(!empty($selectedroleId)){ if($role->id==$selectedroleId){ @endphp @php } @endphp @php }else{ @endphp @php }@endphp @endforeach @endforeach
{!! 'Modules' !!}{!! \App\Classes\Helper::toWord($role->name) !!}{!! \App\Classes\Helper::toWord($role->name) !!}
{{ \App\Classes\Helper::toWord($permission->category).' '.'Module' }}
{!! \App\Classes\Helper::toWord($permission->name) !!}


Cancel {!! Form::submit(isset($buttonText) ? $buttonText : 'save',['class' => 'btn btn-primary']) !!} {!! Form::close() !!}
@endsection @section('scripts') @endsection