@extends('layouts.app') @section('title', $deal->title) @section('page-title', $deal->title) @section('content')

{{ $deal->title }}

{{ $deal->stage->name }}

{{ $deal->pipeline->name }}

Edit

Deal Information

Value

${{ number_format($deal->value, 2) }} {{ $deal->currency }}

Probability

{{ $deal->probability }}%

Expected Close Date

{{ $deal->expected_close_date ? $deal->expected_close_date->format('M d, Y') : 'Not set' }}

Days in Stage

{{ $deal->days_in_stage }} days

Contact

{{ $deal->contact->name ?? 'No contact' }}

Owner

{{ $deal->user->name }}

@if($deal->notes)

Notes

{{ $deal->notes }}

@endif

Activity Timeline

@forelse($deal->activities as $activity)
{{ $activity->user->name }} {{ $activity->created_at->diffForHumans() }}

{{ $activity->description }}

@empty

No activities yet

@endforelse

Quick Actions

@if($deal->contact) Send Email Call Contact @endif Edit Deal

Statistics

Weighted Value

${{ number_format($deal->weighted_value, 2) }}

Created

{{ $deal->created_at->format('M d, Y') }}

Last Updated

{{ $deal->updated_at->diffForHumans() }}

@endsection