@if (isset($appointment->Patient) && is_file('storage/patients/' . $appointment->Patient?->image)) user image @else user image @endif

{{ $appointment->Patient?->name ?? $operation?->pat?->name }}

  • {{ Ucfirst($appointment->Patient?->gender ?? $operation?->pat?->gender) }}
  • {{ \Carbon\Carbon::parse($appointment->Patient?->dob ?? $operation?->pat?->dob)->diff(now())->format('%y years, %m months and %d days') }}
  • {{ $appointment->Patient?->marital_status ?? $operation?->pat?->marital_status }}
  • {{ $appointment->Patient?->address ?? $operation?->pat?->address }}
  • {{ $appointment->Patient?->phone ?? $operation?->pat?->phone }}
Connected