@foreach($subTasks as $subtask) @php $subTaskCount = (isset($subtask->files)) ? $subtask->files->count() : 0; @endphp
  • status == 'complete') checked @endif> {{ ucfirst($subtask->title) }}
    @if($subtask->due_date) - @lang('modules.invoices.due'): {{ $subtask->due_date->format($global->date_format) }}@endif
     
    @forelse($subtask->files as $key => $file)
  • {{ $file->filename }}
    {{ $file->created_at->diffForHumans() }}
    @if(is_null($file->external_link)) @endif
  • @empty @endforelse @endforeach