@extends('layouts.publik') @section('title', 'Verifikasi Sertifikat') @section('content')

Verifikasi Sertifikat

Masukkan kode angka 8 digit yang tercetak pada sertifikat.

@if ($errors->any())
{{ $errors->first() }}
@endif
@csrf
@if ($hasil !== null) @if ($hasil['status'] === 'aktif')

Sertifikat Terdaftar dan Aktif

@foreach ([ 'Nomor' => $hasil['nomor'], 'Nama' => $hasil['nama'], 'Kegiatan' => $hasil['kegiatan'], 'Peran' => $hasil['peran'], 'Predikat' => $hasil['predikat'] ?? null, 'Tempat Lahir' => $hasil['tempat_lahir'] ?? null, 'Tanggal Lahir' => $hasil['tanggal_lahir'] ?? null, 'Kelas' => $hasil['kelas'] ?? null, 'Jurusan' => $hasil['jurusan'] ?? null, 'Tanggal Terbit' => $hasil['tanggal'], ] as $label => $value) @if ($value)
{{ $label }}
{{ $value ?: '—' }}
@endif @endforeach @if (!empty($hasil['industri']))
Industri PKL
{{ $hasil['industri'] }}
@endif

Cocokkan seluruh data di atas dengan dokumen yang diperiksa.

@elseif ($hasil['status'] === 'dicabut')

Sertifikat Tidak Berlaku

Sertifikat dengan kode ini telah dicabut oleh pengelola.

@else

Kode Tidak Ditemukan

Periksa kembali kode yang dimasukkan.

@endif @endif
@endsection