@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
Month
Covered Period
Sale
Net Profit
Net Worth
Status
Open
@empty
{{ $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
@endforelse
No monthly reports yet. Close a month first from Monthly Closing.
| {{ $label }} | {{ $metrics->money($amount) }} |
| {{ $label }} | {{ $metrics->money($amount) }} |
| Month | Revenue | Expenses | Net |
|---|---|---|---|
| {{ $label }} | {{ $metrics->money($trend['revenue'][$i]) }} | {{ $metrics->money($trend['expenses'][$i]) }} | {{ $metrics->money($trend['revenue'][$i] - $trend['expenses'][$i]) }} |