fixed the health update

This commit is contained in:
ghassan committed 2026-01-22 12:17:43 +03:00
1 parent 59ad30575c
commit 36aea9a266
7 files changed
+861 -240

No files matched your search

+8
View File
@@ -219,6 +219,14 @@ class User extends Authenticatable
return $this->hasMany(Invoice::class, 'payer_user_id');
}
/**
* Get the health records for the user.
*/
public function healthRecords(): HasMany
{
return $this->hasMany(HealthRecord::class);
}
/**
* Send the email verification notification.
* Override to prevent sending the default Laravel notification.