{{ __('basic.deals') }}
Appointment controller:
{{-- Add past Appointment --}}
@if (count($patient->deals) > 0)
    @foreach ($patient->deals as $item) {{-- blade-formatter-disable-next-line --}} @break($loop->index === 3)
  • {{ $item->stage->name }}

    {{ date('d M Y', strtotime($item->closing_at)) }}

    {{ $item->name }}

    {{ __('basic.worker') }}

    @if (isset($item->responsible)) {{ $item->responsible->first_name }} @else Not selected @endif
  • @endforeach
@else

{{ __('basic.nothing to show') }}

@endif
{{ __('basic.more') }}
{{ __('basic.deals') }}
@foreach ($patient->deals as $item) @endforeach
{{ __('basic.stage') }} {{ __('basic.deal') }} {{ __('basic.amount') }} {{ __('basic.resource') }} {{ __('basic.campaign') }} {{ __('basic.project') }} {{ __('basic.assign to') }} {{ __('basic.closing at') }} {{ __('basic.description') }} {{ __('basic.creator') }}
{{ $item->stage->name }} {{ $item->name }} {{ $item->amount }} @if($item->resource) {{ $item->resource->name }} @endif @if($item->campaign) {{ $item->campaign->name }} @endif @if($item->project) {{ $item->project->name }} @endif @if($item->responsible) {{ $item->responsible->full_name }} @endif {{ date('Y-m-d', strtotime($item->closing_at)) }} {{ $item->description }} @if($item->creator) {{ $item->creator->full_name }} @endif