@extends('layouts.app') @section('title', 'Customers') @section('heading', 'Customers') @section('content')

CUSTOMER DIRECTORY

Manage customer accounts

Contact details, payment terms, and related invoices.

@can('create', App\Models\Customer::class)Add customer@endcan
@if(request()->hasAny(['search','active']))Clear@endif
@forelse($customers as $customer) @empty@endforelse
CustomerContactPayment termsInvoicesStatus
{{ strtoupper(substr($customer->company_name,0,1)) }}{{ $customer->company_name }}{{ $customer->code }}{{ $customer->contact_person ?: 'Not provided' }}{{ $customer->email ?: $customer->phone }}{{ $customer->payment_terms_days }} days{{ $customer->invoices_count }}{{ $customer->is_active ? 'Active' : 'Inactive' }}

No customers found

Add a customer or adjust your filters.

@if($customers->hasPages())
{{ $customers->links() }}
@endif
@endsection