@php // Corpo do e-mail: resumo em HTML (KPIs + ações), sem imagens. Estilos // inline para compatibilidade com clientes de e-mail (Gmail/Outlook). $trendMarkup = function ($trend) { if (! $trend) return ''; $v = $trend['value']; $invert = $trend['invert']; $up = $v > 0; $flat = $v == 0; $good = $flat ? null : ($invert ? ! $up : $up); $color = $flat ? '#94a3b8' : ($good ? '#059669' : '#dc2626'); $arrow = $flat ? '' : ($up ? '▲' : '▼'); $val = number_format(abs($v), 1, ',', '.'); return '' . $arrow . ' ' . $val . '%'; }; @endphp
Relatório {{ $cadenceLabel }} · {{ $periodLabel }}
@if ($actions)|
{{ $item['label'] }}
{{ $item['value'] }}{!! $trendMarkup($item['trend']) !!}
|
@if (($i + 1) % 3 === 0)
Resumo indisponível para este período.
@endforelse📎 O relatório completo, com todas as tabelas e criativos, está no PDF anexo.
Mensagem automática · não é necessário responder.