@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) {{-- Custom CSS --}} @section('css') @endsection @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif
@foreach ($contacts as $contact) @endforeach
{{ __('#') }} {{ __('Source') }} {{ __('Name') }} {{ __('Email') }} {{ __('Mobile Number') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ $contact->source }} @if (!empty($contact->name)) {{ $contact->name }} @else — @endif @if (!empty($contact->email)) {{ $contact->email }} @else — @endif @if (!empty($contact->phone)) {{ $contact->phone }} @else — @endif
@if (!empty($contact->phone)) {{ __('Call') }} @endif @if (!empty($contact->email)) {{ __('Reply') }} @endif
@include('user.includes.footer')
{{-- Custom JS --}} @section('scripts') @endsection @endsection