feat: add student deletion functionality with confirmation dialog

This commit is contained in:
dkecskes
2025-11-03 00:35:11 +01:00
parent 197b26cf08
commit 3ff12fe57e
7 changed files with 295 additions and 4 deletions
+8
View File
@@ -57,4 +57,12 @@ class User extends Authenticatable
{
return $this->hasOne(StudentData::class, 'user_id');
}
/**
* Get the internships for the user.
*/
public function internships()
{
return $this->hasMany(Internship::class, 'user_id');
}
}