added attendance and fixed body composition

This commit is contained in:
ghassan committed 2026-01-24 13:11:20 +03:00
1 parent 87051e179d
commit 125e1c34af
8 files changed
+293 -4

No files matched your search

+8
View File
@@ -242,6 +242,14 @@ class User extends Authenticatable
return $this->hasMany(Goal::class);
}
/**
* Get the attendance records for the user.
*/
public function attendanceRecords(): HasMany
{
return $this->hasMany(Attendance::class, 'member_id');
}
/**
* Send the email verification notification.
* Override to prevent sending the default Laravel notification.