@extends('layouts.backend') @section('extraCss') @section('mainContentArea')

Sps Customer

Name Telephone Start Date End Date ACTION
@if($customers->count() > 0) @foreach($customers as $customer) @php $date=$customer->customerRef->date_added; $d=explode(" ",$date); @endphp @endforeach @else @endif
Name Email telephone Is SPS Register Date Start Date End Date
{{ empty($customer->customerInfo->firstname) ? 'N/A' : $customer->customerInfo->firstname }} {{ empty($customer->customerInfo->email) ? 'N/A' : $customer->customerInfo->email }} {{ empty($customer->customerInfo->telephone) ? 'N/A' : $customer->customerInfo->telephone }} {{ !empty($customer->current) ? 'Yes' : 'No' }} {{ !empty($date) ? $d[0] : 'N/A' }} {{ !empty($customer->start_date) ? $customer->start_date : 'N/A' }} {{ !empty($customer->end_date) ? $customer->end_date : 'N/A' }}
No product found!
@if($customers instanceof \Illuminate\Pagination\LengthAwarePaginator) {!! $customers->render() !!} @endif
@endsection @section('extraJs') @endsection