@extends('layouts.bootstrap') @section('title', 'Income Management') @section('content')

Income Management

Record Income
Total Income

${{ number_format($totalIncome, 2) }}

This Month

${{ number_format($monthlyIncome, 2) }}

This Year

${{ number_format($yearlyIncome, 2) }}

Pending

${{ number_format($pendingIncome, 2) }}

@if($incomes->count() > 0)
@foreach($incomes as $income) @endforeach
Date Title Category Source Amount Status Actions
{{ $income->income_date->format('M d, Y') }} {{ $income->title }} @if($income->reference_number)
Ref: {{ $income->reference_number }} @endif
{{ $income->category_display_name }} {{ $income->source ?? '-' }} ${{ number_format($income->amount, 2) }}
{{ $income->payment_method_display_name }}
{{ ucfirst($income->status) }}
@if(auth()->user()->canManageIncomes())
@csrf @method('DELETE')
@endif
Showing {{ $incomes->firstItem() }} to {{ $incomes->lastItem() }} of {{ $incomes->total() }} results
{{ $incomes->links() }}
@else

No Income Records Found

Start by recording your first income transaction.

Record Income
@endif
@endsection