@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Deposit log list')}}
@forelse($paymentLogs as $paymentLog) @empty @endforelse
{{translate( "Time" )}} {{translate('TRX Number')}} {{translate('User/Seller')}} {{translate('Method')}} {{translate('Amount')}} {{translate('Final Amount')}} {{translate('Status')}} {{translate('Action')}}
{{diff_for_humans($paymentLog->created_at)}}
{{get_date_time($paymentLog->created_at)}}
{{$paymentLog->trx_number}} @if($paymentLog->user) {{(@$paymentLog->user->name)}}
{{(@$paymentLog->user->email)}} @elseif($paymentLog->seller) {{(@$paymentLog->seller->username)}}
{{(@$paymentLog->seller->name)}} @else {{ translate('Guest User') }} @endif
{{(@$paymentLog->paymentGateway->name ?? 'N/A')}} {{round(($paymentLog->amount))}} {{default_currency()->name}} {{round(($paymentLog->final_amount))}} {{@$paymentLog->paymentGateway->currency->name ?? default_currency()->name}} @if($paymentLog->status == "1") {{translate('Pending')}} @elseif($paymentLog->status == "2") {{translate('Received')}} @elseif($paymentLog->status == "3") {{translate('Rejected')}} @endif
@include('admin.partials.not_found')
{{$paymentLogs->appends(request()->all())->links()}}
@endsection