@php
$deleteDepartmentPermission = user()->permission('delete_department');
@endphp
# |
@lang('app.department') |
@lang('app.action') |
@forelse($departments as $key=>$item)
{{ $key + 1 }} |
{{ ucwords($item->team_name) }} |
@if ($deleteDepartmentPermission == 'all' || $deleteDepartmentPermission == 'added')
@lang('app.delete')
@endif
|
@empty
@lang('messages.noRecordFound') |
@endforelse