@lang('app.task')

{{ ucwords($task->heading) }}

@if(!is_null($task->project_id))

{{ ucfirst($task->project->project_name) }}

@endif
@if($task->task_category_id) @endif

{!! $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')

@forelse($task->comments as $comment)
{{ ucwords($comment->user->name) }} {{ ucfirst($comment->created_at->diffForHumans()) }}
{!! ucfirst($comment->comment) !!}
@empty
@lang('messages.noRecordFound')
@endforelse

  {{ $task->board_column->column_name }}


@foreach ($task->users as $item) @endforeach
@if($task->create_by)

{{ ucwords($task->create_by->name) }}
@endif @if($task->start_date)

{{ $task->start_date->format($global->date_format) }}

@endif

@if(!is_null($task->due_date)) due_date->isPast()) class="text-danger" @endif> {{ $task->due_date->format($global->date_format) }} @else @lang('app.noDueDate') @endif
@if(sizeof($task->label))

@foreach($task->label as $key => $label) @endforeach
@endif