added attendance and fixed body composition
This commit is contained in:
1 parent
87051e179d
commit
125e1c34af
8 files changed
+293
-4
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user