@php use Illuminate\Support\Str; @endphp Customer Listing Report
Customer Listing Report
Company Information
@if($company && $company->logo_path) Company Logo @endif
Name: {{ $company->name ?? 'Company Name' }}
Address: {{ $company->address ?? 'Company Address' }}
Phone: {{ $company->phone ?? 'Company Phone' }}
Email: {{ $company->email ?? 'Company Email' }}
@if($company && $company->vat_no)
VAT No: {{ $company->vat_no }}
@endif @if($company && $company->tin_no)
TIN No: {{ $company->tin_no }}
@endif
Report Information
Date: {{ date('d M Y') }}
Customer Range: {{ $fromCustomer->customer_code }} to {{ $toCustomer->customer_code }}
Total Customers: {{ $customers->count() }}
Printed: {{ now()->setTimezone('Africa/Harare')->format('d M Y H:i') }}
@foreach($customers as $customer) @endforeach
Code Account Name Contact Person Address Contact Numbers Email Category Sales Rep Ageing Area VAT TIN City Province Foreign Currency
{{ $customer->customer_code }} {{ $customer->customer_account }} {{ $customer->contact_person }} {{ $customer->address }} {{ $customer->contact_1 }} @if($customer->contact_2) / {{ $customer->contact_2 }} @endif {{ $customer->email }} {{ $customer->category->name ?? 'N/A' }} {{ $customer->salesRep->name ?? 'N/A' }} {{ $customer->ageAnalysis->description ?? 'N/A' }} {{ $customer->area->name ?? 'N/A' }} {{ $customer->vat ?? 'N/A' }} {{ $customer->tin ?? 'N/A' }} {{ $customer->city ?? 'N/A' }} {{ $customer->province ?? 'N/A' }} @if($customer->is_foreign_currency) {{ $customer->foreignCurrency->currency_name ?? 'N/A' }} @else No @endif