@extends('layouts.master') @section('page_title', 'Customer Details') @section('title', 'Customer Details') @section('main_item', 'Customer') @section('sub_item', 'Customer Details') @section('content')

Filter

{{--
--}}
Reset

Customer Details

@foreach ($customers as $customer) @endforeach
Action Name Phone No Phone No 2 Address Return Count Label
@if (!empty($customer->name)) {{ $customer->name }} @endif {{ $customer->mobile }} @if (!empty($customer->mobile_2)) {{ $customer->mobile_2 }} @else N/A @endif @php $address = $customer->landmark; @endphp @if(!empty($address)) {{ $address }} @else No Address Available @endif {{ $customer->saleReturn->count() }} @php $status = $customer->is_default; if($status == 0){ $label = 'Not Banned'; } else if($status == 1){ $label = 'Risk Customer'; } else if($status == 2) { $label = 'Banned'; } @endphp {!! $label !!}
{{ $customers->appends($_GET)->links() }}
Total Count   {{ $count }}
@endsection @section('scripts') @endsection