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

Customers

{{ $customers->total() }} total customers

Export New Customer
{{-- Filters --}}
@forelse($customers as $customer) @empty @endforelse
Code Name Type Mobile City VAT No. Credit Limit Status Actions
{{ $customer->customer_code }} {{ $customer->name_en }}
{{ $customer->name_ar }}
{{ ucfirst($customer->customer_type) }} {{ $customer->mobile ?? $customer->phone ?? '—' }} {{ $customer->city_en ?? '—' }} {{ $customer->vat_number ?? '—' }} @if($customer->credit_allowed) {{ number_format($customer->credit_limit, 0) }} SAR @else @endif {{ ucfirst($customer->status) }}
No customers found. Create one
@if($customers->hasPages()) @endif
@endsection