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

Shopify Dashboard

@if($integration && $integration->isActive())
Connected! Your Shopify store is connected and active.
Shop Domain: {{ $integration->shop_domain }}
@else
Not Connected! Please connect your Shopify store to start receiving order notifications.
Connect Shopify
@endif @if($integration && $integration->isActive())
{{ $orderStatistics['total_orders'] ?? 0 }}
Total Orders
{{ $orderStatistics['paid_orders'] ?? 0 }}
Paid Orders
{{ $orderStatistics['fulfilled_orders'] ?? 0 }}
Fulfilled Orders
{{ $notificationStatistics['total_notifications'] ?? 0 }}
Notifications Sent
@forelse($recentOrders as $order) @empty @endforelse
Order # Customer Status Total Date Actions
{{ $order->order_number }} @if($order->name)
{{ $order->name }}
@if($order->email) {{ $order->email }} @endif @else N/A @endif
{{ $order->status_label }} {{ $order->formatted_total_price }} {{ $order->created_at->format('M d, Y H:i') }}
No orders found

Recent Notifications

@forelse($recentNotifications as $notification) @empty @endforelse
Type Order # Status Sent At Actions
{{ $notification->notification_type_label }} {{ $notification->order->order_number ?? 'N/A' }} {{ $notification->status_label }} {{ $notification->sent_at ? $notification->sent_at->format('M d, Y H:i') : 'N/A' }} @if($notification->isFailed()) @endif
No notifications found
@endif
@push('scripts') @endpush @endsection