@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',['title'=> __('Contacts')]) @endsection @section('content')
{{ $totalContacts }}

{{ __('Total Contacts') }}

{{ $schedulecontacts }}

{{ __('Schedule Contacts') }}

{{ __('Contacts') }}

@if(count($contacts) != 0) @foreach($contacts ?? [] as $contact) @endforeach @endif
{{ __('Name') }} {{ __('User') }} {{ __('Phone') }} {{ __('Created At') }} {{ __('Action') }}
{{ $contact->name }} {{ Str::limit($contact->user->name ?? '',15) }} {{ $contact->phone }} {{ \Carbon\Carbon::parse($contact->created_at)->format('d-F-Y') }}
@if(count($contacts) == 0)
{{ __('!Opps no records found') }}
@endif
@endsection