@extends('backend.layouts.app') @section('content')

Income Report

{{-- Summary --}}
Total Income
{{ number_format($totalAmount, 2) }}
Total Paid
{{ number_format($totalPaid, 2) }}
Total Unpaid
{{ number_format($totalUnpaid, 2) }}
{{-- Print Button --}}
{{-- Table --}}
@forelse($incomes as $key => $income) @empty @endforelse
# Title Type Amount Status Payment Type Transaction No Received Date Received By Income Date Description
{{ $incomes->firstItem() + $key }} {{ $income->title }} {{ $income->incomeType->name ?? '-' }} {{ number_format($income->amount, 2) }} {{ ucfirst($income->payment_status) }} {{ ucfirst($income->payment_type ?? '-') }} {{ $income->transaction_no ?? '-' }} {{ $income->received_date ?? '-' }} {{ $income->received_by ?? '-' }} {{ $income->income_date }} {{ $income->description ?? '-' }}
No income records found.
{{-- Pagination --}} @if ($incomes instanceof \Illuminate\Pagination\LengthAwarePaginator)
{{ $incomes->links('backend.layouts.paginate') }}
@endif @endsection @push('script') @endpush