| {{ __('ID') }} @include('inclues._sort-icon', ['field' => 'id']) | {{ __('NAME') }} @include('inclues._sort-icon', ['field' => 'name']) | {{ __('STATUS') }} | {{ __('NUMBER') }} @include('inclues._sort-icon', ['field' => 'phone']) | {{ __('EMAIL') }} @include('inclues._sort-icon', ['field' => 'email']) | {{ __('CATEGORY') }} | {{ __('BLACKLISTED') }} | {{ __('TOTAL ORDERS') }} | {{ __('TOTAL SALES') }} | {{ __('BALANCE') }} | {{ __('ACTIONS') }} |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $customer->id }} | {{ $customer->name }} | @if($customer->status) Active @else Inactive @endif | {{ $customer->phone }} | {{ $customer->email }} | {{ $customer->category ? $customer->category->name : '--' }} | @if($customer->is_blacklisted) @else -- @endif | {{ $customer->orders_count }} | {{ number_format($customer->total_sales / 100, 2) }} | {{ number_format($customer->opening_balance + ($customer->total_due / 100), 2) }} |
|
|
No stock customers Get started by creating a new customer |
||||||||||