@extends('layouts.app') @section('title', 'Income') @section('page-title', 'Income') @section('content') {{-- Filter Bar --}}
@if($month || $year) Clear @endif
@if($income->count())
@foreach($income as $item) @endforeach
# Category Amount Date Note Actions
{{ $income->firstItem() + $loop->index }} {{ $item->category->name }} ৳{{ number_format($item->amount, 2) }} {{ $item->date->format('d M Y') }} {{ Str::limit($item->note, 60) ?? '—' }}
@csrf @method('DELETE')
Showing {{ $income->firstItem() }}–{{ $income->lastItem() }} of {{ $income->total() }} records {{ $income->links() }}
@else

No income records found. Add an income entry.

@endif
@endsection