feat(user-profile): add avatar upload functionality and update UserProfile entity

This commit is contained in:
hamed
2026-06-19 10:19:47 +03:30
parent 9b0af282e0
commit a8d36d7455
7 changed files with 127 additions and 1 deletions
@@ -149,7 +149,9 @@ class MyAppointmentsController extends BaseController
->setParameter('doctor', $filterValue);
}
} else {
return $this->paginated([], 0, $page, $limit);
// Plain patient: only their own appointments.
$qb->andWhere('a.user = :patient')
->setParameter('patient', $user);
}
if ($search !== '') {