@extends('layouts.admin-master') @section('title', 'Registration Report') @section('style') @include('admin.style') @endsection @section('content')
@include('admin.header')

Registration Report

{{ ucfirst($type) }} Registrations
{{ $records->total() }} total
@if($type === 'vendor') @else @endif @forelse($records as $index => $record) @if($type === 'vendor') @else @endif @empty @endforelse
#
Vendor Name
Business
First Name
Last Name
Phone
Email
District
State
Status
Registered
{{ ($records->firstItem() ?? 1) + $index }}{{ $record->vendor_name }} {{ $record->business_name ?? 'N/A' }}{{ $record->first_name }} {{ $record->last_name }}{{ $record->user->phone ?? 'N/A' }} {{ $record->user->email ?? 'N/A' }} {{ $record->user->addresses->first()->district ?? 'N/A' }} {{ $record->user->addresses->first()->state ?? 'N/A' }} @php $st = strtolower($record->status ?? 'pending'); @endphp {{ ucfirst($record->status ?? 'pending') }} {{ $record->created_at->format('d M Y') }}

No records found

Showing {{ $records->firstItem() ?? 0 }} – {{ $records->lastItem() ?? 0 }} of {{ $records->total() }} entries

{{ $records->appends(request()->query())->links('pagination::bootstrap-4') }}
@include('admin.footer')
@endsection @section('script') @include('admin.script') @endsection