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

{{ $pipeline->name }}

@if($pipeline->is_default) Default @endif
@if($pipeline->description)

{{ $pipeline->description }}

@endif

Active Deals

{{ $analytics['total_deals'] }}

Total Value

${{ number_format($analytics['total_value'], 0) }}

Weighted Value

${{ number_format($analytics['weighted_value'], 0) }}

Win Rate

{{ $analytics['conversion_rate'] }}%

@foreach($pipeline->stages as $stage)

{{ $stage->name }}

{{ $stage->win_probability }}% probability
@foreach($stage->deals as $deal)

{{ $deal->title }}

View Details Edit
${{ number_format($deal->value, 0) }}
@if($deal->contact)
{{ $deal->contact->name }}
@endif
{{ substr($deal->user->name, 0, 1) }}
{{ $deal->user->name }}
{{ $deal->days_in_stage }}d in stage
@endforeach

No deals in this stage

@endforeach
@endsection