@php
$deleteProjectCategoryPermission = user()->permission('manage_project_category');
@endphp
# |
@lang('purchase::modules.inventory.reasonName') |
@lang('app.action') |
@forelse($reasons as $key=>$reason)
{{ $key + 1 }} |
{{ mb_ucwords($reason->name) }} |
@if ($deleteProjectCategoryPermission == 'all' || ($deleteProjectCategoryPermission == 'added' && $category->added_by == user()->id))
@lang('app.delete')
@endif
|
@empty
@endforelse