@extends('layouts.app') @section('page-pretitle', __('Management')) @section('page-title', __('Edit Meeting')) @section('content') @if ($errors->any())
@endif
{{--
--}} @csrf @method('PATCH')

{{ __('Meeting Name') }}

{{ __('Date') }}

{{ __('Time') }}

{{ __('Client') }}

{{ __('Address') }}

{{ __('Created By') }}

{{ __('Participants') }}

@foreach($users as $user) @endforeach

{{ __('Important Notes') }}

{{-- Images Section --}} @if ($meeting->documents->isNotEmpty())

Uploaded Images

@foreach ($meeting->documents as $doc) @php $ext = pathinfo($doc->path, PATHINFO_EXTENSION); @endphp @if (in_array(strtolower($ext), ['jpg', 'jpeg', 'png']))
{{ $doc->original_name }}
@endif @endforeach
@else

Uploaded Images

No images uploaded

@endif {{-- Files Section --}} @if ($meeting->documents->isNotEmpty())

Uploaded Files

    @php $fileNumber = 1; @endphp @foreach ($meeting->documents as $doc) @php $ext = pathinfo($doc->path, PATHINFO_EXTENSION); @endphp @if (!in_array(strtolower($ext), ['jpg', 'jpeg', 'png']))
  1. {{ $fileNumber++ }}.
    {{-- File Icons --}} @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 @endforeach
@else

Uploaded Files

No files uploaded

@endif {{-- File Upload Section --}}

Upload New Images or Documents

Allowed types: JPG, PNG, PDF, DOCX, TXT, XLS, XLSX, ZIP. You can select multiple files and upload them multiple times.
{{ __('Back') }}
@endsection