OPD Collection Report

{{ $branch->name }}

{{ \Carbon\Carbon::parse($fromDate)->format('d M Y') }} - {{ \Carbon\Carbon::parse($toDate)->format('d M Y') }}

@php $totalNet = 0; @endphp @foreach($registrations as $reg) @php $net = $reg->charge_amount - $reg->discount_amount; $totalNet += $net; @endphp @endforeach
Date UHID OPD No. Patient Details Consultation Fee Discount Net Collection
{{ $reg->visit_date->format('d M y') }} {{ $reg->uhid }} {{ $reg->opd_number }} {{ $reg->full_name }}
Dr. {{ $reg->doctor->name }} | {{ $reg->charge?->department->name ?? 'N/A' }}
{{ number_format($reg->charge_amount, 2) }} -{{ number_format($reg->discount_amount, 2) }} {{ number_format($net, 2) }}
Grand Total Net Collection: {{ number_format($totalNet, 2) }}