@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']) }}

@if($role->is_fixed ==0) Delete @endif Reset
Modules
View
Add
Edit
Delete
{{ Form::submit( __('messages.save'), ['class'=>'btn btn-md btn-primary']) }}
@foreach($modules as $module)
{{ucwords($module->module_name)}}
module_name)))) ? 'checked' : '' }}>
module_name)))) ? 'checked' : '' }}>
module_name))))) ? 'checked' : '' }}>
module_name)))) ? 'checked' : '' }}>
@php $decodedData = json_decode($module->more_permission,true); @endphp
@if($decodedData !='') @foreach($decodedData as $permission_data)
{{ucwords($module->module_name)}} {{ ucwords(str_replace('_', ' ', $permission_data))}}
module_name).'_'.strtolower(str_replace(' ', '_', $permission_data))))) ? 'checked' : '' }}>
@endforeach @endif
@endforeach
{{ Form::close() }} @endif @endforeach
@push('after-scripts') @endpush @endsection