SL | Date | Course | Category | Price | Total Enroll | Total Transactions | Grand Total |
---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $report?->created_at }} | {{ $report?->title }} | {{ $report?->category?->title }} | {{ $report?->price }} | {{ $report->enrollments->count() }} | {{ $report->transactions->count() }} | {{ $report->transactions->pluck('payment_amount')->toArray() ? array_sum($report->transactions->pluck('payment_amount')->toArray()) : 'N/A' }} |
No data found |