@extends('layouts.app') @section('title', 'View Attachment') @section('content')
Student Name
{{ $leaveRequest->student->user->name ?? '-' }}
Leave Period
@php $from = $leaveRequest->from_date; $to = $leaveRequest->to_date ?? $leaveRequest->from_date; @endphp {{ $from?->format('d M Y') ?? '-' }} to {{ $to?->format('d M Y') ?? '-' }}
File Name
{{ basename($leaveRequest->attachment) }}
Loading document...