@extends('frontend/layouts_frontend/master_frontend') @section('title') Tour Details - Relocate Uganda @endsection @section('extra_styles') @endsection {{-- CONTENT SECTION --}} @section('content')

Tour Details

We have the tours

@if (session('messagesave')) {{--
{{ session('message')}}
--}} @endif @if (session('messagenotours')) {{--
{{ session('message')}}
--}} @endif
@if ($tour->slots_available > 0)
TOUR AVAILABLE FOR BOOKING
@elseif($tour->slots_available <= 0)
You cannot book it. @else N/A @endif
@if (!empty($tour->tour_single_cost)) SINGLES : USD {{ $tour->tour_single_cost }} @else SINGLES PRICE : N/A @endif | @if (!empty($tour->tour_single_cost)) COUPLES : USD {{ $tour->tour_single_cost }} @else COUPLES PRICE : N/A @endif | @if (!empty($tour->slots_available >= 0)) SLOTS : {{ $tour->slots_available }} @elseif($tour->slots_available == 0) 0 @else N/A @endif

@if (!empty($tour->name)) {{ $tour->name }} @else N/A @endif

  • @if (!empty($tour->destination)) Destination : {{ $tour->destination }} @else destination : N/A @endif
  • @if (!empty($tour->created_at)) Added on : {{ $tour->created_at }} @else Added on : N/A @endif
  • @if (!empty($tour->tour_category->name)) Category : {{ $tour->tour_category->name }} @else Category : N/A @endif
{{-- left side bar --}}
{{-- featured photo --}} preview
{{-- end featured photo --}}

About This tour

@if (!empty($tour->description)) {{ $tour->description }} @else N/A @endif

{{-- photo library upload --}}
Tour Photos Collection
{{-- pick multiple images from array --}} @if (!empty($tour->photo_library)) @foreach (is_null($tour->photo_library) ? [] : explode(',', $tour->photo_library) as $image) {{-- START COL --}} {{-- END COL --}} @endforeach @else
No Photos Available
@endif {{-- end pick multiple images from array --}}
{{-- end of photo library upload --}} {{-- overview --}}

Overview of the Tour

{{-- ITENARY --}}

Itenary of the tour

@php $tour_itenaries_data = !empty($tour->tour_itenaries) ? json_decode($tour->tour_itenaries, true) : []; $tour_itenaries_data_grouped_by_day = collect($tour_itenaries_data)->groupBy( 'itenary_day_number', ); @endphp @foreach ($tour_itenaries_data_grouped_by_day as $dayNumber => $dayItenaries)
{{-- @foreach ($grouped_iteneraries_by_day as $dayNumber => $iteneraries) --}}
    @foreach ($dayItenaries as $itenary)
  • Time : {{ $itenary['itenary_time'] }} | Description :{{ $itenary['itenary_description'] }}
  • @endforeach
{{-- @endforeach --}}
@endforeach
{{-- END OF ITENARY --}} {{-- activities --}} @php $tour_activities_data = json_decode($tour->tour_activities); @endphp

Tour Includes

@forelse ($tour_activities_data ?? [] as $key => $tour_activity)
  • {{ $tour_activity }}
@empty No tour activities @endforelse

{{-- tour includes --}} @php $tour_includes_data = json_decode($tour->tour_includes); @endphp

Tour Includes

@forelse ($tour_includes_data ?? [] as $key => $tour_include)
  • {{ $tour_include }}
@empty No tour includes @endforelse

{{-- tour excludes --}} @php $tour_excludes_data = json_decode($tour->tour_excludes); @endphp

Tour Excludes

@forelse ($tour_excludes_data ?? [] as $key => $tour_exclude)
  • {{ $tour_exclude }}
@empty No tour Excludes @endforelse

{{-- proximity --}} {{-- google map --}} {{--

Map Location

--}} {{-- end of google map --}} {{-- video url --}} {{--

Video showing the property

@if (!empty($tour->property_video_url))
@else No Video Added @endif
--}} {{-- end of video --}}
{{-- end left side bar --}} {{-- side bar right --}}
{{-- end side bar right --}}
@endsection