update pengguna tkr hasone semula
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ class User extends Authenticatable
|
||||
|
||||
public function cawangan()
|
||||
{
|
||||
return $this->hasMany(Cawangan::class, 'caw_code' , 'kodcaw');
|
||||
return $this->hasOne(Cawangan::class, 'caw_code' , 'kodcaw');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user