update save pengguna

This commit is contained in:
Nur Izzati Zulkifli
2022-11-15 13:04:21 +08:00
parent f994326dce
commit 6353fce47d
9 changed files with 113 additions and 95 deletions
+6
View File
@@ -67,4 +67,10 @@ class User extends Authenticatable
$this->notify(new PasswordResetNotification($token));
// $user->notify(new PasswordResetNotification($user));
}
public function cawangan()
{
return $this->hasMany(Cawangan::class, 'caw_code' , 'kodcaw');
}
}