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


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

@if(!is_null($task->due_date)) due_date->isPast()) class="text-danger" @endif>{{ $task->due_date->format($global->date_format) }} @endif
{!! ucfirst($task->description) !!}
    @foreach($task->subtasks as $subtask)
  • {{ ucfirst($subtask->title) }}
    @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() }}
    @if(is_null($file->external_link)) @endif
  • @empty
    @lang('messages.noRecordFound')
    @endforelse
    @lang('modules.tasks.comment')
    @forelse($task->comments as $comment)
    {{ ucwords($comment->user->name) }} {{ ucfirst($comment->created_at->diffForHumans()) }}
    {!! ucfirst($comment->comment) !!}
    @if($comment->user_id == $user->id) @endif
    @if(!is_null($comment->comment_file)) @foreach ($comment->comment_file as $file )
  • {{ $file->filename }}
    {{ $file->created_at->diffForHumans() }}
    @if(is_null($file->external_link)) @endif
  • @endforeach @endif @empty
    @lang('messages.noRecordFound')
    @endforelse
    @if($upload)
    {{ csrf_field() }}
    @else
    @lang('messages.storageLimitExceed', ['here' => 'Here'])
    @endif