{{-- HEADER --}}
|
Sistema de Gestión Ganadera
Rancho La Fortuna
{{ ucfirst($notificacion->modulo) }} · {{ $notificacion->created_at->format('d/m/Y H:i') }}
|
{{-- BANNER DE PRIORIDAD --}}
@if($notificacion->prioridad === 'critica')
|
Requiere tu atención inmediata
|
@endif
{{-- FRASE RESUMEN --}}
|
@if($notificacion->prioridad === 'critica')
Tienes una notificación crítica en el módulo {{ ucfirst($notificacion->modulo) }} que necesita tu atención cuanto antes.
@else
Nueva notificación del módulo {{ ucfirst($notificacion->modulo) }}.
@endif
|
{{-- TARJETA PRINCIPAL --}}
@if($notificacion->prioridad === 'critica')
@else
@endif
{{-- Módulo + badge --}}
|
{{ ucfirst($notificacion->modulo) }} · {{ $notificacion->tipo }}
|
@if($notificacion->prioridad === 'critica')
@else
@endif
|
{{-- Título --}}
|
{{ $notificacion->titulo }}
|
{{-- Cuerpo --}}
|
{!! $notificacion->cuerpo !!}
|
{{-- Fecha --}}
|
{{ $notificacion->created_at->format('d/m/Y') }} · {{ $notificacion->created_at->format('H:i') }}
|
|
{{-- DETALLE: folio, fecha de envío, total de productos --}}
@if($notificacion->metadata)
@php
$meta = $notificacion->metadata;
$folio = $meta['folio'] ?? '—';
$fechaEnvio = $meta['fecha_recepcion'] ?? $meta['fecha_envio'] ?? '—';
$totalProd = $meta['total_productos'] ?? '—';
@endphp
|
Detalle
| Folio |
{{ $folio }} |
| Fecha de envío |
{{ $fechaEnvio }} |
| Total de productos |
{{ $totalProd }} |
|
@endif
{{-- NOTA AL PIE --}}
|
Esta notificación fue generada automáticamente por el sistema. Si el asunto ya fue atendido, puede ignorar este mensaje.
|
|
| |
{{-- FOOTER OSCURO --}}
|
Rancho La Fortuna
Sistema de Gestión Ganadera · Generado el {{ now()->format('d/m/Y H:i') }}
|
{{-- Sub-footer --}}
|
Recibes este correo porque tienes notificaciones pendientes asignadas en el sistema.
|
|