@extends('layouts.app', ['title' => 'Proposals']) @section('content') @php($cur = $currentAccount->currency) @php($canManage = auth()->user()->can('contacts.manage'))

Proposal builder

Build, send and track sales proposals with your own branding.

@if ($canManage) @endif
@foreach ([ ['built', 'Built', 'Drafts in the builder', ''], ['published', 'Published', 'Link is live', ''], ['sent', 'Sent', 'Out with the client', ''], ['viewed', 'Viewed', 'Opened by the client', ''], ['approved', 'Approved', 'Signed', 'text-success'], ['declined', 'Declined', '', 'text-danger'], ['converted', 'Converted', 'Became revenue', ''], ] as [$key, $label, $hint, $class])
{{ $label }}
{{ number_format($counts[$key] ?? 0) }}
{{ $hint }}
@endforeach
PIPELINE VALUE
{{ money_format_short($pipelineValue, $cur) }}
Excludes declined and void
WON VALUE
{{ money_format_short($wonValue, $cur) }}
Approved proposals
WIN RATE
{{ $winRate }}%
Approved ÷ proposals that reached the client
@if ($esign) E-signature is on: clients can sign and approve online. @else E-signature is off: viewed, approved and declined stay at zero, and proposals move between Built and Sent only. @endif @can('settings.manage')
@csrf
@endcan
All @foreach (['built', 'published', 'sent', 'viewed', 'approved', 'declined'] as $s) {{ \App\Models\Proposal::STATUSES[$s] }} @endforeach
@if ($proposals->isEmpty())
Nothing matches these filters. @if ($canManage)
@endif
@else
@foreach ($proposals as $p) @endforeach
ProposalClientStatusTotalViewsUpdated
{{ $p->title }}
{{ $p->number }}@if ($p->category) · {{ $p->category }}@endif
{{ $p->contact?->full_name ?? '—' }} {{ \App\Models\Proposal::STATUSES[$p->status] }} {{ money_format_short($p->total, $p->currency) }} {{ $p->view_count }} {{ $p->updated_at->diffForHumans() }}
{{ $proposals->links() }}
@endif
@if ($canManage) @endif @endsection