@extends('layouts.staff') @section('content')

View LOA for {{ $loa->user->preferred_name }}

LOA Meta Data

Created At
{{ $loa->created_at->format('m/d/Y') }}
Status
{{ $loa->status }}

LOA Information

{{ $loa->start_date->format('m/d/Y') }}

{{ $loa->end_date->format('m/d/Y') }}

{{ $loa->reason }}

LOA Options

@can('loa_manage') @switch($loa->status) @case('Pending') Approve LOA Deny LOA @break @default

You have no options here.

@endswitch @endcan @cannot('loa_manage')

You do not have permission to action applications.

@endcannot

Comments

@foreach ($histories as $history)

Actioned by: {{ $history->user->preferred_name }} at {{ $history->created_at->format('m/d/Y H:i:s') }}

{{ $history->description }}

@endforeach
@endsection