@php $badge = ['draft' => 'bg-gray-100 text-gray-600', 'sent' => 'bg-blue-100 text-blue-700', 'accepted' => 'bg-green-100 text-green-700', 'rejected' => 'bg-red-100 text-red-700']; @endphp @if(auth()->user()?->hasPermission('crm.proposals.manage')) + New Proposal @endif
@forelse($proposals as $p) @empty @endforelse
Number Contact Total Status Valid Until
{{ $p->number }} {{ $p->contact?->display_name ?: '—' }} {{ money($p->total) }} {{ \Modules\CRM\Models\Proposal::STATUSES[$p->status] }} {{ optional($p->valid_until)->format('Y-m-d') ?: '—' }} PDF
No proposals found.
{{ $proposals->links() }}