Merge branch 'atie' into 'main'
update CawanganLelong model relation See merge request online-sistem1/lelong!254
This commit is contained in:
@@ -32,7 +32,8 @@ class CawanganLelong extends Model
|
||||
}
|
||||
|
||||
public function cawangan()
|
||||
|
||||
{
|
||||
return $this->hasOne(Cawangan::class, 'id');
|
||||
return $this->hasOne(Cawangan::class, 'id', 'caw_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user