@extends('layouts.app') @section('title', 'Expense Claims- Canindigo INC') @section('content')

Expense Claims

Add New Expense

Total Expenses All Time

{{ number_format($totalAmount, 2) }}-OMR

Total Approved

{{ number_format($totalApproved, 2) }}-OMR

Total Rejected

{{ number_format($totalRejected, 2) }}-OMR

Total Pending

{{ number_format($totalPending, 2) }}-OMR

@if(session('success'))
{{ session('success') }}
@endif @if($expenses->isEmpty())

No expense claims found.

Submit Your Claim
@else
@foreach($expenses as $expense) @endforeach
Date Description Category Amount Client Site Status Actions
{{ $expense->expense_date->format('M d, Y') }}
{{ $expense->description }}
{{ $expense->category->name }}
{{ number_format($expense->amount, 2) }}-OMR
{{ $expense->clientSite->name }}
{{ ucfirst($expense->status) }}
@if($expense->receipt_path) @endif
@endif
@endsection