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

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

    {{ $item->name }}

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

    @if($item->lawyer) {{ $item->lawyer->full_name }} @endif
  • @endforeach
@else

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

@endif
{{ __('basic.more') }}
{{ __('basic.law cases') }}
@foreach ($patient->cases as $item) @endforeach
{{ __('basic.serial') }} {{ __('basic.code') }} {{ __('basic.record number') }} {{ __('basic.subtitle') }} {{ __('basic.client') }} {{ __('basic.opponent name') }} {{ __('basic.court') }} {{ __('basic.lawyer') }} {{ __('basic.status') }} {{ __('basic.law hearings') }}
{{ $item->new_id }} {{ $item->code }} {{ $item->record_number }} {{ $item->name }} @if($item->client) {{ $item->client->full_name }} @endif {{ $item->opponent_name }} @if($item->court) {{ $item->court->name }} @if($item->court_department) | {{ $item->court_department->name }} @endif @endif @if($item->lawyer) {{ $item->lawyer->full_name }} @else {{ __('basic.not selected') }} @endif {{ $item->status_msg }} @if($item->hearings) @foreach ($item->hearings as $item_hearing)
{{ __('basic.number') }}: {{ $item_hearing->number }}
{{ __('basic.name') }}: {{ $item_hearing->name }}
{{ __('basic.description') }}: {{ $item_hearing->description }}
{{ __('basic.date') }}: @if($item_hearing->placed_at) {{ date('Y-m-d', strtotime($item_hearing->placed_at)) }} @endif

@endforeach @endif
{{ __('basic.shipments') }}
@foreach ($patient->shipments as $item) @endforeach
{{ __('basic.shipment number') }} {{ __('basic.branch') }} {{ __('basic.worker') }} {{ __('basic.delivery') }} {{ __('basic.status') }} {{ __('basic.final price') }} {{ __('basic.created') }} {{ __('basic.last update') }}
{{ $item->code }} @if($item->branch) {{ $item->branch->name }} @else {{ __('basic.not selected') }} @endif @isset($item->creator) {{ $item->creator->first_name }} @endisset @isset($item->delivery) {{ $item->delivery->full_name }} @endisset {{ $item->msg }} {{ $item->final_price }} {{ date('Y-m-d', strtotime($item->created_at)) }}
{{ date('h:i a', strtotime($item->created_at)) }}
{{ date('Y-m-d', strtotime($item->updated_at)) }}
{{ date('h:i a', strtotime($item->updated_at)) }}