@extends('reports.pdf.layout') @section('content')
| Doctor | Specialty | Total | Completed | Cancelled | Completion | Revenue |
|---|---|---|---|---|---|---|
| {{ $d->user?->name }} | {{ $d->specialty?->name }} | {{ $total }} | {{ $completed }} | {{ $d->cancelled_appointments }} | {{ $total ? number_format(($completed/$total)*100,2) : '0.00' }}% | ₹ {{ number_format((float)($doctorRevenue[$d->id] ?? 0),2) }} |