@php $paginationPath = $paginationPath ?? 'projetos'; @endphp @if ($projects->isEmpty())
folder_open

Nenhum projeto encontrado.

@else @foreach ($projects as $p) @php $tot = (int) $p->tasks_total; $dn = (int) $p->tasks_done; $pct = $tot > 0 ? round(($dn / $tot) * 100) : 0; @endphp @endforeach
ProjetoClienteProgressoPrazoPrioridadeSituação
{{ $p->name }} {{ $p->client->name ?? '—' }} {{ $dn }}/{{ $tot }} {{ datetime_br($p->due_date, 'd/m/Y') }} {{ label($p->priority) }} {{ label($p->status) }}
@include('partials.table-pagination') @endif