@extends('layouts.app') @section('title', 'Store Details') @section('content')

{{ $store->name }}

{{ $store->url }}

Status

@if($store->is_active) Active @else Inactive @endif

Total Orders

{{ $store->orders_count ?? 0 }}

Webhooks

@if($store->webhooks_enabled) Enabled @else Disabled @endif

Last Sync

{{ $store->last_sync ? $store->last_sync->diffForHumans() : 'Never' }}

Store Configuration

@csrf

💡 Recommended: Use "Current Month Only" for daily operations. Past data can be entered manually in Seller KPI section.

@if($store->webhooks_enabled)
@csrf
@else
@csrf
@endif

Recent Orders

Last 10 orders from this store

@if($recentOrders->count() > 0)
@foreach($recentOrders as $order) @endforeach
Order Number Customer Total Status Date Actions
{{ $order->display_order_id }} {{ $order->billing['first_name'] ?? '' }} {{ $order->billing['last_name'] ?? '' }} {{ $order->currency }} {{ number_format($order->total, 2) }} {{ ucfirst($order->status) }} {{ $order->created_at->format('M d, Y') }} View
@else

No orders found for this store

Try syncing orders from WooCommerce

@endif
@endsection