@extends('admin.layout') @section('page-title', 'Reports Overview') @section('content')

Reports Overview

View comprehensive business reports and analytics

Today's Revenue

${{ number_format($stats['today_revenue'], 2) }}

Effective (after discounts)

This Month Revenue

${{ number_format($stats['month_revenue'], 2) }}

@if($stats['last_month_revenue'] > 0) @php $change = (($stats['month_revenue'] - $stats['last_month_revenue']) / $stats['last_month_revenue']) * 100; @endphp

{{ $change >= 0 ? '+' : '' }}{{ number_format($change, 1) }}% vs last month

@endif

This Month Expenses

${{ number_format($stats['month_expenses'], 2) }}

@if($stats['last_month_expenses'] > 0) @php $change = (($stats['month_expenses'] - $stats['last_month_expenses']) / $stats['last_month_expenses']) * 100; @endphp

{{ $change >= 0 ? '+' : '' }}{{ number_format($change, 1) }}% vs last month

@endif

Net Profit (This Month)

${{ number_format($stats['month_revenue'] - $stats['month_expenses'], 2) }}

@if($stats['month_revenue'] > 0)

Margin: {{ number_format((($stats['month_revenue'] - $stats['month_expenses']) / $stats['month_revenue']) * 100, 1) }}%

@endif

Hold Account Balance

Total across all accounts

Total Transactions

{{ number_format($stats['total_transactions']) }}

{{ number_format($stats['today_transactions']) }} today

Payment Issues

{{ $stats['overpaid_orders'] + $stats['underpaid_orders'] }}

{{ $stats['overpaid_orders'] }} overpaid, {{ $stats['underpaid_orders'] }} underpaid

Total Orders

{{ number_format($stats['total_orders']) }}

{{ number_format($stats['pending_orders']) }} pending

Sales Report

Payment transactions and revenue

Orders Report

Order details and statistics

Expenses Report

Business expenses by category

Financial Summary

Profit & loss analysis

@endsection