@extends('layouts.admin') @section('title') @lang('Deposits') @endsection @section('breadcrumb')

@lang('Deposits')

@endsection @section('content')
@forelse ($deposits as $info) @empty @endforelse
@lang('Transaction ID') @lang('User') @lang('Amount(With Charge)') @lang('Charge') @lang('Method') @lang('Status') @lang('Details') @lang('Action')
{{$info->txn_id}} {{$info->user->email}} {{amount($info->amount,$info->currency->type,2)}} {{$info->currency->code}} {{amount($info->charge,$info->currency->type,2)}} {{$info->currency->code}} {{$info->gateway->name}} @if ($info->status == 'pending') {{ucfirst($info->status)}} @elseif($info->status == 'rejected') {{ucfirst($info->status)}} @else {{ucfirst($info->status)}} @endif {{$info->trx_details ?? 'N/A'}}
@if ($info->status == 'pending') @else @endif
@lang('No Data Found')
@if ($deposits->hasPages()) {{ $deposits->links() }} @endif
@endsection @push('script') @endpush