@extends('backend.layouts.master') @section('title') Tours @endsection @section('main-content') @include('backend.layouts.notification')
Tour
@if(count($tours)>0) @foreach($tours as $tour) @php $author_info=DB::table('users')->select('name')->where('id',$tour->added_by)->get(); @endphp @endforeach
{{ __('sidebar.post_snumber') }} {{ __('sidebar.post_title') }} Location Number of Days Price Per Person Price Per Child Tour Category {{ __('sidebar.post_photo') }} {{ __('sidebar.post_status') }} {{ __('sidebar.post_action') }}
{{$tour->id}} {{$tour->title}} {{$tour->location}} {{$tour->number_of_days}} {{$tour->price}} {{$tour->price_per_child}} {{$tour->tags}} @if($tour->photo) {{ Storage::url($tour->photo) }} @else avatar.png @endif @if($tour->status=='active') {{$tour->status}} @else {{$tour->status}} @endif
@else
No tours found!!! Please add tour
@endif
@endsection