@if($opportunity->brands)
Brands
@foreach($opportunity->brands as $brand)
{{ $brand->name }}@if (!$loop->last), @endif
@endforeach
@endif
@if($opportunity->date_start || $opportunity->date_end)
Date
@if($opportunity->date_start)
{{ \Carbon\Carbon::parse($opportunity->date_start)->format('F j, Y') }}
@endif
@if($opportunity->date_start && $opportunity->date_end)
to
@endif
@if($opportunity->date_end)
{{ \Carbon\Carbon::parse($opportunity->date_end)->format('F j, Y') }}
@endif
@if($opportunity->date_notes)
{{ $opportunity->date_notes }}
@endif
@endif
{{-- BUYER COMPANY --}}
@if(count($opportunity->companyContacts) > 0)
Buyer
@foreach($opportunity->companyContacts as $companyContact)
@if($companyContact->company)
{{ $companyContact->company->name }}
@endif
@endforeach
@endif
{{-- BUDGET --}}
@if($opportunity->budget_min || $opportunity->budget_max || $opportunity->budget_notes)
Budget
@if($opportunity->budget_min)
${{ number_format($opportunity->budget_min) }}
@endif
@if($opportunity->budget_min && $opportunity->budget_max)
to
@endif
@if($opportunity->budget_max)
${{ number_format($opportunity->budget_max) }}
@endif
@if($opportunity->budget_notes)
{{ $opportunity->budget_notes }}
@endif
@endif
@if($opportunity->status)
Status
{{ $opportunity->status->name }}
@endif
@if($opportunity->due_date)
Due Date
{{ \Carbon\Carbon::parse($opportunity->due_date)->format('F j, Y') }}
@endif
@if($opportunity->description)
Description
{!! nl2br($opportunity->description) !!}
@endif