update fitur alarm center
This commit is contained in:
@@ -25,6 +25,11 @@ class ClaimItem extends Model
|
||||
return $this->belongsTo(Claim::class, 'claim_id');
|
||||
}
|
||||
|
||||
public function benefit()
|
||||
{
|
||||
return $this->belongsTo(Benefit::class, 'claim_itemable_id');
|
||||
}
|
||||
|
||||
public function claim_itemable()
|
||||
{
|
||||
return $this->morphTo();
|
||||
|
||||
Reference in New Issue
Block a user