@forelse($signatures ?? [] as $index => $signature)
@php
$sigContent = $signature->content ?? null;
$sigIsStoredFile = $sigContent && \Illuminate\Support\Facades\Storage::disk('public')->exists($sigContent);
@endphp
| {{ ($startIndex ?? 0) + $index + 1 }} |
{{ $signature->name ?? 'Signature Name' }}
|
@if($sigIsStoredFile)
No Image
@elseif(($signature->type ?? '') === 'text' && $sigContent)
{{ \Illuminate\Support\Str::limit($sigContent, 22) }}
@else
No Preview
@endif
|
|
@if($signature->is_default ?? false)
check_circle
@else
@endif
|
|
@empty
|
ink_pen
No signatures found
|
@endforelse