@extends('admin.layouts.app')
@section('title', __('webhooks.deliveries_title'))
@section('header', $webhook->name . ' — ' . __('webhooks.deliveries_title'))
@section('breadcrumb')
{{ __('webhooks.title') }}
/
{{ $webhook->name }}
@endsection
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
| {{ __('webhooks.col_event') }} |
{{ __('webhooks.col_status') }} |
{{ __('webhooks.col_code') }} |
{{ __('webhooks.col_attempt') }} |
{{ __('webhooks.col_date') }} |
|
@forelse($deliveries as $d)
| {{ $d->event_type }} |
@if($d->isSuccess())
✓ {{ __('webhooks.status_success') }}
@elseif($d->isFailed())
✗ {{ __('webhooks.status_failed') }}
@else
{{ __('webhooks.status_pending') }}
@endif
|
{{ $d->response_code ?? '—' }} |
{{ $d->attempt_count }} |
{{ $d->created_at?->format('Y-m-d H:i:s') }} |
@if($d->isFailed())
@endif
|
@if($d->response_body && $d->isFailed())
|
{{ Str::limit($d->response_body, 300) }}
|
@endif
@empty
|
{{ __('webhooks.no_deliveries') }}
|
@endforelse
@if($deliveries->hasPages())
{{ $deliveries->links() }}
@endif
@endsection