@if($pendingProposals->count() > 0)
@foreach($pendingProposals as $proposal) @endforeach
Name Client Amount Status Open
{{ $proposal->title }}
@if($proposal->client) {{ $proposal->client->company_name }} @else No client @endif
€{{ number_format($proposal->effective_amount ?? 0, 2) }}
{{ $proposal->status_label ?? ucfirst($proposal->status) }}
Total
€{{ number_format($pendingProposals->sum('effective_amount') ?? $pendingProposals->sum('amount') ?? 0, 2) }}
@else

No pending proposals found

@if(auth()->user()->isSeniorLawyer()) No pending proposals in your departments for the selected date range. @else No pending proposals found for the selected date range. @endif

@endif