@extends('dashboard.layouts.app') @section('content') @include('components.alert')
Filters
@if ($incomes->count() > 0) @foreach ($incomes as $invoice) {{ method_exists($incomes, 'firstItem') ? $incomes->firstItem() + $loop->index : $loop->iteration }}
{{ $invoice->name }}
Income record
{{ $invoice->date }} {{ number_format($invoice->amount ?? 0, 2) }} @if ($invoice->file) Income File @else @endif
{{ $invoice->description ?: '—' }}
@endforeach
@else
No incomes found.

Start by creating a new income record.

@endif
@if ($incomes->hasPages())
{{ $incomes->appends(request()->except('page'))->links('pagination::bootstrap-5') }}
@endif
{{-- Create Modal --}} {{-- Edit Modals --}} @foreach ($incomes as $income) @endforeach {{-- Delete Modals --}} @foreach ($incomes as $income) @endforeach @endsection