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

Income Details

Back to List @if(auth()->user()->canManageIncomes()) Edit @endif
{{ $income->title }}
{{ ucfirst($income->status) }}
Amount

${{ number_format($income->amount, 2) }}

Income Date

{{ $income->income_date->format('F d, Y') }}

@if($income->description)
Description

{{ $income->description }}

@endif
Category
{{ $income->category_display_name }}
Payment Method

{{ $income->payment_method_display_name }}

@if($income->source)
Source/Customer

{{ $income->source }}

@if($income->reference_number)
Reference Number

{{ $income->reference_number }}

@endif
@endif @if($income->receipt_file)
Receipt/Document
View Document
@endif
Record Information
Created By

{{ $income->creator->name }}

Created Date

{{ $income->created_at->format('M d, Y g:i A') }}

@if($income->updated_at != $income->created_at)
Last Updated

{{ $income->updated_at->format('M d, Y g:i A') }}

by {{ $income->updater->name }}
@endif
@if(auth()->user()->canManageIncomes())
Actions
Edit Income
@csrf @method('DELETE')
@endif
Quick Stats
${{ number_format(\App\Models\Income::thisMonth()->sum('amount'), 0) }}
This Month
${{ number_format(\App\Models\Income::thisYear()->sum('amount'), 0) }}
This Year
@endsection