@foreach($tour_packages_places as $key => $tour_packages_place)
@php
$destination_id = $tour_packages_place->id;
$destination_name = $tour_packages_place->destination_name;
$show_active ='';
@endphp
@foreach($tour_packages_place->tour_package_todos as $tour_package_todo)
@php
$images = explode(',', $tour_package_todo->image);
@endphp
{{$tour_package_todo->title}}
{{--
{{$tour_package_todo->category}}, {{$tour_package_todo->sub_category}}
--}}
{{ substr($tour_package_todo->todos_description, 0, 100) }}
@if( strlen($tour_package_todo->todos_description) > 100)
More
{{ substr($tour_package_todo->todos_description, 100, 10000000000) }}
Less
@else
{{$tour_package_todo->todos_descriptionn}}
@endif
Edit
@endforeach
@foreach($tour_packages_place->tour_package_hotels as $tour_package_hotel)
{{$tour_package_hotel->addHotel}}
{{$tour_package_hotel->hotel_name}}
{{ substr($tour_package_hotel->hotel_description, 0, 100) }}
@if( strlen($tour_package_hotel->hotel_description) > 100)
More
{{ substr($tour_package_hotel->hotel_description, 100, 10000000000) }}
Less
@else
{{$tour_package_hotel->hotel_description}}
@endif
@endforeach
@foreach($tour_packages_place->tour_package_foods as $tour_package_food)
@php
$images = explode(',', $tour_package_food->image);
@endphp
{{$tour_package_food->name}}
{{$tour_package_food->category->name ?? ''}}
{{ substr($tour_package_food->food_description, 0, 100) }}
@if( strlen($tour_package_food->food_description) > 100)
More
{{ substr($tour_package_food->food_description, 100, 10000000000) }}
Less
@else
{{$tour_package_food->food_description}}
@endif
Edit
@endforeach
@foreach($tour_packages_place->tour_package_shops as $tour_package_shop)
@php
$images = explode(',', $tour_package_shop->image);
@endphp
{{$tour_package_shop->shop_name}}
{{$tour_package_shop->address}}
{{--
{{$tour_package_shop->address}}, {{$tour_package_shop->landmark}}, {{$tour_package_shop->pincode}}
--}}
{{ substr($tour_package_shop->shop_description, 0, 100) }}
@if( strlen($tour_package_shop->shop_description) > 100)
More
{{ substr($tour_package_shop->shop_description, 100, 10000000000) }}
Less
@else
{{$tour_package_shop->shop_description}}
@endif
Edit
@endforeach
@endforeach