@extends('layouts.app') @section('title', 'Personnel ' . $security->full_name) @section('content')
| Full Name | {{ $security->full_name }} |
|---|---|
| Phone Number | {{ $security->phone_number ?? 'N/A' }} |
| Title | {{ $security->title ?? 'N/A' }} |
| Branch | {{ $security->branch?->name ?? 'N/A' }} |
| Site | {{ $security->site?->name ?? 'N/A' }} |
| Region | {{ $security->region ?? 'N/A' }} |
| National ID | {{ $security->national_id ?? 'N/A' }} |
|---|---|
| ID Card Number | {{ $security->id_card_number ?? 'N/A' }} |
| Issued Date | {{ $security->id_card_issued_date?->format('d/m/Y') ?? 'N/A' }} |
| Expiry Date | @if($security->id_card_expiry_date) {{ $security->id_card_expiry_date->format('d/m/Y') }} @if($security->id_card_expiry_date->isPast()) EXPIRED@endif @else N/A @endif |
| Weapon Name | {{ $security->weapon_name ?? 'N/A' }} |
|---|---|
| Weapon Model | {{ $security->weapon_model ?? 'N/A' }} |
| Weapon Serial | {{ $security->weapon_serial ?? 'N/A' }} |
| {{ str_replace('_', ' ', $type) }} | {{ $days }} days |
| Type | Start | End | Days | Status | Decided By |
|---|---|---|---|---|---|
| {{ str_replace('_', ' ', $leaf->leave_type) }} | {{ $leaf->start_date->format('d/m/Y') }} | {{ $leaf->end_date->format('d/m/Y') }} | {{ $leaf->days }} | @if($leaf->status === 'approved') Approved @elseif($leaf->status === 'declined') Declined @else Pending @endif | {{ $leaf->approver?->name ?? '-' }} |