Profile
@if(Auth::user()->image) @else @endif
{{$traveller->name}}
{{Auth::user()->description}}
Joined since, {{date('Y',strtotime($traveller->created_at))}}
@if (session()->has('status'))
{{ session('status') }}
@endif
Trips ยท {{$traveller->tour_packages->count()}}
@foreach($traveller->tour_packages as $tourpackage)
@if($tourpackage->status == 'draft')
UNPUBLISHED
@elseif($tourpackage->status == 'rejected')
REJECTED
@elseif($tourpackage->status == 'pending')
APPROVAL PENDING
@endif
{{ substr($places, 0, 60) }}
Trips
{{$no_of_days}}
Destinations
{{$tourpackage->tour_package_places->count()}}
@php $tourpackage_images = str_replace(array( '[', ']','"' ), '', explode(',',$tourpackage->images)); @endphp @if(count($tourpackage_images) > 0 && $tourpackage_images[0] != '')
@else
@endif
@endforeach