@extends('layouts.adminmaster') @section('styles') @endsection @section('content')

{{lang('Groups List')}}

@can('Groups Create') {{lang('Add Group')}} @endcan @can('Category Access') {{lang('Category Assign')}} @endcan
@can('Groups Delete') @endcan @can('Groups Delete') @endcan @cannot('Groups Delete') @endcannot @php $i = 1; @endphp @foreach($groups as $group) @endforeach
{{lang('Sl.No')}} {{lang('Group Name')}} {{lang('Count')}} {{lang('Status')}} {{lang('Actions')}}
{{$i++}} @if(Auth::user()->can('Groups Delete')) @else @endif {{Str::limit($group->groupname, '40')}} {{$group->groupsuser()->count()}} @if(Auth::user()->can('Groups Edit')) @if($group->groupstatus == '1') @else @endif @else ~ @endif
@if(Auth::user()->can('Groups Edit')) @else ~ @endif @if(Auth::user()->can('Groups Delete')) @else ~ @endif
@endsection @section('modal') @endsection @section('scripts') @endsection