@extends('employee.layouts.app') @section('title', get_setting('site_name').' | '.__('Disciplinary case')) @section('content')
{{ __('Case') }} #{{ $case->id }}
{{ __('Back') }}

{{ __('Status') }}: {{ $case->status }}

{{ __('Category') }}: {{ $case->incident->category->name ?? '—' }}

{{ __('Incident date') }}: {{ $case->incident->incident_date?->format('Y-m-d') }}

{{ __('Summary') }}:

{{ \Illuminate\Support\Str::limit($case->incident->description, 800) }}

{{ __('Your rolling compliance total') }}: {{ $complianceTotal }}

@if($settings?->grievance_instructions)
{!! nl2br(e($settings->grievance_instructions)) !!}
@endif @if($case->status === \App\Models\DisciplinaryCase::STATUS_SHOW_CAUSE && $case->show_cause_notice_path) {{ __('Download show-cause notice') }} @endif @if($case->finalAction && $case->status === \App\Models\DisciplinaryCase::STATUS_CLOSED)

{{ __('Outcome') }}: {{ $case->finalAction->name }}

@endif
@if($case->status === \App\Models\DisciplinaryCase::STATUS_SHOW_CAUSE)
{{ __('Your written reply') }}
@if($case->employee_reply_at)

{{ __('Reply submitted at :t', ['t' => $case->employee_reply_at]) }}

{{ $case->employee_reply_text }}
@else
@csrf
@endif
@endif
@endsection