@php $patientUrl = getLogInUser()->hasRole('doctor') ? route('doctors.patient.detail', $row->patient->id) : 'javascript:void(0)'; $appointmentUrl = getLogInUser()->hasRole('doctor') ? route('doctors.appointment.detail', $row->id) : route('patients.appointment.detail', $row->id); @endphp
@if(getLogInUser()->hasRole('clinic_admin')) @else @endif