Merge branch 'atie' into 'main'

update CawanganLelong model relation

See merge request online-sistem1/lelong!254
This commit is contained in:
Nur Izzati Zulkifli
2022-10-27 04:53:39 +00:00
+2 -1
View File
@@ -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');
}
}