{{ __('portal.notifications_title') }}

@if ($logs->count())
@foreach ($logs as $log) @endforeach
{{ __('portal.notifications_col_date') }} {{ __('portal.notifications_col_type') }} {{ __('portal.notifications_col_status') }} {{ __('portal.notifications_col_recipient') }}
{{ $log->created_at->format('d.m.Y H:i') }} @switch($log->type) @case('job_completed') {{ __('portal.notifications_type_job_completed') }} @break @case('customer_report_email') {{ __('portal.notifications_type_customer_report') }} @break @case('portal_credentials') {{ __('portal.notifications_type_portal_credentials') }} @break @default {{ $log->type }} @endswitch @if ($log->status === 'sent') {{ __('portal.notifications_status_sent') }} @else {{ __('portal.notifications_status_failed') }} @endif {{ $log->recipient }}
{{ $logs->links() }}
@else

{{ __('portal.notifications_empty') }}

@endif