@extends('layouts.admin-master') @section('title', 'Edit Vendor') @section('style') @include('admin.style') @endsection @section('content')
@include('admin.header')
{{-- Page Title --}}

Edit Vendor

@if ($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- Header Card --}}
@if($vendor->brand_logo) {{ $vendor->vendor_name }} @else @endif

{{ $vendor->vendor_name }}

{{ $vendor->business_name ?? '—' }}  ·  {{ $vendor->vendor_type }}

{{ $vendor->user->phone ?? '—' }}  | {{ $vendor->user->email ?? '—' }}  ·  Vendor ID #{{ $vendor->id }}

@csrf @method('PUT')
{{-- LEFT COLUMN --}}
{{-- Quick Info --}}
Quick Info
STATUS @php $status = $vendor->status ?? 'pending'; @endphp {{ ucfirst($status) }}
KYC @if($vendor->user && $vendor->user->is_kyc_completed) Completed @else Pending @endif
REGISTERED {{ $vendor->created_at->format('d M Y') }}
{{-- Brand Logo --}}
Brand Logo
Brand logo preview JPG, PNG or WEBP · max 2 MB
{{-- Contact Details --}}
Contact Details
{{-- RIGHT COLUMN --}}
{{-- Business Details --}}
Business Details
{{-- Address --}}
Address Information
{{-- Actions --}}
Cancel
@include('admin.footer') @section('script') @include('admin.script') @endsection
@endsection