@extends('layouts.dashboard.adminapp') @section('title', 'Customer/Vendor Report') @section('styles') @endsection @section('content')

UEPL | Customer/Vendor Report

Filters
{{ $customers->count() }}
Total Records
{{ $customers->where('company_role', 'customer')->count() }}
Customers
{{ $customers->where('company_role', 'vendor')->count() }}
Vendors
{{ $customers->where('status', 'active')->count() }}
Active
Customer/Vendor Report
@forelse($customers as $customer) @empty @endforelse
Role Company Email Mobile GST No Type Status Created
{{ ucfirst($customer->company_role) }} {{ $customer->company }} {{ $customer->email ?? '-' }} {{ $customer->mobile ?? '-' }} {{ $customer->gstno ?? '-' }} {{ $customer->company_type ?? '-' }} {{ ucfirst($customer->status ?? 'N/A') }} {{ $customer->created_at ? $customer->created_at->format('d-m-Y') : '-' }}
No records found
@endsection @section('scripts') @endsection