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

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

    {{ $item->name }}

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

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

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

@endif
{{ __('basic.more') }}
{{ __('basic.attachments') }} {{ __('basic.tasks') }}
Dropdown Header:
{{ __('basic.new attachment') }}
@if (!$patient->attachments->isEmpty())
@foreach ($patient->attachments as $item) {{-- blade-formatter-disable-next-line --}} @break($loop->index === 3)

{{ $item->placed_at }}

{{ $item->name }}

{{ __('basic.download') }}
@endforeach
@else

{{ __('basic.new attachment') }}

@endif
{{ __('basic.more') }}
{{ __('basic.tasks') }}
@foreach ($patient->tasks as $item) @endforeach
{{ __('basic.stage') }} {{ __('basic.task') }} {{ __('basic.assign to') }} {{ __('basic.due date') }} {{ __('basic.priority') }} {{ __('basic.project') }} {{ __('basic.description') }} {{ __('basic.comments') }} {{ __('basic.creator') }}
{{ $item->stage->name }} {{ $item->name }} @if($item->assigns) @foreach ($item->assigns as $item_worker) {{ $item_worker->worker->full_name }}, @endforeach @endif {{ date('Y-m-d', strtotime($item->due_date)) }} @if($item->priority == 1) @php $msg = __('basic.low'); $color = "done-color"; @endphp @elseif ($item->priority == 2) @php $msg = __('basic.medium'); $color = "pend-color"; @endphp @elseif ($item->priority == 3) @php $msg = __('basic.high'); $color = "cancel-color "; @endphp @endif {{ $msg }} @isset($item->project) {{ $item->project->name }} @endisset {{ $item->description }} @if($item->comments) @foreach ($item->comments as $item_comment)

{{ $item_comment->worker->full_name }}:

{{ $item_comment->comment }}


@endforeach @endif
@isset($item->creator) {{ $item->creator->full_name }} @endisset
{{ method_field('POST') }} {{ csrf_field() }}
{{ __('basic.new attachment') }}
@error('attachments_name') {{ $message }} @enderror
Insert here all picture and every image must be less than 4MB.
@error('attachments_imgs') {{ $message }} @enderror
{{ __('basic.attachments') }}
@foreach ($patient->attachments as $item)

{{ $item->date }}

{{ $item->name }}

{{ __('basic.download') }}
@endforeach
{{ __('basic.delete') }}
{{ method_field('POST') }} {{ csrf_field() }}

ِAre you sure you want to delete this Op Img?