@extends('layouts.app') @section('title', 'Vendor Details - Admin') @section('content')

{{ $vendor->shop_name }}

{{ $vendor->user->name }} · {{ $vendor->user->email }}

Edit Vendor KYC Review Back
@if(session('success'))
{{ session('success') }}
@endif
@if($vendor->logo) @else
@endif

{{ $vendor->shop_name }}

{{ $vendor->shop_slug }}

@if($vendor->is_approved)Active@elseSuspended@endif Comm {{ $vendor->commission_rate }}% Level {{ $vendor->verification_level }}

Member Since: {{ $vendor->created_at->format('d M Y') }}

Seller Type: {{ ucfirst($vendor->seller_type ?? 'individual') }}

Setup Wizard: {{ $vendor->setup_wizard_completed ? 'Completed' : 'Pending' }}

Financial
Wallet ₹{{ number_format($vendor->user->wallet?->balance ?? 0, 2) }}
Pending Payouts ₹{{ number_format($verificationStats['pending_payouts'] ?? 0, 2) }}
Total Paid Out ₹{{ number_format($verificationStats['total_paid'] ?? 0, 2) }}
@include('admin.vendors.partials.verification-controls')
Products ({{ $vendor->products_count }})
View All
@forelse($vendorProducts->take(5) as $product) @empty @endforelse
Product Price Stock Status Action
{{ $product->name }}
{{ $product->name }}
{{ $product->sku }}
₹{{ number_format($product->price, 2) }} {{ $product->stock_qty }} {{ $product->status }} View
No products listed yet.
Product Images
{{ $vendorProducts->count() }} shown
@forelse($vendorProducts as $product) @empty
No product images available.
@endforelse
@if($vendor->banner_url || $vendor->logo_url || $vendor->sliders->where('status', true)->count())
Shop Branding
@if($vendor->banner_url)
Shop banner
@endif @if($vendor->logo_url)
Shop logo
@endif @foreach($vendor->sliders->where('status', true)->sortBy('order_priority') as $slide)
{{ $slide->title ?? 'Shop slide' }}
@endforeach
@endif @if($vendor->auditLogs->count())
Activity Log
@foreach($vendor->auditLogs as $log)
{{ str_replace('_', ' ', ucfirst($log->action)) }} · {{ $log->created_at->diffForHumans() }}
@endforeach
@endif
@if(in_array($vendor->normalizedKycStatus(), ['under_review', 'rejected'])) @endif @endsection @push('styles') @endpush