@extends('layouts.app')
@php
$pageTitle = 'Edit Employee';
$pageHeading = 'Employee Editor';
$pageDescription = 'Edit data employee sekaligus cek apakah template sidik jari sudah terdaftar di database biometrik.';
@endphp
@section('content')
Halaman ini menggabungkan master data employee dengan status template fingerprint dari `iclock_biodata`,
jadi kita bisa cepat lihat apakah user sudah punya template di device atau belum.
Edit employee dan cek registrasi sidik jari.
@foreach ($errors->all() as $error)
Edit Employee
Fingerprint Registration
@forelse ($fingerprints as $fingerprint)
Bio No
Nama Jari
Index
Version
Valid
Device SN
Preview
Updated
@empty
{{ $fingerprint->bio_no ?? '-' }}
{{ $fingerprint->finger_label ?? '-' }}
{{ $fingerprint->bio_index ?? '-' }}
{{ trim(($fingerprint->major_ver ?? '').' '.($fingerprint->minor_ver ?? '')) ?: '-' }}
{{ (int) $fingerprint->valid === 1 ? 'Yes' : 'No' }}
{{ $fingerprint->sn ?: '-' }}
Download SVG
{{ $fingerprint->update_time ?: '-' }}
@endforelse
Belum ada template sidik jari untuk employee ini. Enroll Finger History
@forelse ($enrollHistory as $history)
ID
Terminal
FID
Nama Jari
Queued
Status
Callback
@empty
{{ $history->id }}
{{ $history->terminal_alias ?: $history->terminal_sn }}
{{ $history->fid }}
{{ $history->finger_label }}
{{ $history->commit_time ?: '-' }}
{{ $history->result_label }}
{{ $history->callback_time ?: $history->result_detail ?: '-' }}
@endforelse
Belum ada history enroll finger untuk employee ini. Employee Snapshot
Emp Code {{ $employee->emp_code }} Department {{ $employee->department_name ?: ($employee->department_id ?: '-') }} Position {{ $employee->position_name ?: ($employee->position_id ?: '-') }} Enroll SN {{ $employee->enroll_sn ?: '-' }} Card Number {{ $employee->card_no ?: '-' }} Verify Mode {{ $employee->verify_mode ?? '-' }} Active {{ (int) $employee->is_active === 1 ? 'Yes' : 'No' }} App Status {{ $employee->app_status ?? '-' }} Command History
@forelse ($commandHistory as $command)
ID
Terminal
Command
Queued
Result
@empty
{{ $command->id }}
{{ $command->terminal_alias ?: $command->terminal_sn }}
{{ \Illuminate\Support\Str::limit($command->content, 140) }}{{ $command->commit_time }}
result_detail))
title="{{ $command->result_detail }}"
@endif
style="@if(($command->result_class ?? '') === 'success-operlog') background: rgba(14, 116, 144, 0.14); color: #0f5f73; border: 1px solid rgba(14, 116, 144, 0.22); @endif"
>
{{ $command->result_label ?? ($command->return_time ? (($command->return_value ?? '-') . ' @ ' . $command->return_time) : 'Pending') }}
@if (($command->result_class ?? '') === 'success-operlog')
@endforelse
Belum ada history command sync untuk employee ini.