@extends('layouts.app') @section('title', __('Delegation Approval')) @section('content') {{-- ✅ Header Section --}}

{{ __('Delegation Approval') }}

View delegation details, update status, and download documents.

@can('delegation.edit') {{ __('Edit') }} @endcan {{ __('Back to List') }} {{-- ✅ Cancel Record বাটন (মডাল ওপেন করার জন্য) --}} {{ __('Cancel Record') }}
@if (session('success')) @endif {{-- ✅ Details Card --}}
{{-- Status --}}
{{ __('Status') }}
{{-- Recruitment --}}
Recruitment
{{ $record->recruitment?->tracking_number ?? '—' }} — {{ $record->recruitment?->passportHolder?->full_name ?? '' }}
{{-- Remarks --}}
Remarks
{{ $record->remarks ?? __('No remarks provided.') }}
{{-- Documents --}}
@isset($record->document_path) {{ __('Download Delegation Document') }} @endisset @isset($record->e_duty_document_path) {{ __('Download E-Duty Document') }} @endisset
{{-- ✅ Workflow History --}} @if ($recruitment)
{{ __('Workflow History') }}
@endif {{-- ✅ Change Status Form Card --}}
{{ __('Change Status') }}
@csrf
{{ __('Update Status') }}
{{-- ✅ Cancel Modal --}}
Are you sure?

{{ __('This cancels (archives) the record. It is not permanently deleted.') }}

@csrf @method('DELETE') {{ __('Keep it') }} {{ __('Confirm Cancel') }}
@endsection