• @if($unreadCount > 0) {{ $unreadCount }} @endif
    Notifications @if($unreadCount > 0) {{ $unreadCount }} @endif
    @if($unreadCount > 0) @endif
    @forelse($notifications as $notification) @php $notificationType = \App\Enums\NotificationType::tryFrom($notification->data['type'] ?? ''); @endphp
    > {{ $notificationType?->label }}
    Réf: {{ $notification->data['order_number'] ?? 'N/A' }} @if(isset($notification->data['customer_name'])) | Client: {{ $notification->data['customer_name'] }} @endif @if(isset($notification->data['total_amount'])) | Total: {{ \App\Enums\Currency::from(config('countries.default_currency', 'XAF'))->format($notification->data['total_amount']) }} @endif
    {{ $notification->data['message'] ?? '' }}
    {{ $notification->time_ago }}
    @empty
    No notifications
    Aucune notification

    Vous n'avez pas de nouvelles notifications concernant les commandes.

    @endforelse
  • @push('styles') @endpush @push('scripts') @endpush