@extends('user.components.layout') @push('css') @endpush @section('main')

Packages for Top Family Destinations

@foreach($packages as $index => $package)
@php if (!function_exists('calculatePrices')) { function calculatePrices($price) { $discountPercentage = rand(50, 60); $originalPrice = $price / (1 - $discountPercentage / 100); return [ 'originalPrice' => round($originalPrice), 'discountedPrice' => $price, 'discountPercentage' => $discountPercentage, ]; } } $prices = calculatePrices($package['price']); @endphp
{{ $prices['discountPercentage'] }}% Off

{{ $package['title'] }}

{{ $package['night'] + 1 }} days & {{ $package['night'] }} nights Customizable
Starting from: {{ $prices['originalPrice'] }}/-

{{ $prices['discountedPrice'] }}/-

Per Person on twin sharing.

Hotels:
4 star
{{--
cities:
  • Maldives (5D)
  • Maldives (5D)
  • Maldives (5D)
  • Maldives (5D)
--}}
Activities
  • Scuba Diving
  • Adventure
  • Underwater World
  • Nature
  • City Tour
  • Hill station
  • Water Activities
  • Family
  • Budget

{{ $package['short_des'] }}

view details
@endforeach
@if(count($packages) > 0) @endif

Recommended Package

@foreach($recommends as $pkg) @endforeach
@endsection @push('js') @endpush