@extends('layouts.finance') @section('title', 'Reports') @section('subtitle', 'Monthly closed reports and financial summaries') @section('content')

Monthly Closing Reports

@forelse($closings as $closing) @php $isFullyClosed = (int) $closing->accounts_required_count > 0 && (int) $closing->accounts_closed_count >= (int) $closing->accounts_required_count; @endphp @empty @endforelse
Month Covered Period Sale Net Profit Net Worth Status Open
{{ $closing->month->format('F Y') }} {{ $closing->period_start?->format('d M Y') ?? $closing->month->format('d M Y') }} to {{ $closing->period_end?->format('d M Y') ?? $closing->month->copy()->endOfMonth()->format('d M Y') }} {{ $metrics->money($closing->total_sale, $closing->currency) }} {{ $metrics->money($closing->net_profit, $closing->currency) }} {{ $metrics->money($closing->net_worth, $closing->currency) }} {{ $closing->accounts_closed_count }}/{{ $closing->accounts_required_count }} closed View Report
No monthly reports yet. Close a month first from Monthly Closing.

Profit & Loss Statement

@foreach($reports['pl'] as $label => $amount) @endforeach
{{ $label }} {{ $metrics->money($amount) }}

Balance Sheet Snapshot

@foreach($reports['balance'] as $label => $amount) @endforeach
{{ $label }} {{ $metrics->money($amount) }}

6-Month Revenue vs Expenses

@foreach($trend['labels'] as $i => $label) @endforeach
MonthRevenueExpensesNet
{{ $label }} {{ $metrics->money($trend['revenue'][$i]) }} {{ $metrics->money($trend['expenses'][$i]) }} {{ $metrics->money($trend['revenue'][$i] - $trend['expenses'][$i]) }}
@endsection