@extends('backEnd.layouts.master') @section('title', 'Vendor Verification Requests') @section('css') @endsection @section('content')
{{-- PAGE HEADER --}}

Verification Requests

Review and manage vendor KYC verifications.

{{-- FILTERS --}}
{{-- Status Filter --}}
{{-- Search --}}
@if(request('keyword') || request('status')) @endif
{{-- TABLE --}}
@foreach($vendors as $key => $vendor) {{-- Vendor Info --}} {{-- Contact --}} {{-- Documents Status --}} {{-- Request Date --}} {{-- Status --}} {{-- Actions --}} @endforeach
# Shop & Owner Contact Info Documents Request Date Status Action
{{ $loop->iteration }}
{{ substr($vendor->shop_name, 0, 1) }}
{{ $vendor->shop_name }}
Owner: {{ $vendor->owner_name }}
{{ $vendor->email }} {{ $vendor->phone }}
@if($vendor->voter_id_front || $vendor->voter_id_back || $vendor->self_image) Files Attached @else Missing @endif @if($vendor->verified_at && $vendor->verification_status != 'pending')
Verified On:
{{ is_object($vendor->verified_at) ? $vendor->verified_at->format('d M, Y') : \Carbon\Carbon::parse($vendor->verified_at)->format('d M, Y') }} @else
Requested:
{{ $vendor->created_at->format('d M, Y') }} @endif
@if($vendor->verification_status == 'approved') Approved @elseif($vendor->verification_status == 'rejected') Rejected @else Pending @endif
{{-- PAGINATION --}}
Showing {{ $vendors->firstItem() }} to {{ $vendors->lastItem() }} of {{ $vendors->total() }} requests
{{ $vendors->links('pagination::bootstrap-4') }}
@endsection