@extends('layouts.master') @php use Illuminate\Support\Str; @endphp @section('title', 'Email Outbox - Paidash') @section('content')
| Type | Context | Recipient | Status | Attempts | Scheduled At | Sent At | Actions |
|---|---|---|---|---|---|---|---|
| {{ $e->type }} |
@if(isset($e->context))
{{ $e->context['entity'] ?? '' }}:
@if(!empty($e->context['url']))
{{ $e->context['label'] ?? '' }}
@else
{{ $e->context['label'] ?? '' }}
@endif
@if(isset($e->context['amount']))
Amount: ₹{{ number_format(round((float)$e->context['amount']), 0) }}
@endif
|
{{ $e->recipient_email }} |
{{ ucfirst($e->status) }}
@if($e->last_error && $e->status==='failed')
{{ Str::limit($e->last_error, 60) }}
@endif
|
{{ $e->attempts ?? 0 }} | {{ optional($e->scheduled_at)->format('d M Y, h:i A') }} | {{ optional($e->sent_at)->format('d M Y, h:i A') }} |
@if(!empty($e->context['url']))
View {{ $e->context['entity'] ?? 'Detail' }}
@endif
@if(in_array($e->status, ['failed', 'pending']))
@endif
@if($e->last_error)
@endif
|
| No entries | |||||||