| Phone | ||||||
|---|---|---|---|---|---|---|
|
{{ $customer->name }}
@if ($customer->email)
{{ $customer->email }}
@endif
|
{{ $customer->type }} | {{ $customer->phone ?: '—' }} | {{ $customer->city ?: '—' }} | $customer->is_active, 'bg-gray-100 text-gray-600 dark:bg-gray-700 dark:text-gray-400' => ! $customer->is_active, ])> {{ $customer->is_active ? 'Active' : 'Inactive' }} | @php $balance = (float) ($customer->sold_value ?? 0) - (float) ($customer->paid_value ?? 0); @endphp$balance > 0, 'text-gray-500 dark:text-gray-400' => $balance <= 0, ])> {{ number_format($balance, 2) }} | @can('customers.update') @endcan @can('customers.delete') @endcan |