@extends('admin.layout') @section('content')

{{ trans('labels.Customers') }}

@php $getUserRoleData = userRoleData(); $Customers = explode(",",$getUserRoleData->Customers); @endphp

{{ trans('labels.ListingAllCustomers') }}

@if(in_array("Add",$Customers )) @endif
@if( count((array) $errors) > 0) @foreach($errors->all() as $error) @endforeach @endif @if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
{{ trans('Filter By Emial/Name/Telephone') }}:
{{ trans('labels.ClearSearch') }}

@if(in_array("View",$Customers )) @if(in_array("Edit",$Customers ) || in_array("Delete",$Customers )) @endif @if (count((array) $customers['result']) > 0) @foreach ($customers['result'] as $key=>$listingCustomers) @if(in_array("Edit",$Customers ) || in_array("Delete",$Customers )) @endif @endforeach @else @endif
{{ trans('Sn') }} {{ trans('labels.Picture') }} {{ trans('labels.PersonalInfo') }}{{ trans('') }}
1 @if(!empty($listingCustomers->customers_picture)) @else @endif {{ trans('Name') }}: {{ $listingCustomers->customers_firstname }} {{ $listingCustomers->customers_lastname }}
{{ trans('labels.DOB') }}: {{ $listingCustomers->customers_dob }}
{{ trans('labels.Email') }}: {{ $listingCustomers->customers_email_address }}
{{ trans('labels.Telephone') }}: {{ $listingCustomers->customers_telephone }}
{{ trans('Alternate Mobile') }}: {{ $listingCustomers->alternate_mobile }}
{{ trans('labels.Fax') }}: {{ $listingCustomers->customers_fax }}
{{ trans('Registration Date') }}: {{ date('d/m/Y H:i:s', $listingCustomers->created_at) }}
{{ trans('labels.NoRecordFound') }}
@if (count((array) $customers['result']) > 0)
{{ $customers['result']->appends($_GET)->links() }}
@endif @else

Please contact with SuperAdmin

@endif
@endsection