{{ __('Notifications') }}

@if($notifications->count() > 0)

{{ __('Your Notifications') }}

@csrf
@foreach($notifications as $notification)
@if(isset($notification->data['message'])) {{ $notification->data['message'] }} @else {{ __('Notification') }} @endif
@if(isset($notification->data['amount']))

Amount: ${{ number_format($notification->data['amount'], 2) }}

@endif @if(isset($notification->data['reference']))

Reference: {{ $notification->data['reference'] }}

@endif @if(isset($notification->data['withdrawal_id'])) {{ __('View Details') }} @endif
{{ $notification->created_at->diffForHumans() }}
@if(!$notification->read_at)
@csrf
@endif
@endforeach
{{ $notifications->links() }}
@else

{{ __('No notifications') }}

{{ __('You have no unread notifications at this time.') }}

@endif