@extends('admin.template.layout') @section('content')
@csrf()
Name
*
Role Status
*
Active
InActive
@php $c=0; @endphp @foreach($site_modules as $moduleKey=>$moduleValue) @php $c++; @endphp @endforeach
#
Module
Operations
{{$c}}
{{$moduleValue['name']}}
All
@foreach($moduleValue['operations'] as $operationKey) @php $options = json_decode($permissions[$moduleKey]??''); @endphp
{{$operations[$operationKey]}}
@endforeach
Submit
@endsection @section('script') @stop