@extends('layouts.app') @section('content')

Customer List

@can('customer_add') Add Customer @endcan
Selected
@can('customer_edit') @endcan @if (!empty($customers) && $customer->count()) @foreach ($customers as $key => $customer) @can('customer_edit') @endcan @endforeach @else @endif
Id User Phone Type StatusAction
{{ $customer->user_no }} @if ($customer->image == null)
@else
@endif
{{ $customer->name }} {{ $customer->email ?? '-' }}
{{ $customer->phone ?? '-' }}
@if ($customer->type_id == 1) Normal User @else Corporate User @endif @if ($customer->status === null) Pending Verification @elseif ($customer->status === 0) Inactive @else Active @endif
No matching records found
{{ $customers->links() }}
@endsection @push('script') @endpush