@trans('crm.Opportunity Details'): {{ $opportunity->opportunity_number }}

@trans('crm.Information')

{{ $opportunity->stage->name ?? '-' }}
@trans('crm.Opportunity Name')
{{ $opportunity->name }}
@trans('crm.Linked Lead')
@if($opportunity->lead) {{ $opportunity->lead->name }} @else - @endif
@trans('crm.Expected Revenue')
{{ number_format($opportunity->expected_revenue, 2) }}
@trans('crm.Probability')
{{ $opportunity->probability }}%
@trans('crm.Expected Closing Date')
{{ $opportunity->expected_closing_date?->format('Y-m-d') ?? '-' }}

@trans('crm.Activities')

@csrf
    @forelse($opportunity->activities as $activity)
  • {{ $activity->description }} {{ $activity->user->name }}

  • @empty

    @trans('crm.No activities yet.')

    @endforelse

@trans('crm.Assignment')

{{ $opportunity->assignee->name ?? TranslationHelper::transFromDatabase('crm.Unassigned', __('crm.Unassigned')) }}

@trans('crm.Next Follow-up')

@if($opportunity->next_follow_up_at) {{ $opportunity->next_follow_up_at->format('Y-m-d H:i') }} @if($opportunity->next_follow_up_at->isPast())

@trans('crm.Overdue')

@endif @else @trans('crm.Not scheduled') @endif