@push('title') Customer Module @endpush @can('create_customer_management')
@endcan
Customers
Reset
@forelse($customers as $customer) @empty @endforelse
Name Phone Items Debt (LKR) Country City Address Created By Action
{{ $customer->name }} {{ $customer->phone }} {{ $customer->sales_count }} @if($customer->total_due > 0) {{ number_format($customer->total_due, 2) }} @else 0.00 @endif {{ $customer->country->name }} {{ $customer->city }} {{ $customer->address }} {{ $customer->createdBy->name ?? 'N/A' }} @can('view_customer_management') @endcan @can('update_customer_management') @endcan @can('delete_customer_management') @endcan
No customers found
{{ $customers->withQueryString()->links() }}