@extends('layouts.dashboard.superadminapp') @section('title', 'Customer/Vendor Report') @section('styles') @endsection @section('content')
| # | Role | Company Name | Mobile | GST No | Company Type | Billing Address | Contact Persons | Status | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | @if(strtolower($customer->company_role) == 'customer') Customer @else Vendor @endif |
{{ $customer->company }}
@if($customer->company_nickname)
({{ $customer->company_nickname }}) @endif |
@if($customer->email) {{ $customer->email }} @else - @endif | @if($customer->mobile) {{ $customer->mobile }} @else - @endif | {{ $customer->gstno ?? '-' }} | {{ $customer->company_type ?? '-' }} | {{ Str::limit($customer->billing_address, 50) ?? '-' }} | @if($customer->contactPersons->count() > 0) {{ $customer->contactPersons->count() }} person(s) @else - @endif | @if($customer->status == 1 || strtolower($customer->status) == 'active') Active @else Inactive @endif |
| No customer/vendor records found. Please adjust filters and try again. | |||||||||
| Company | Contact | Mobile |
|---|---|---|
| {{ Str::limit($customer->company, 25) }} | {{ $customer->contactPersons->first()->name ?? '-' }} | {{ $customer->mobile ?? '-' }} |
| No customers found | ||
| Company | Contact | Mobile |
|---|---|---|
| {{ Str::limit($vendor->company, 25) }} | {{ $vendor->contactPersons->first()->name ?? '-' }} | {{ $vendor->mobile ?? '-' }} |
| No vendors found | ||