mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 08:11:07 +03:30
fix moduleseeder
This commit is contained in:
@@ -29,6 +29,11 @@ class Package extends Model
|
||||
return $this->hasMany( 'App\Label' );
|
||||
}
|
||||
|
||||
public function transfersAll()
|
||||
{
|
||||
return $this->morphMany( 'App\Transfer' , "transferable" );
|
||||
}
|
||||
|
||||
public function transfers()
|
||||
{
|
||||
return $this->morphMany( 'App\Transfer' , "transferable" )->where( "status" , StatusTypeEnum::APPROVED );
|
||||
|
||||
Reference in New Issue
Block a user