@extends('admin.dashboard.layouts.app') @section('main')

Clinic Appointments ({{ $date }})

Organization: {{ $appointments->first()->organization_name ?? 'N/A' }} | Doctor: {{ $appointments->first()->doctor_name ?? 'N/A' }}
{{-- ADD THIS --}} @php $sl = 1; @endphp @foreach($appointments as $app) {{-- ADD THIS --}} @endforeach
#SL Booking IDCustomer Name Customer Phone Slot Clinic Commission
{{ $sl++ }} {{ $app->unique_code }} {{ $app->display_name }} @if($app->is_relative) Relative @endif {{ $app->display_phone }} {{ $app->selected_slot }} {{ $app->net_commission }}
@endsection