@extends('layouts.app') @section('css') @endsection @section('js') @endsection @push('pageTitle') {{ __('labels.further_education_event_request') }} @endpush @section('content') @include('components.common.page-header', [ 'pageTitle' => __('labels.further_education_event_request'), 'actionButton' => [ 'url' => route('further-education-event-requests.index'), 'text' => __('labels.back_to_list'), ], ]) @include('components.common.flush-message')

{{ $furtherEducationEventRequest->name ?? __('labels.no_name') }}

{{ __('labels.email') }}
{{ $furtherEducationEventRequest->email ?: '-' }}
{{ __('labels.contact_email') }}
{{ $furtherEducationEventRequest->contact_email ?: '-' }}
{{ __('labels.company') }}
{{ $furtherEducationEventRequest->company ?: '-' }}
{{ __('labels.phone') }}
{{ $furtherEducationEventRequest->phone ?: '-' }}
{{ __('labels.status') }}
@php $currentStatus = $furtherEducationEventRequest->status ?? 'pending'; $statusClasses = [ 'pending' => 'bg-warning-subtle text-warning border border-warning-subtle', 'in_progress' => 'bg-info-subtle text-info border border-info-subtle', 'completed' => 'bg-success-subtle text-success border border-success-subtle', 'closed' => 'bg-secondary-subtle text-secondary border border-secondary-subtle', ]; $statusClass = $statusClasses[$currentStatus] ?? 'bg-light text-dark border'; @endphp {{ __('labels.' . $currentStatus) }}
@can('update', $furtherEducationEventRequest)
{{ __('labels.status') }} {{ __('labels.update') }}
@endcan
@if ($furtherEducationEventRequest->message)
{{ __('labels.message') }}
{!! nl2br(e($furtherEducationEventRequest->message)) !!}
@endif
{{ __('labels.tracking_info') }}
{{ __('labels.ip_address') }}
{{ $furtherEducationEventRequest->ip_address ?: '-' }}
{{ __('labels.user_agent') }}
{{ $furtherEducationEventRequest->user_agent ?: '-' }}
@include('components.meta.stats', [ 'created_at' => $furtherEducationEventRequest->created_at ?? null, 'updated_at' => $furtherEducationEventRequest->updated_at ?? null, 'published_at' => null, 'is_published' => null, 'creater' => null, 'creator_avatar' => null, ]) @endsection