@php use App\Finance\FinanceCopy; @endphp

{{ __('dashboard.Events') }}

{{ __('dashboard.Webhook log from Stripe and PayPal, linked to invoices and subscriptions.') }}

@include('livewire.dashboard.finance.options.nav')
{{ __('dashboard.All') }} {{ __('dashboard.Received') }} {{ __('dashboard.Applied') }} {{ __('dashboard.Ignored') }} {{ __('dashboard.Failed') }}
@if ($rows->isEmpty())

{{ __('dashboard.No webhook events yet.') }}

@else {{ __('dashboard.Event') }} {{ __('dashboard.Method') }} {{ __('dashboard.Status') }} {{ __('dashboard.Linked') }} {{ __('dashboard.Retry') }} @foreach ($rows as $event) @php $tone = FinanceCopy::event($event->status); @endphp

{{ $event->event_type }}

{{ $event->provider_event_id }}

{{ FinanceCopy::driver($event->driver) }} {{ $tone['label'] }} @if (filled($event->last_error))

{{ $event->last_error }}

@endif
@if ($event->invoice) {{ $event->invoice->formattedAmount() }} @endif @if ($event->entitlement) {{ $event->entitlement->user?->name ?: __('dashboard.Subscription') }} @endif @if (! $event->invoice && ! $event->entitlement) @endif
{{ (int) $event->attempts }}
@allows('finance.revise') @endallows
@endforeach
@endif