@extends('backend.layouts.app') @section('content')

{{translate('All Notifications')}}

{{translate('Notifications')}}
    @forelse($notifications as $notification) @if($notification->type == 'App\Notifications\OrderNotification')
  • {{ translate('Order code: ') }} {{$notification->data['order_code']}} {{translate(' has been '. ucfirst(str_replace('_', ' ', $notification->data['status'])))}}

    {{ date("F j Y, g:i a", strtotime($notification->created_at)) }}
  • @endif @empty
  • {{ translate('No notification found') }}
  • @endforelse
{{ $notifications->links() }}
@endsection