@extends('layouts.app') @section('title', 'Log de Notificações') @section('page-title', '📋 Log de Notificações Enviadas') @section('content')
| Data/Hora | Trigger | Canal | Destinatário | Para | Status | Erro |
|---|---|---|---|---|---|---|
| {{ $log->created_at->format('d/m H:i:s') }} | {{ $log->trigger }} |
@php $chIcons = ['whatsapp'=>'🟢','push'=>'🔔','in_app'=>'💬']; @endphp {{ $chIcons[$log->channel] ?? '' }} {{ $log->channel }} | {{ $log->recipient_type }} | {{ $log->to_phone ?? $log->to_name ?? '—' }} | @php $stColors = ['sent'=>'success','failed'=>'danger','pending'=>'warning','delivered'=>'info']; @endphp {{ $log->status }} | @if($log->error) Erro @else — @endif |
| Nenhum registro encontrado. | ||||||