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