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

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

@if($id!='')
@else @endif
@if($id=='') @endif @if(count($transaction) > 0) @foreach($transaction as $data) @if($id=='') @endif @if($data->image) @else @endif @endforeach @else @endif
{{ trans('lang.transaction_id')}}{{ trans('lang.driver')}}{{trans('lang.amount')}} {{trans('lang.date')}} {{trans('lang.payment_method')}} {{trans('lang.payment_status')}}
{{ $data->id }} {{ $data->firstname }} {{ $data->lastname }} @if($currency->symbol_at_right=="true") @if(substr($data->amount,0,1)=="-") (-{{number_format(floatval(substr($data->amount,1)),$currency->decimal_digit)."".$currency->symbole }}) @else {{number_format(floatval($data->amount),$currency->decimal_digit)."".$currency->symbole }} @endif @else @if(substr($data->amount,0,1)=="-") (-{{ $currency->symbole."".number_format(floatval(substr($data->amount,1)),$currency->decimal_digit) }}) @else {{ $currency->symbole."".number_format(floatval($data->amount),$currency->decimal_digit) }} @endif @endif {{ date('d F Y',strtotime($data->creer))}} {{ date('h:i A',strtotime($data->creer))}} image{{ $data->payment_method}} {{trans('lang.success')}}
{{trans("lang.no_result")}}
{{ $transaction->links('pagination.pagination') }}
@endsection @section('scripts') @endsection