@extends('hotel.layout.base') @section('title', 'My Trips ') @section('content')
| @lang('user.booking_id') | @lang('user.date') | Customer Name | Driver Name | @lang('user.amount') | @lang('user.type') | @lang('user.payment') | Status | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $trip->booking_id }} | {{date('d-m-Y',strtotime($trip->created_at))}} | {{ $trip->user_name }} | @if($trip->provider_name !=null){{$trip->provider_name}} | @else- | @endif @if($trip->status =='COMPLETED'){{ $trip->total }} | @else- | @endif{{$trip->service_name}} | {{$trip->payment_mode}} | @if($trip->status =='COMPLETED') {{ $trip->status }} @else {{ $trip->status }} @endif | ||
@lang('user.from'){{date('H:i A - d-m-y', strtotime($trip->started_at))}}{{$trip->s_address}} @lang('user.to'){{date('H:i A - d-m-y', strtotime($trip->finished_at))}}{{$trip->d_address}} @lang('user.payment'){{$trip->payment_mode}}@lang('user.amount')@if($trip->status =='COMPLETED') {{ $trip->total }} @else - @endifDriver Name@if($trip->provider_name !=null) {{$trip->provider_name}} @else - @endifRating{{$trip->rating->user_comment}} |
|||||||||||
No trips Available
@endif