@extends('layouts.admin') @section('title', 'Reports') @section('content')
Total Revenue
₹{{ number_format($totalRevenue, 2) }}
Total Orders
{{ $totalOrders }}
| Date | Orders | Revenue |
|---|---|---|
| {{ $row->day }} | {{ $row->orders }} | ₹{{ number_format($row->revenue, 2) }} |
| Item | Qty Sold | Revenue |
|---|---|---|
| {{ $row->name }} | {{ $row->qty_sold }} | ₹{{ number_format($row->revenue, 2) }} |
| Method | Orders | Revenue |
|---|---|---|
| {{ ucfirst($row->payment_method ?? '—') }} | {{ $row->orders }} | ₹{{ number_format($row->revenue, 2) }} |