@extends('layouts.front_app') @section('content')

Event Detail

@foreach ($event->image as $image) {{ $image->name }} @endforeach
@if(!empty($event->start_date)) {{ \Carbon\Carbon::parse($event->start_date)->format('l, M j') }} @endif

{{ !empty($event->event_name) ? $event->event_name : '' }}

  • @if(!empty($event->time)) Doors : {{ \Carbon\Carbon::parse($event->time)->format('g:i A') }} @endif
  • @if(!empty($event->time)) Show : {{ \Carbon\Carbon::parse($event->start_time)->format('g:i A') }} @endif
  • Location : {{ !empty($event->location) ? $event->location : '' }}
  • {{--
  • --}} {{-- {{ !empty($event->organizer_name) ? $event->organizer_name : '' }}--}} {{--
  • --}}
  • Ticket Price : {{ !empty($event->price) ? $event->price : '' }}

{{-- {!! !empty($product->detail) ? $product->detail : '' !!}--}}

Buy Ticket
{{-- @if(!empty( $event->map_location))--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- @endif--}}
@php use Illuminate\Support\Str; @endphp
@if($event->map_location && Str::startsWith($event->map_location, 'https://www.google.com/maps/embed')) @else

Map Not Avaiable

@endif
@if (session('success'))
{{ session('success') }}
@endif

{{ $comments->count() }} Comments

@foreach ($comments as $comment)

{{ $comment->user->name }}

{{$comment->title ? : ''}}

{{ $comment->created_at->format('l, M d') }}

Title : {{ $comment->title }}
Comment : {{ $comment->body }}

@if (Auth::check() && Auth::id() != $comment->user_id) @endif {{-- @if (Auth::check())--}} {{--
--}} {{-- Reply--}} {{-- --}} {{--
--}} {{-- --}} {{-- @else--}} {{--
--}} {{--
--}} {{-- @endif--}} {{--
--}} @if ($comment->replies) @foreach ($comment->replies as $reply)

{{ $reply->user->name }}

{{$reply->title ? : ''}}

{{ $reply->created_at->format('l, M d') }}

{{ $reply->body }}

@endforeach @endif @endforeach

Post your comment

@csrf
@if (Auth::check())
@else
@endif
@endsection @push('event_script') @endpush