@extends('layouts.app') @section('title', 'Visitors') @section('content')
| Name | Phone | Company | Visits | Last visit | Actions | |
|---|---|---|---|---|---|---|
| {{ $v->name }} | {{ $v->phone }} | {{ $v->email ?: '—' }} | {{ $v->company ?: '—' }} | {{ $v->appointments_count }} | {{ $v->appointments_max_scheduled_at ? \Illuminate\Support\Carbon::parse($v->appointments_max_scheduled_at)->format('d M Y') : '—' }} | @if (auth()->user()->isAdmin()) @endif |
| No visitors found. | ||||||