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

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

    {{ $item->status_msg }}

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

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

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

@endif
{{ __('basic.more') }}
{{ __('basic.appointments') }}
@foreach ($patient->appointments as $item) @endforeach
{{ __('basic.code') }} {{ __('basic.branch') }} {{ __('basic.responsible') }} {{ __('basic.start') }} {{ __('basic.end') }} {{ __('basic.status') }} {{ __('basic.created') }} {{ __('basic.updated') }}
{{ $item->code }} {{ $item->branch->name }} @if($item->responsible) {{ $item->responsible->full_name }} @endif {{ date('Y-m-d', strtotime($item->start_at)) }}
{{ date('h:i a', strtotime($item->start_at)) }}
{{ date('Y-m-d', strtotime($item->end_at)) }}
{{ date('h:i a', strtotime($item->end_at)) }}
{{ $item->status_msg }} -{{ date('Y-m-d', strtotime($item->created_at)) }}
@if($item->creator) -{{ $item->creator->name }} @endif
- {{ date('Y-m-d', strtotime($item->updated_at)) }}
@if($item->last_update_person) - {{ $item->last_update_person->name }} @endif