@extends('backend.layouts.app') @section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection @section('content')

Permission & Role

@hasPermission('add_page') {{ __('messages.new') }} @endhasPermission
@foreach ($roles as $role) @if($role->name !== 'admin' ) {{ Form::open(['route' => ['backend.permission-role.store', $role->id],'method' => 'post']) }}
{{ ucfirst($role->title) }}
@if($role->is_fixed ==0) @endif
@foreach($modules as $module) @php $decodedData = json_decode($module->more_permission,true); @endphp @if(!empty($decodedData)) @else @endif @endforeach
Modules View Add Edit Delete {{ Form::submit( __('messages.save'), ['class'=>'btn btn-md btn-secondary']) }}
{{ucwords($module->module_name)}} module_name)))) ? 'checked' : '' }}> module_name)))) ? 'checked' : '' }}> module_name))))) ? 'checked' : '' }}> module_name)))) ? 'checked' : '' }}> More
@if($decodedData !='') @foreach($decodedData as $permission_data) @endforeach @endif
{{ ucwords(str_replace('_', ' ', $permission_data))}}
{{ Form::close() }} @endif @endforeach
@push('after-scripts') @endpush @endsection