@foreach($venues as $venue)
@if(isset($venue)) @foreach ($venue->images as $image) @if($venue->images->first() == $image) # @endif @endforeach @endif
{{ $venue->name }} @if($venue && $venue->address && $venue->address->city) {{ $venue->address->city }} @endif @if(Auth::user()->venue) @if($user->email){{$user->email}} @else{!! old('email') !!} @endif @endif {{\Carbon\Carbon::parse( $venue->created_at)->format('d.m.Y H:i:s')}} @if($venue->id) @if(isset($getVenuesBookings[$venue->id])) {{count($getVenuesBookings[$venue->id])}} @else 0 @endif @endif @if($venue->approved == 1) Live @elseif($venue->approved == 0) Not Live @else @endif @endforeach