{{-- mainLayouts extends --}} @extends('layouts.contentLayoutMaster') {{-- Page title --}} @section('title', 'Customer Lists') {{-- vendor styles --}} @section('vendor-style') @endsection {{-- page style --}} @section('page-style') @endsection @section('Customer', 'Role') @section('content')
Customer
{{$customers->withQueryString()->links()}}
@forelse ($customers as $key => $customer) @empty

No customer Found

@endforelse
# Customer Name Profile Photo Phone Number City Township Address
{{$key + $customers->firstItem()}} {{$customer->name}} @if ($customer->image) @else @endif {{$customer->phone_number}} {{$customer->CustomerAddress->city->name ?? '-' }} {{$customer->CustomerAddress->township->name ?? '-'}} {{$customer->CustomerAddress->address ?? '-'}}
{{$customers->withQueryString()->links()}}
@endsection {{-- vendor scripts --}} @section('vendor-script') @endsection {{-- page script --}} @section('page-script') @endsection