@extends('layouts.employee') @section('content')
Submit and track your expense claims
Pending Claims
RM {{ number_format($stats['total_amount_pending'], 2) }}Approved Claims
RM {{ number_format($stats['total_amount_approved'], 2) }}This Month
RM {{ number_format($stats['this_month_amount'], 2) }}Total Claims
All time| Claim # | Title | Category | Amount | Expense Date | Status | Submitted | Actions |
|---|---|---|---|---|---|---|---|
{{ $claim->claim_number }}
|
{{ $claim->title }}
@if($claim->description)
{{ Str::limit($claim->description, 50) }} @endif @if($claim->receipt_path) Has Receipt @endif |
{{ ucfirst(str_replace('_', ' ', $claim->category)) }} | {{ $claim->currency }} {{ number_format($claim->amount, 2) }} | {{ $claim->expense_date->format('M j, Y') }} | @if($claim->status === 'pending') Pending @elseif($claim->status === 'approved') Approved @elseif($claim->status === 'rejected') Rejected @endif |
{{ $claim->created_at->format('M j, Y') }}
{{ $claim->created_at->diffForHumans() }} |