{!! $task->description ?? __('messages.noDescriptionAdded') !!}
@lang('modules.tasks.subTask')
@if (count($task->subtasks) > 0)
{{ count($task->completedSubtasks) }}/{{ count($task->subtasks) }} {{ floor((count($task->completedSubtasks)/count($task->subtasks))*100) }}%
@endif
@foreach($task->subtasks as $subtask)
-
@if ($subtask->status != 'complete')
{{ ucfirst($subtask->title) }}
@else
{{ ucfirst($subtask->title) }}
@endif
@if($subtask->due_date)
- @lang('modules.invoices.due'): {{ $subtask->due_date->format($global->date_format) }}@endif
@endforeach
@forelse($task->files as $file)
-
{{ $file->filename }}
{{ $file->created_at->diffForHumans() }}
@empty
-
@lang('messages.noFileUploaded')
@endforelse
@lang('modules.tasks.comment')
{{ ucwords($comment->user->name) }} {{ ucfirst($comment->created_at->diffForHumans()) }}