@extends('layouts.app') @section('content')

{{trans('lang.user_details')}}

Details of {{$user->first_name}} {{$user->last_name}}

{{ $user->phone}}
{{ $user->email}}
@if($user->status=="yes") Enabled @else Disabled @endif
{{ date('d F Y',strtotime($user->created_at))}} {{ date('h:i A',strtotime($user->created_at))}}
@if($user->updated_at!='0000-00-00 00:00:00') {{ date('d F Y',strtotime($user->updated_at))}} {{ date('h:i A',strtotime($user->updated_at))}} @endif
{{--
{{$currency->symbole." ".number_format($user->amount,$currency->decimal_digit)}}
--}}
@if ($user->status=="no") {{trans('lang.enable_account')}} @else Disable account @endif
@if(count($rides) > 0)
@foreach($rides as $ride) @endforeach
{{trans('lang.ride_id')}} {{trans('lang.pickup_location')}} {{trans('lang.dropup_location')}} {{trans('lang.status')}} {{trans('lang.created')}} {{trans('lang.actions')}}
{{ $ride->id}} {{ $ride->depart_name}} {{ $ride->destination_name}} @if($ride->statut=='new') {{ trans('lang.new')}} @elseif($ride->statut=='on ride') {{ trans('lang.on_ride')}} @elseif($ride->statut=='confirmed') {{ trans('lang.confirmed')}} @elseif($ride->statut=='canceled') {{ trans('lang.canceled')}} @elseif($ride->statut=='completed') {{ trans('lang.completed')}} @elseif($ride->statut=='rejected') {{ trans('lang.rejected')}} @elseif($ride->statut=='driver_rejected') {{ trans('lang.driver_rejected')}} @endif {{ date('d F Y',strtotime($ride->creer))}} {{ date('h:i A',strtotime($ride->creer))}}
{{ $rides->links('pagination.pagination') }}
@else

No results found.

@endif
@if(count($transactions) > 0)
@foreach($transactions as $transaction) @endforeach
{{trans('lang.transaction_id')}} {{trans('lang.amount')}} {{trans('lang.date')}} {{trans('lang.payment_method')}} {{trans('lang.status')}}
{{ $transaction->id}} {{ $currency->symbole." ".number_format($transaction->amount,$currency->decimal_digit)}} {{ date('d F Y h:i A',strtotime($transaction->creer))}} {{ $transaction->payment_method}} @if($transaction->deduction_type == 1) Credit @else Debit @endif
@else

No results found.

@endif
@endsection