স্বাক্ষর
@foreach($paperStages ?? \App\Support\PerformanceAppraisal\AppraisalStages::ordered() as $stageKey) @php $sub = $submissions->firstWhere('stage', $stageKey); $evalName = $stageKey === 'self_assessment' ? ($staff->user?->name ?? '—') : ($sub?->evaluator?->user?->name ?? '—'); $evalDesig = $stageKey === 'self_assessment' ? ($staff->designation?->name ?? '—') : ($sub?->evaluator?->designation?->name ?? '—'); $evalBranch = $stageKey === 'self_assessment' ? ($staff->warehouse?->name ?? '—') : ($sub?->evaluator?->warehouse?->name ?? '—'); $comment = $sub?->comments ?? ''; $stageSig = $stageSignatures[$stageKey] ?? []; $signatureUrl = $stageSig['signature_url'] ?? null; $sealUrl = $stageSig['seal_url'] ?? null; $hasDigitalSig = filled($signatureUrl) || filled($sealUrl); @endphp @endforeach
ধাপ নাম পদবী শাখা / এলাকা তারিখ মন্তব্য / স্বাক্ষর
{{ $stageLabels[$stageKey] ?? $stageKey }} {{ $evalName }} {{ $evalDesig }} {{ $evalBranch }} {{ $sub?->submitted_at?->format('d/m/Y') ?? '' }} @if($hasDigitalSig)
@if($signatureUrl) {{ __('Signature') }} @endif @if($sealUrl) {{ __('Seal') }} @endif
@endif @if($comment)
$hasDigitalSig])>{{ $comment }}
@elseif(! $hasDigitalSig)
@endif