All Contacts
@if (Session::has('msg'))
{{ Session::get('msg') }}
@endif
| # |
Product Name |
Name |
Email |
Phone |
Received At |
Action |
@php
$startIndex = ($contacts->currentPage() - 1) * $contacts->perPage() + 1;
@endphp
@foreach ($contacts as $contact)
| {{ $startIndex++ }} |
{{ $contact->title }} |
{{ $contact->name }} |
{{ $contact->email }} |
{{ $contact->phone }} |
{{ \Carbon\Carbon::parse($contact->created_at)->isoFormat('Do MMMM YYYY, h:mm A') }} |
|
@endforeach
{{ $contacts->links() }}