@extends('layouts.app') @section('title', 'Link Submissions') @section('content')

Public Link: {{ $link->link_name }}

Template: {{ $link->template_title }}

Back to Links

QR Access Code

QR Code
Download PNG

Access URLs

Total Submissions

{{ $submissions->where('email_template_status', 'Completed')->count() }} / {{ $link->submission_limit ?: '∞' }}

Status

{{ $link->status }}

Link Expiry

{{ $link->expires_at ? date('M d, Y', strtotime($link->expires_at)) : 'Never' }}

Recent Signers

@forelse($submissions as $sub) @php $docs = json_decode($sub->email_template_json); $firstDoc = ($docs && count($docs) > 0) ? $docs[0] : null; // Construct the path to the signed file $signed_file_url = $baseUrl . "/tenant_user/" . session('company_uuid') . "/signed_documents/" . $sub->package_id . "_" . ($firstDoc->template_id ?? $link->template_id) . ".pdf"; @endphp @empty @endforelse
Signer / IP Date Signed Action
Public Signer
{{ $sub->email_template_signed_ip ?? 'N/A' }}
@if($sub->email_template_status == 'Completed') {{ date('M d, Y h:i A', strtotime($sub->email_template_signed_date)) }} @else Abandoned / In-Progress @endif
@if($sub->email_template_status == 'Completed') @else No file yet @endif
No one has signed using this link yet.
@endsection