@php
$primary = '#17a2b8';
$primaryDark = '#138496';
$primaryLight = '#e8f6f8';
$primaryBorder = '#17a2b8';
$logoUrl = url(asset('assets/dist/img/gos22.png'));
$recipientDisplay = trim((string) ($recipientName ?? ''));
$notificationTitle = (string) ($notificationTitle ?? ($headerTitle ?? 'Workflow notification'));
$ctaLabel = (string) ($ctaLabel ?? 'Open the relevant page in the Sindh Development Portfolio Management System.');
$detailIcons = [
'Action' => '📝',
'Entity' => '📂',
'Reference' => '🔑',
'Performed by' => '👤',
'Date & time' => '📅',
'Remarks' => '💬',
];
@endphp
{{ $notificationTitle }}
{{-- Logo & title --}}
🔔 {{ $notificationTitle }}
@if (!empty($headerSubtitle))
{{ $headerSubtitle }}
@endif
|
{{-- Body --}}
|
@if ($recipientDisplay !== '')
Dear {{ $recipientDisplay }},
@endif
{{ $summary }}
{{-- Highlight details box --}}
|
@foreach ($detailRows as $row)
@php
$label = (string) ($row['label'] ?? '');
$value = (string) ($row['value'] ?? '—');
$icon = $detailIcons[$label] ?? '•';
@endphp
{!! $icon !!}
{{ $label }}:
{{ $value }}
@endforeach
@if (!empty($remarks))
{!! $detailIcons['Remarks'] ?? '💬' !!}
Remarks:
{{ $remarks }}
@endif
|
@if (!empty($actionUrl))
👉 {{ $ctaLabel }}
@endif
|
{{-- Footer --}}
|
This is an automated notification from the Sindh Development Portfolio Management System.
Please do not reply to this email.
|
|