@extends('layouts.app') @section('title', 'Shopify Notifications') @push('head') @endpush @section('content')

Shopify Notifications

@forelse($notifications as $notification) @empty @endforelse
Order Customer Type Status Sent At Delivered At Read At Actions
{{ $notification->order->order_number ?? 'N/A' }}
{{ $notification->order->shopify_order_id ?? 'N/A' }}
{{ $notification->order->name ?? 'N/A' }} @if($notification->order->email)
{{ $notification->order->email }} @endif @if($notification->order->phone)
{{ $notification->order->phone }} @endif
{{ ucfirst(str_replace('_', ' ', $notification->notification_type)) }} {{ ucfirst($notification->status) }} {{ $notification->sent_at ? $notification->sent_at->format('M d, Y H:i') : 'N/A' }} {{ $notification->delivered_at ? $notification->delivered_at->format('M d, Y H:i') : 'N/A' }} {{ $notification->read_at ? $notification->read_at->format('M d, Y H:i') : 'N/A' }} @if($notification->isFailed()) @endif
No notifications found
@if($notifications instanceof \Illuminate\Pagination\LengthAwarePaginator && $notifications->hasPages())
{{ $notifications->links() }}
@endif
@push('scripts') @endpush @endsection