@extends('user.layout.base') @section('title', 'My Trips ') @section('content')
@lang('user.booking_id') | @lang('user.date') | @lang('user.profile.name') | @lang('user.amount') | @lang('user.type') | @lang('user.payment') | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $trip->booking_id }} | {{date('d-m-Y',strtotime($trip->assigned_at))}} | @if($trip->provider){{$trip->provider->first_name}} {{$trip->provider->last_name}} | @else- | @endif @if($trip->payment){{currency($trip->payment->total)}} | @else- | @endif @if($trip->service_type){{$trip->service_type->name}} | @else- | @endif@lang('user.paid_via') {{$trip->payment_mode}} | |||
|