@extends('user.layout.base') @section('title', 'Upcoming Trips ') @section('content') @if(Session::has('flash_error'))
{{ Session::get('flash_error') }}
@endif @if(Session::has('flash_success'))
{{ Session::get('flash_success') }}
@endif

@lang('user.upcoming_trips')


@if($trips->count() > 0) @foreach($trips as $trip) @endforeach
  @lang('user.booking_id') @lang('user.schedule_date') @lang('user.type') @lang('user.payment') Status
@lang('user.from')

{{$trip->s_address}}

@lang('user.to')

{{$trip->d_address}}

Provider Details
@if($trip->provider_id !=0)
@endif
@if($trip->provider_id !=0)
{{$trip->provider_name}}
@endif @if($trip->provider_id !=0) {{ $trip->status }} @else Driver Not yet Assigned. @endif
{{ csrf_field() }}
@else

No trips Available

@endif
@endsection