mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Make sure the seat hasn’t been deleted
This commit is contained in:
parent
1659c3f1a6
commit
104cc2bf11
|
@ -268,7 +268,8 @@ class License extends Depreciable
|
|||
return $this->licenseSeatsRelation()
|
||||
->whereNull('asset_id')
|
||||
->whereNull('assigned_to')
|
||||
->whereNull('user_id');
|
||||
->whereNull('user_id')
|
||||
->whereNull('deleted_at');
|
||||
}
|
||||
|
||||
public function getAvailSeatsCountAttribute()
|
||||
|
|
Loading…
Reference in a new issue