@extends('partials.app') @section('content')
@if (!$isEligible) {{-- NOT YET EARNED --}}

Training Certificate Not Available

{{ $message }}

    @foreach ($rows as $row)
  • {{ $row['label'] }} @if ($row['total'] > 0) ({{ $row['completed'] }}/{{ $row['total'] }} steps) @else (not enrolled / no steps configured) @endif @if ($row['is_completed']) Completed @else Pending @endif
  • @endforeach
Back
@else {{-- Print Action --}}
{{-- Title Band --}}
SMS
Central lab

Training Certificate

SMS Logo
{{-- Employee Details --}}
Employee Name {{ strtoupper($user->name) }} EMP Code {{ $user->emp_code ?? ($user->corporate_id ?? '________') }}
Department {{ $user->department->name ?? '________' }} Designation {{ $user->designation->name ?? '________' }}
{{-- Declaration Rows --}} @foreach ($rows as $row) @endforeach {{-- Signature Block --}}
@if ($row['slug'] === 'functional') Functional Training was completed as
per Job Responsibilities @else {{ $row['label'] }} was completed @endif
: YES / NO
.......................................
Signature of Employee
.......................................
Signature of HOD
(or) Designee
............................................................
Signature of HOD or designee- DQA
{{-- Format Footer --}}
Format No.: SMSCL-DQA004-F04-00
Generated on {{ now()->format('d M Y, h:i A') }}
@endif
@endsection