Trip edit

@if ($error = Session::get('error'))

{{ $error }}

@endif @if ($message = Session::get('message'))

{{ $message }}

@endif {{--
--}}
@foreach($tourpackage_destinations as $key => $tour_packages_place) @php $destination_id = $tour_packages_place->id; $destination_name = $tour_packages_place->destination_name; if($key == 0) $show_active ='show active'; else $show_active =''; @endphp
{{-- Collapse Todos --}}
@foreach($tour_packages_place->tour_package_todos as $tour_package_todos) @php $images = explode(',',$tour_package_todos->image); @endphp
{{$tour_package_todos->title}}
{{-- {{$tour_package_todos->subCategory->name ?? ''}}, --}} {{$tour_package_todos->category->name ?? ''}}
{{$tour_package_todos->todos_description}}
@endforeach
{{-- Collapse Hotels --}}
@foreach($tour_packages_place->tour_package_hotels as $key=>$tour_package_hotel) @php $images = explode(',',$tour_package_hotel->image); $margin_class = ''; if(($key+1)%2 ==0) { //$margin_class = 'margin-left:10px;'; } @endphp
{{$tour_package_hotel->hotel_name}}
{{$tour_package_hotel->address}}
{{$tour_package_hotel->hotel_description}}
@endforeach
{{-- Collapse Food --}}
@foreach($tour_packages_place->tour_package_foods as $tour_package_food) @php $images = explode(',',$tour_package_food->image); $margin_class = ''; if(($key+1)%2 ==0) { //$margin_class = 'margin-left:10px;'; } @endphp
{{$tour_package_food->name}}
{{-- {{$tour_package_food->subCategory->name ?? ''}}, --}} {{$tour_package_food->category->name ?? ''}}
{{$tour_package_food->food_description}}
@endforeach
{{-- Collapse Shop --}}
@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->shop_description}}
@endforeach
@endforeach
{{-- --}}
@push('scripts') @endpush()