@extends('layouts.app') @section('page-pretitle', __('Management')) @section('page-title', __('Meeting Details')) @section('content')

{{ __('Meeting Name') }}

{{ $meeting->name }}

{{ __('Date') }}

{{ \Carbon\Carbon::parse($meeting->date)->format('d M Y') }}

{{ __('Time') }}

{{ \Carbon\Carbon::parse($meeting->time)->format('h:i A') }}

{{ __('Client') }}

{{ $meeting->client }}

{{ __('Address') }}

{{ $meeting->address }}

{{ __('Created By') }}

{{ $meeting->creator->name ?? '-' }}

{{ __('Participants') }}

@forelse($meeting->users as $participant) {{ $participant->name }} @empty {{ __('No participants') }} @endforelse

{{ __('Important Notes') }}

{{ $meeting->minute }}

Uploaded Documents

@forelse ($meeting->documents as $doc) @if (Str::endsWith($doc->path, ['jpg', 'jpeg', 'png'])) @endif @empty

No images uploaded

@endforelse
    @php $fileNumber = 1; @endphp @forelse ($meeting->documents as $doc) @if (Str::endsWith($doc->path, ['pdf', 'docx', 'txt', 'xls', 'xlsx', 'zip']))
  1. {{ $fileNumber++ }}.
    @if (Str::endsWith($doc->path, 'pdf')) @elseif (Str::endsWith($doc->path, ['docx', 'doc'])) @elseif (Str::endsWith($doc->path, ['xls', 'xlsx'])) @elseif (Str::endsWith($doc->path, 'zip')) @else @endif

    {{ $doc->original_name }}

  2. @endif @empty

    No files uploaded

    @endforelse
@endsection