@extends('front.layout.master') @section('main_content') @php $setting = App\Models\Setting::where('id',1)->first(); @endphp

{{ $destination->name }}

Description

{!! $destination->description !!}
@if($packages->count()>0)

Packages

@foreach($packages as $item)
${{ $item->price }} @if($item->old_price != '')${{ $item->old_price }}@endif

{{ $item->name }}

@if($item->total_score || $item->total_rating)
@php $rating = $item->total_score/$item->total_rating; @endphp @for($i=1; $i<=5; $i++) @if($i <= $rating) @elseif($i-0.5 <= $rating) @else @endif @endfor ({{ $item->reviews->count() }} Reviews)
@else
@for($i=1; $i<=5; $i++) @endfor ({{ $item->reviews->count() }} Reviews)
@endif
{{ $item->destination->name }}
{{ $item->package_amenities->count() }} Amenities
{{ $item->tours->count() }} Tours
{{ $item->package_itineraries->count() }} Days
@endforeach
@endif @if($destination->country != '' || $destination->language != '' || $destination->currency != '' || $destination->area != '' || $destination->timezone != '' || $destination->visa_requirement != '' || $destination->activity != '' || $destination->best_time != '' || $destination->health_safety != '')

Information

@if($destination->country != '') @endif @if($destination->language != '') @endif @if($destination->currency != '') @endif @if($destination->area != '') @endif @if($destination->timezone != '') @endif @if($destination->visa_requirement != '') @endif @if($destination->activity != '') @endif @if($destination->best_time != '') @endif @if($destination->health_safety != '') @endif
Country {{ $destination->country }}
Languages Spoken {{ $destination->language }}
Currency Used {{ $destination->currency }}
Area {{ $destination->area }}
Time Zone {{ $destination->timezone }}
Visa Requirements {!! $destination->visa_requirement !!}
Activities {!! $destination->activity !!}
Best Time to Visit {!! $destination->best_time !!}
Health and Safety {!! $destination->health_safety !!}
@endif @if($destination_photos->count() > 0)

Photos

@foreach($destination_photos as $photo) @endforeach
@endif @if($destination_videos->count() > 0)

Videos

@foreach($destination_videos as $video) @endforeach
@endif @if($destination->map != '')

Map

{!! $destination->map !!}
@endif
@endsection