@extends('backEnd.layouts.master') @section('title', 'Manage Vendors') @section('css') @endsection @section('content')
Overview of all registered sellers and shops.
| # | Shop Profile | Owner Info | Contact | Stats | Balance | Verification | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{-- Shop Profile --}}
@if($vendor->logo)
{{ substr($vendor->shop_name, 0, 1) }}
@endif
{{ $vendor->shop_name }}
ID: #{{ $vendor->id }}
|
{{-- Owner Info --}}
{{ $vendor->owner_name }}
|
{{-- Contact --}}
{{Str::limit($vendor->email, 15)}}
{{ $vendor->phone }}
|
{{-- Stats --}}
{{ $vendor->products->count() }} Products | {{-- Balance --}}৳{{ number_format($vendor->wallet ? $vendor->wallet->balance : 0, 2) }} | {{-- Verification --}}@if($vendor->verification_status == 'approved') Verified @elseif($vendor->verification_status == 'rejected') Rejected @else Pending @endif | {{-- Status --}}@if($vendor->status == 1) Active @else Inactive @endif | {{-- Actions --}}