@php $editSubTaskPermission = user()->permission('edit_sub_tasks'); $deleteSubTaskPermission = user()->permission('delete_sub_tasks'); @endphp @forelse ($task->subtasks as $subtask)

{!! $subtask->status == 'complete' ? '' . ucfirst($subtask->title) . '' : ucfirst($subtask->title) !!}

{{ $subtask->due_date ? __('modules.invoices.due') . ': ' . $subtask->due_date->format(global_setting()->date_format) : '' }}
@empty
- @lang('messages.noSubTaskFound') -
@endforelse