@extends('company.layouts.app') @section('title', 'Pipeline') @section('content')
@if (session('success')) @endif @if (session('error')) @endif
@if (session('success')) @endif @if (session('error')) @endif
Deal Details

Deal: {{ $deal->deal_name }}

Type: {{ $deal->type }}

Stage: {{ $deal->stage }}

Open Date: {{ \Carbon\Carbon::parse($deal->open_date)->format('m-d-Y') }}

Close Date: {{ \Carbon\Carbon::parse($deal->close_date)->format('m-d-Y') }}

Buyer Representative

Name: {{ $deal->agent_buyer_rep->full_name ?? 'Not assigned' }}

Email: {{ $deal->agent_buyer_rep->email ?? 'Not available' }}

Phone: {{ $deal->agent_buyer_rep->phone ?? 'Not available' }}

Agent About: {!! $deal->agent_buyer_rep->about ?? 'No information available' !!}

Seller Representative

Name: {{ $deal->contact_seller_rep->full_name ?? 'Not assigned' }}

Email: {{ $deal->contact_seller_rep->email ?? 'Not available' }}

Phone: {{ $deal->contact_seller_rep->phone ?? 'Not available' }}

Notes: {{ $deal->contact_seller_rep->inquiry ?? 'No notes available' }}

Listing Information

Title: {{ $deal->listing->title ?? 'Not available' }}

Price: ${{ number_format($deal->listing->price ?? 0, 2) }}

Property Type: {{ $deal->listing->types ?? 'Not available' }}

Address: {{ $deal->listing->address ?? 'Not available' }}, {{ $deal->listing->city ?? 'Not available' }}

Agent Name: {{ $deal->listing->listing_rep ?? 'Not available' }}

Additional Details

Next Step: {{ $deal->next_step ?? 'Not defined' }}

Referral Fee: ${{ number_format($deal->referalfee ?? 0, 2) }}

Advertising Fee: ${{ number_format($deal->advertisingfee ?? 0, 2) }}

Co-listing Agents: {{ $deal->colisting_rep1 ?? 'None' }} and {{ $deal->colisting_rep2 ?? 'None' }}

@endsection