@extends('backend.layouts.main') @section('title') {{ __('Dashboard') }} :: {{ __('Payments') }} @endsection @section('content') @include('backend.pages.dashboard.tabs')
{{ __('Deposits count') }}

{{ $deposits['count'] }}

{{ __('Max deposit') }}

{{ $deposits['max'] }}

{{ __('Total deposited') }}

{{ $deposits['total'] }}

{{ __('Withdrawals count') }}

{{ $withdrawals['count'] }}

{{ __('Max withdrawal') }}

{{ $withdrawals['max'] }}

{{ __('Total withdrawn') }}

{{ $withdrawals['total'] }}

{{ __('Deposits by day') }}

{{ __('Withdrawals by day') }}

{{ __('Deposits by currency') }}

{{ __('Withdrawals by currency') }}

{{ __('Top deposits') }}

@if($top_deposits->isEmpty()) @else @foreach($top_deposits as $deposit) @endforeach
{{ __('User') }} {{ __('Amount') }} {{ __('Created') }}
{{ $deposit->account->user->name }} {{ $deposit->_amount }} {{ $deposit->updated_at->diffForHumans() }}
@endif

{{ __('Top withdrawals') }}

@if($top_withdrawals->isEmpty()) @else @foreach($top_withdrawals as $withdrawal) @endforeach
{{ __('User') }} {{ __('Amount') }} {{ __('Created') }}
{{ $withdrawal->account->user->name }} {{ $withdrawal->_amount }} {{ $withdrawal->updated_at->diffForHumans() }}
@endif
@endsection