Recently Created Deals

@if (count($deals) == 0) @else @foreach ($deals as $deal) @endforeach @endif
Name Amount Close Date Owners Stage Status
No Deals Found
{{ $deal->name }} ${{ number_format($deal->amount, 2) }} {{ $deal->close_date }} @if ($deal->owners->count() > 0)
    @foreach ($deal->owners as $owner) @php $owner_user = $owner->user; @endphp
  • {{ $owner_user->given_names }} {{ $owner_user->surname }}
  • @endforeach
@else No Owner @endif
{{ $deal->pipelineStage->name }} {{ config('env.deal_status')[$deal->close_status] }}
@if ($deals->count() > 5) @endif

Deals by Stage

Won Deals by Stage

Total Amount by Status

Open
${{ number_format($total_amount['open'], 2) }}
Lost
${{ number_format($total_amount['lost'], 2) }}
Won
${{ number_format($total_amount['won'], 2) }}

Total Count by Status

Open
{{ number_format($total_count['open']) }}
Lost
{{ number_format($total_count['lost']) }}
Won
{{ number_format($total_count['won']) }}
@script @endscript