@extends('layouts.main') @section('title', 'Profit & Loss Report') @section('content')
Period: {{ $startDate->format('M d, Y') }} - {{ $endDate->format('M d, Y') }}
Total Revenue
${{ number_format($revenue, 2) }}
Total Expenses
${{ number_format($totalExpenses, 2) }}
Net Profit
${{ number_format($netProfit, 2) }}
| Category | Amount |
|---|---|
| {{ $category }} | ${{ number_format($amount, 2) }} |
| Total Expenses | ${{ number_format($totalExpenses, 2) }} |
No expenses recorded for this period
@endif