@forelse($recent_subscriptions ?? [] as $subscription) @php $client = App\Models\User::where('client_id', $subscription->client_id)->first(); if(!$client) { continue; } @endphp @empty @endforelse
{{ __('client') }} {{ __('price') }} {{ __('date') }}
{{ $client->first_name.' '.$client->last_name ?? 'Client' }}
{{ $client->first_name.' '.$client->last_name ?? 'Client' }}

{{ $client->email ?? '' }}

{{ get_currency(number_format($subscription->price, 2)) }} {{ $subscription->created_at?->format('m-d-Y h:i a') }}
{{ __('no_recent_subscriptions') }}