@extends('layouts.app') @section('title', 'Customers') @section('content')
{{ $customers->total() }} total customers
| 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 | ||||||||