@php
$canSign = !empty($hasSavedSignature) && !empty($hasSignatureArea) && empty($hasSignedPdf);
$sigAll = !empty($applySignatureAllPages);
$sigPages = $sigAll ? '' : trim((string)($signatureRequiredPages ?? ''));
@endphp
@if(empty($hasSavedSignature) && empty($hasSignedPdf))
@endif
@if(empty($hasSignedPdf))
Note: Preview the document, identify the signature area, and click on the highlighted box to sign.
@endif
@if(empty($hasSignedPdf))
Signature Required: {{ (int)($signTimes ?? 1) }} times – 0 /{{ (int)($signTimes ?? 1) }} .
@endif
@if(empty($hasSignedPdf))
Scroll and Click to insert you Signature
Save and Update
@endif
@if(empty($hasSignatureArea))
Signature area is not defined yet. Please contact the sender.
@elseif(empty($hasSavedSignature))
@elseif(!empty($hasSignedPdf))
You already signed this document.
@else
Signing as: {{ $signingAs }}
@endif