feat: tambah kehadiran peserta per kegiatan via RelationManager
This commit is contained in:
+2
-1
@@ -40,7 +40,8 @@ class User extends Authenticatable implements FilamentUser
|
||||
|
||||
public function activities(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Activity::class, 'activity_member');
|
||||
return $this->belongsToMany(Activity::class, 'activity_member')
|
||||
->withPivot('status', 'notes');
|
||||
}
|
||||
|
||||
public function statusLogs(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user