@extends('crm.layouts.app') @section('title', 'E-Consents') @section('content')

E-Consents

Manage digital consent forms and signatures for your appointments.

Total Consents
{{ $totalConsents }}
This Month
{{ $thisMonthConsents }}
Pending
{{ $pendingConsents }}
{{-- Finding one record fast is the whole point of keeping them here. --}}
@if($search !== '' || $from || $to) Clear @endif
@if($consents->count() > 0)
@foreach ($consents as $consent) @endforeach
Client Appointment Artist Signed At IP Address Actions
{{ substr($consent->appointment->client->name, 0, 1) }}
{{ $consent->appointment->client->name }}
{{ $consent->appointment->client->email }}
{{ $consent->appointment->scheduled_at->format('M d, Y') }}
{{ $consent->appointment->scheduled_at->format('g:i A') }}
{{ $consent->appointment->user->name }}
{{ $consent->signed_at->format('M d, Y g:i A') }}
{{ $consent->ip_address ?? 'N/A' }}
View @if(Storage::disk('public')->exists($consent->path)) PDF @endif
@if($consents->hasPages()) @endif @else
@if($search !== '' || $from || $to)

No consent forms match that search

Try a different name, or widen the date range.

Show all consent forms
@else

No consent forms

Get started by sending consent forms to clients for their appointments.

View Appointments
@endif
@endif @endsection