@php $tabMeta = [ 'working' => ['label' => __('In progress'), 'icon' => 'pencil-square'], 'review' => ['label' => __('Waiting for review'), 'icon' => 'shield-check'], 'submitted' => ['label' => __('Submitted'), 'icon' => 'paper-airplane'], 'closed' => ['label' => __('Answered'), 'icon' => 'archive-box'], 'all' => ['label' => __('All'), 'icon' => 'queue-list'], ]; $statusColors = \App\Livewire\Crm\Proposals\Show::STATUS_COLORS; $control = 'mt-1 block w-full rounded-xl border-slate-300 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500'; @endphp
{{ $m['label'] }}
{{ $m['value'] }}
{{ $m['sub'] }}{{ __('Each proposal is shown by its latest version; earlier versions are on the proposal') }}
| {{ __('Proposal') }} | {{ __('For') }} | {{ __('Written by') }} | {{ __('Quote') }} | {{ __('Status') }} | {{ __('Actions') }} |
|---|---|---|---|---|---|
|
{{ $proposal->title }}
{{ __('Version :v', ['v' => $proposal->version]) }}@if ($proposal->customer) · {{ $proposal->customer->name }} @endif |
@if ($proposal->opportunity) {{ __('Opportunity') }} {{ $proposal->opportunity->title }} @elseif ($proposal->partnership) {{ __('Partnership') }} {{ $proposal->partnership->name }} @else {{ __('The organisation') }} @endif | {{ $proposal->author?->name ?? __('Not available') }} @if ($proposal->status === 'in_review' && $proposal->reviewer) {{ __('With :name', ['name' => $proposal->reviewer->name]) }} @endif | {{ $proposal->quote?->quote_number ?? __('None linked') }} |
|
{{ __('PDF') }}
@if ($canCreate)
@endif
{{ __('Open') }}
|
|
@if (trim($search) !== '')
|
|||||
{{ __('Its text and document link are copied into a new version 1 for you to adapt. The original is not touched.') }}
{{ __('Say what the proposal is for. Choose an opportunity for a sale, a partnership for a partner, or only an organisation.') }}