update report using relation, fix error jana notis 30 hari
This commit is contained in:
@@ -61,4 +61,9 @@ class Cawangan extends Model
|
||||
return $this->hasMany(LelongBid::class, 'caw_id', 'id');
|
||||
}
|
||||
|
||||
// public function lelong()
|
||||
// {
|
||||
// return $this->belongsToMany(Lelong::class, 'cawangan_lelong', 'caw_id', 'lelong_id');
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user