@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 Download PDF @if(auth()->user()?->hasPermission('crm.proposals.manage')) Edit @endif Back
@foreach($proposal->items as $item) @endforeach
DescriptionQtyUnit PriceTotal
{{ $item->description }} {{ rtrim(rtrim(number_format($item->qty, 2), '0'), '.') }} {{ money($item->unit_price) }} {{ money($item->total) }}
Subtotal{{ money($proposal->subtotal) }}
Discount-{{ money($proposal->discount) }}
Total{{ money($proposal->total) }}
@if($proposal->notes)

{{ $proposal->notes }}

@endif
{{ \Modules\CRM\Models\Proposal::STATUSES[$proposal->status] }}
@if(auth()->user()?->hasPermission('crm.proposals.manage'))
@csrf
@endif
Valid Until
{{ optional($proposal->valid_until)->format('Y-m-d') ?: '—' }}
Deal
{{ $proposal->deal?->title ?: '—' }}