@extends('backends.layouts.master_layout') @section('title','Create Staff Groups') @section('page_heading','Staff Groups') @section('content')
@include('backends.includes.notification')
@method('post') @csrf

Add Staff Group

@if($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if($errors->has('flag'))
{{ $errors->first('flag') }}
@endif
@foreach($modules as $k => $module)
@forelse($module->components as $submodule)
@foreach($module->getPermission($submodule->id) as $permission)
@endforeach
@empty This Module has no permission @endforelse
@endforeach @auth_access('create_group') @end_auth_access
@endsection