@extends('layouts.adminLayout.admin_design') @section('content')
{{ Form::open(['url' => route('permissionssave'), 'method'=>'POST', 'name' => 'webpermissionaccess', 'id' => 'webpermissionaccess']) }}

{{ $title }}

@if($modules) @foreach($modules as $key => $module) @endforeach @endif
{{__('lbl.module')}} {{ $title }}
{{str_replace("_"," ",ucfirst($key))}} @if($module) @foreach($module as $subKey => $subItem) @php $moduleKey = $key.'_'.$subItem; $moduleHasAccess = (array_key_exists($moduleKey, (array)$hasAccess)) ? "checked" : ""; @endphp {{str_replace("_"," ",ucfirst($subItem))}}
@endforeach @endif
{{ Form::hidden('role_id',$roleId)}} {{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/backend/permissions/permission.js']) !!} @stop