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

UEPL | Customer & Vendor List

day, 00 month 0000
@if (session('success')) @endif @if (session('error')) @endif @if (session('errorRows')) @endif
Total Records
{{ $customers->count() }}
Customers
{{ $customers->where('company_role', 'Customer')->count() }}
Vendors
{{ $customers->where('company_role', 'Vendor')->count() }}
Both
{{ $customers->where('company_role', 'Both')->count() }}
Customer & Vendor Data
Add New
@foreach ($customers as $index => $customer) @endforeach
# Role Company Contact Type GST Status Actions
{{ $index + 1 }} @if($customer->company_role == 'Customer') Customer @elseif($customer->company_role == 'Vendor') Vendor @else Both @endif {{ Str::limit($customer->company, 25) }} @if($customer->company_nickname)
{{ $customer->company_nickname }} @endif
{{ $customer->email }}
{{ $customer->mobile }}
{{ $customer->company_type }} {{ $customer->gstno }} @if ($customer->status == 1) Active @else Inactive @endif
@endsection @section('scripts') @endsection