[WIP] Claims
This commit is contained in:
@@ -82,6 +82,11 @@ class Corporate extends Model
|
||||
return $this->morphMany(ImportLog::class, 'importable');
|
||||
}
|
||||
|
||||
public function limitJournals()
|
||||
{
|
||||
return $this->morphMany(LimitJournal::class, 'journalable');
|
||||
}
|
||||
|
||||
public function services()
|
||||
{
|
||||
return $this->hasManyThrough(CorporateService::class, Service::class, 'corporate_id', 'service_code', 'id', 'service_code');
|
||||
|
||||
Reference in New Issue
Block a user