@extends('layouts.main') @use('Carbon\Carbon') @section('content')
{{ $title }}
@if($event->banner) @endif
{{ __('validation.attributes.code') }} {{ $event->code ?? '-' }} {{ __('validation.attributes.title') }} {{ $event->title ?? '-' }}
{{ __('validation.attributes.slug') }} {{ $event->slug ?? '-' }} {{ __('general.category') }} {{ $event->category->name ?? '-' }}
{{ __('validation.attributes.is_active') }} @if($event->is_active) {{ __('general.active') }} @else {{ __('general.inactive') }} @endif Map @if($event->latitude && $event->longitude) {{ $event->latitude }}, {{ $event->longitude }} @else - @endif
{{ __('validation.attributes.date') }} {{ $event->date?->format('Y-m-d') ?? '-' }} {{ __('validation.attributes.start_time') }} {{ $event->start_time ? Carbon::parse($event->start_time)->format('Y-m-d H:i') : '-' }}
{{ __('validation.attributes.end_time') }} {{ $event->end_time ? Carbon::parse($event->end_time)->format('Y-m-d H:i') : '-' }} {{ __('validation.attributes.capacity') }} {{ $event->capacity ? number_format($event->capacity) : '-' }}
{{ __('validation.attributes.location') }} {{ $event->location ?? '-' }} {{ __('validation.attributes.address') }} {{ $event->address ?? '-' }}
{{ __('validation.attributes.city') }} {{ $event->city ?? '-' }} {{ __('validation.attributes.province') }} {{ $event->province ?? '-' }}
{{ __('validation.attributes.country') }} {{ $event->country ?? '-' }} {{ __('validation.attributes.organizer') }} {{ $event->organizer ?? '-' }}
{{ __('validation.attributes.contact_phone') }} {{ $event->contact_phone ?? '-' }} {{ __('validation.attributes.contact_email') }} {{ $event->contact_email ?? '-' }}
{{ __('validation.attributes.website') }} @if($event->website) {{ $event->website }} @else - @endif {{ __('validation.attributes.video') }} @if($event->video) {{ $event->video }} @else - @endif
{{ __('validation.attributes.description') }} {{ $event->description ?? '-' }}
{{ __('validation.attributes.banner') }} Banner
@if($event->agendas->isNotEmpty())
{{ __('Agendas') }}
@foreach($event->agendas->sortBy('sequence') as $agenda) @endforeach
{{ __('validation.attributes.title') }} {{ __('validation.attributes.description') }} {{ __('validation.attributes.start_time') }} {{ __('validation.attributes.end_time') }} {{ __('Location') }} {{ __('Speaker') }} {{ __('Order') }}
{{ $agenda->title ?? '-' }} {{ $agenda->description ?? '-' }} {{ $agenda->start_time ?? '-' }} {{ $agenda->end_time ?? '-' }} {{ $agenda->location ?? '-' }} {{ $agenda->speaker->name ?? '-' }} {{ $agenda->sequence ?? 0 }}
@endif @if($event->speakers->isNotEmpty())
{{ __('Speakers') }}
@foreach($event->speakers->sortBy('sequence') as $speaker)
@if($speaker->image) @endif
{{ $speaker->name ?? '-' }}

{{ __('Role') }}: {{ $speaker->role ?? '-' }}

{{ __('Organization') }}: {{ $speaker->organization ?? '-' }}

{{ __('Category') }}: {{ $speaker->category ?? '-' }}

@if($speaker->biography)

{{ __('Biography') }}: {{ $speaker->biography }}

@endif
@if($speaker->linkedin) LinkedIn @endif @if($speaker->twitter) Twitter @endif @if($speaker->website) Website @endif
@endforeach
@endif @if($event->sponsors->isNotEmpty())
{{ __('Sponsors') }}
@foreach($event->sponsors->sortBy('sequence') as $sponsor) @endforeach
{{ __('Company') }} {{ __('Brand') }} {{ __('Industry') }} {{ __('Level') }} {{ __('Logo') }} {{ __('Status') }} {{ __('Sequence') }}
{{ $sponsor->company_name ?? '-' }} {{ $sponsor->brand_name ?? '-' }} {{ $sponsor->industry ?? '-' }} @php $levels = [ 'government_support' => 'Government Support', 'host' => 'Host', 'strategic_partner' => 'Strategic Partner', 'platinum' => 'Platinum', 'gold' => 'Gold', 'silver' => 'Silver', 'exhibitor' => 'Exhibitor', 'badge' => 'Badge', 'media_support' => 'Media Support', 'supporting_partner' => 'Supporting Partner', ]; @endphp {{ $levels[$sponsor->level] ?? $sponsor->level }} @if($sponsor->logo) {{ $sponsor->company_name }} @else - @endif @php $statuses = [ 'pending' => ['class' => 'badge-warning', 'text' => 'Pending'], 'approved' => ['class' => 'badge-success', 'text' => 'Approved'], 'rejected' => ['class' => 'badge-danger', 'text' => 'Rejected'], ]; $status = $statuses[$sponsor->status ?? 'pending'] ?? $statuses['pending']; @endphp {{ $status['text'] }} {{ $sponsor->sequence ?? 0 }}
@foreach($event->sponsors->sortBy('sequence') as $sponsor)
{{ $sponsor->company_name ?? '-' }}

{{ __('Brand') }}: {{ $sponsor->brand_name ?? '-' }}

{{ __('Industry') }}: {{ $sponsor->industry ?? '-' }}

{{ __('Website') }}: @if($sponsor->website) {{ $sponsor->website }} @else - @endif

{{ __('Email') }}: {{ $sponsor->email ?? '-' }}

{{ __('Phone') }}: {{ $sponsor->phone ?? '-' }}

{{ __('Address') }}: {{ $sponsor->address ?? '-' }}

{{ __('City') }}: {{ $sponsor->city ?? '-' }}

{{ __('Country') }}: {{ $sponsor->country ?? '-' }}

{{ __('Contact Person') }}: {{ $sponsor->contact_person ?? '-' }}

{{ __('Contact Position') }}: {{ $sponsor->contact_position ?? '-' }}

{{ __('Contact Email') }}: {{ $sponsor->contact_email ?? '-' }}

{{ __('Contact Phone') }}: {{ $sponsor->contact_phone ?? '-' }}

@if($sponsor->notes)

{{ __('Notes') }}: {{ $sponsor->notes }}

@endif @if($sponsor->proposal_file)

{{ __('Proposal File') }}: Download

@endif
@endforeach
@endif @if($event->tickets->isNotEmpty())
{{ __('Tickets') }}
@foreach($event->tickets as $ticket) @endforeach
{{ __('validation.attributes.name') }} {{ __('validation.attributes.description') }} {{ __('validation.attributes.price') }} {{ __('Early Bird Price') }} {{ __('Early Bird Deadline') }} {{ __('validation.attributes.capacity') }} {{ __('Available From') }} {{ __('Available Until') }} {{ __('Active') }}
{{ $ticket->name ?? '-' }} {{ $ticket->description ?? '-' }} {{ $ticket->price ? number_format($ticket->price, 0, ',', '.') : '-' }} {{ $ticket->early_bird_price ? number_format($ticket->early_bird_price, 0, ',', '.') : '-' }} {{ $ticket->early_bird_deadline ?? '-' }} {{ $ticket->capacity ? number_format($ticket->capacity) : '-' }} {{ $ticket->available_from ?? '-' }} {{ $ticket->available_until ?? '-' }} @if($ticket->is_active) {{ __('general.active') }} @else {{ __('general.inactive') }} @endif
@endif @if($event->sponsorshipPackages->isNotEmpty())
{{ __('Sponsorship Packages') }}
@foreach($event->sponsorshipPackages as $package) @endforeach
{{ __('validation.attributes.name') }} {{ __('validation.attributes.slug') }} {{ __('validation.attributes.price') }} {{ __('Currency') }} {{ __('Max Slots') }} {{ __('Benefits') }} {{ __('Available') }}
{{ $package->name ?? '-' }} {{ $package->slug ?? '-' }} {{ $package->price ? number_format($package->price, 0, ',', '.') : '-' }} {{ $package->currency ?? '-' }} {{ $package->max_slots ? number_format($package->max_slots) : '-' }} {{ $package->benefits ?? '-' }} @if($package->is_available) {{ __('general.active') }} @else {{ __('general.inactive') }} @endif
@endif @if ($event->documentations->isNotEmpty())
{{ __('Event Documentations') }}
@foreach($event->documentations as $documentation)
Documentation @if($documentation->description)
{{ $documentation->description }}
@endif
@endforeach
@endif
@endsection @push('scripts') @endpush