@forelse ($adminNotifications as $key => $oneNotification) @if ($oneNotification->is_read == false)

@switch($oneNotification->type) @case('new_visitor') {{ translate($oneNotification->title) }} @break @case('new_favorite') {{ translate($oneNotification->title) }} @break @case('new_order') {{ translate($oneNotification->title) }} @break @case('new_refund') {{ translate($oneNotification->title) }} @break @case('new_customer') {{ translate($oneNotification->title) }} @break @default {{ translate($oneNotification->title) }} @endswitch

{{ translate($oneNotification->description) }}

{{ date('Y-m-d H:i', strtotime($oneNotification->created_at)) }}

@else

@switch($oneNotification->type) @case('new_visitor') {{ translate($oneNotification->title) }} @break @default {{ translate($oneNotification->title) }} @endswitch

{{ translate($oneNotification->description) }}

{{ date('Y-m-d H:i', strtotime($oneNotification->created_at)) }}

@endif @empty
{{ translate('No notifications') }}
@endforelse {{ $adminNotifications->links() }}