@if (!empty($fecha_inicio) && !empty($fecha_fin))
{{ __('Fechas seleccionadas') }}
{{ __('Fecha de Inicio:') }} {{ $fecha_inicio }}
{{ __('Fecha de Fin:') }} {{ $fecha_fin }}
@endif
{{ __('Country') }} |
Pagos |
{{ __('Refund') }} |
Beneficio |
{{ __('Refund') }} en $ |
Porcentaje {{ __('Refund') }} |
@foreach ($countryData as $country)
{{ $country['name'] }} |
{{ $country['total'] }} |
{{ $country['refund_total'] }} |
{{ $country['benefit'] }} |
{{ $country['refund_money'] }} |
{{ $country["refund_percentage"] }}% |
@endforeach
|
|
|
|
|
|
{{ __('Total') }}: {{ $total }}
{{ __('Last 24 Hours') }}
{{ $waitingLast24Hours }}
{{ __('Waiting') }}
{{ $inQueueLast24Hours }}
{{ __('In queue') }}
{{ $completedLast24Hours }}
{{ __('Completed') }}
{{--
@foreach (['AW', 'MV', 'JM'] as $country)
@php
$countryTotal = \App\Models\Document::where('country', $country)->count();
$countryInQueue = \App\Models\Document::where('country', $country)
->where('status', 'IN_QUEUE')
->count();
$countryWaiting = \App\Models\Document::where('country', $country)
->where('status', 'WAITING')
->count();
$countryCompleted = \App\Models\Document::where('country', $country)
->where('status', 'COMPLETED')
->count();
$countryTotalLast24Hours = \App\Models\Document::where('country', $country)
->where('created_at', '>=', \Carbon\Carbon::now()->subDays(1))
->count();
$countryInQueueLast24Hours = \App\Models\Document::where('country', $country)
->where('status', 'IN_QUEUE')
->where('created_at', '>=', \Carbon\Carbon::now()->subDays(1))
->count();
$countryWaitingLast24Hours = \App\Models\Document::where('country', $country)
->where('status', 'WAITING')
->where('created_at', '>=', \Carbon\Carbon::now()->subDays(1))
->count();
$countryCompletedLast24Hours = \App\Models\Document::where('country', $country)
->where('status', 'COMPLETED')
->where('created_at', '>=', \Carbon\Carbon::now()->subDays(1))
->count();
@endphp
{{ $country }}
{{ $countryWaiting }}
{{ __('Waiting') }}
{{ $countryInQueue }}
{{ __('In queue') }}
{{ $countryCompleted }}
{{ __('Completed') }}
{{ __('Last 24 Hours') }}
{{ $countryWaitingLast24Hours }}
{{ __('Waiting') }}
{{ $countryInQueueLast24Hours }}
{{ __('In queue') }}
{{ $countryCompletedLast24Hours }}
{{ __('Completed') }}
@endforeach
--}}