@extends('crm.master') @section('title', 'Revenue') @php $dateRanges = [ 'last_12_months' => 'Last 12 months', 'this_month' => 'This month', 'last_month' => 'Last month', 'last_3_months' => 'Last 3 months', 'last_6_months' => 'Last 6 months', 'all' => 'All bookings', 'custom' => 'Custom', ]; @endphp @section('content')
| Date | Transactions | Payments | Refunds | Total |
|---|---|---|---|---|
| {{ $row->date_label }} | {{ number_format($row->transactions) }} | ${{ number_format($row->payments, 2) }} | ${{ number_format($row->refunds, 2) }} | ${{ number_format($row->total, 2) }} |
| No revenue data found for the selected period. | ||||
| Total | {{ number_format($totals['transactions']) }} | ${{ number_format($totals['payments'], 2) }} | ${{ number_format($totals['refunds'], 2) }} | ${{ number_format($totals['total'], 2) }} |