@php
$deleteTaskCategoryPermission = user()->permission('delete_task_category');
@endphp
# |
@lang('modules.projectCategory.categoryName') |
@lang('app.action') |
@forelse($categories as $key=>$category)
{{ $key + 1 }} |
{{ mb_ucwords($category->category_name) }} |
@if ($deleteTaskCategoryPermission == 'all' || $deleteTaskCategoryPermission == 'added')
@lang('app.delete')
@endif
|
@empty
@endforelse