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

Expense Claim Details

Claim #{{ $claim->claim_number }}

Back to Claims
Claim Information
@if($claim->status === 'pending') Pending Review @elseif($claim->status === 'approved') Approved @elseif($claim->status === 'rejected') Rejected @endif
Expense Title

{{ $claim->title }}

Category

{{ ucfirst(str_replace('_', ' ', $claim->category)) }}

Amount

{{ $claim->currency }} {{ number_format($claim->amount, 2) }}

Expense Date

{{ $claim->expense_date->format('l, F j, Y') }}

Submission Date

{{ $claim->created_at->format('M j, Y \a\t H:i') }}
{{ $claim->created_at->diffForHumans() }}

@if($claim->approved_at)
Review Date

{{ $claim->approved_at->format('M j, Y \a\t H:i') }} @if($claim->approver)
Reviewed by: {{ $claim->approver->name }} @endif

@endif @if($claim->approval_notes)
Approval Notes

{{ $claim->approval_notes }}

@endif @if($claim->rejection_reason)
Rejection Reason

{{ $claim->rejection_reason }}

@endif
@if($claim->description)
Description
{{ $claim->description }}
@endif @if($claim->receipt_path) @endif
Claim Timeline
Expense Claim Submitted

Claim for {{ $claim->currency }} {{ number_format($claim->amount, 2) }} submitted by {{ $employee->first_name }} {{ $employee->last_name }}

{{ $claim->created_at->format('M j, Y \a\t H:i') }}
@if($claim->approved_at)
Claim {{ $claim->status === 'approved' ? 'Approved' : 'Rejected' }}

@if($claim->approver) Claim {{ $claim->status }} by {{ $claim->approver->name }} @else Claim {{ $claim->status }} @endif @if($claim->approval_notes || $claim->rejection_reason)
"{{ $claim->approval_notes ?? $claim->rejection_reason }}" @endif

{{ $claim->approved_at->format('M j, Y \a\t H:i') }}
@else
Awaiting Review

Claim is pending review by your manager

Current status
@endif @if($claim->status === 'approved')
Pending Reimbursement

Approved amount will be processed in the next payroll cycle

Processing
@endif
Claim Status
@if($claim->status === 'pending')
Under Review

Your expense claim is being reviewed by your manager. You will be notified once a decision is made.

@elseif($claim->status === 'approved')
Approved

Your expense claim has been approved and will be reimbursed in your next payroll.

@elseif($claim->status === 'rejected')
Rejected

Your expense claim was not approved. Please contact your manager for more information.

@endif
Claim Summary
Claim Number: {{ $claim->claim_number }}
Category: {{ ucfirst(str_replace('_', ' ', $claim->category)) }}
Amount: {{ $claim->currency }} {{ number_format($claim->amount, 2) }}
Expense Date: {{ $claim->expense_date->format('M j, Y') }}
Submitted: {{ $claim->created_at->format('M j, Y') }}
Receipt: @if($claim->receipt_path) Attached @else Not provided @endif
@if($claim->status === 'pending')
Need Help?

If you need to make changes to this claim or have questions, please contact your manager or HR department.

@endif
@endsection @push('styles') @endpush