@extends('layouts.admin')@section('title','Reports')@section('page_heading','Reports') @section('content')

Reports

Lab Payment Collection

Payment Collected₹ {{ number_format($summary->total_collected ?? 0,2) }}
Records{{ $summary->records_count ?? 0 }}
Product Sales (same period)₹ {{ number_format($sales,2) }}

Lab-wise Summary

@forelse($byLab as $row)@empty@endforelse
Lab NameRecordsPayment Collected
{{ $row->lab?->name ?? 'Lab not assigned' }}{{ $row->records_count }}₹ {{ number_format($row->total_collected,2) }}
No payments in this period.
@endsection