@extends('admin.layout.index') @section('content')
| Name | Contact | Service | Uploaded By | Appointment Date | Attached | Amount | Invoice |
|---|---|---|---|---|---|---|---|
| {{DB::table('users')->where('id',$appoint->patient_id)->value('name')}} | {{$appoint->userDetails ? $appoint->userDetails->contact_person : 'N/A'}} | {{DB::table('our_services')->where('id',$appoint->service)->value('name')}} | {{DB::table('users')->where('id',$appoint->uploadedBy)->value('name')}} | {{ date('d-M-Y', strtotime($appoint->appointment_date ))}} {{$appoint->appointment_time}} |
Download | GHC{{DB::table('our_services')->where('id',$appoint->service)->value('price')}} | Invoice |